Solved

ntuser.dat file

Posted on 1998-02-14
4
2,283 Views
Last Modified: 2013-12-23
How can I force windows NT to recreate ntuser.dat file? I want to do this because sometimes there is a problem is printing and the user can not add printer, by deleting this file, the problem was solved.
0
Comment
Question by:magdy
  • 2
  • 2
4 Comments
 
LVL 4

Accepted Solution

by:
tflai earned 50 total points
ID: 1570967
When a user login to NT, a profile is assinged.  If you deleted the ntuser.dat in the \winnt_root\profiles folder, NT will automatically created a new utuser.dat file which is a copy of portions of the HKEY_CURRENT_USER Registry subtree.  Make sure this user is either a roaming user profile or local user profile.  You can check the status of the profile under Control Panel-System-User Profiles tab.   If it is, you shall be able to add printer to the user's profile, provided that you have administrator's rights.  If the user's profile is a mandatory profile, then you have to change it to a roaming profile, then add printer, then change it back to mandatory, if that is what you wanted.
0
 

Author Comment

by:magdy
ID: 1570968
The users' profiles are not stored locally, they are stored on a server. When I delete the ntuser.dat file and the user login to the domain from any workstation, the file is not re-created.

Another thing, what is roaming profile and mandatory profile?
0
 
LVL 4

Expert Comment

by:tflai
ID: 1570969
Roaming user profiles are those profiles which you store on a logon server instead of on the user's local computer.

Mandatory user profiles are profiles that users cannot modify.  Amandatory user profile can be a roaming user profile.

If the the profile is stored in the server, then in User Manager For Domains, view the properties for the user.  Click on Profiles to display the User Environment Profile dialog box.  Enter the path to the user's roaming user profile using the UNC name, ie. \\user\%username%.  Make sure you created the folders ahead of time.  Then NT will create an user profile in the \\user\%username%.  Then when the user logoff, the current profile information will be saved in the profile path.

Let me know if I can be more help.
0
 

Author Comment

by:magdy
ID: 1570970
I'm sure now that windows DOES NOT create the file ntuser.dat when deleted. I tried it many times, let me know if you have information why the system does not create it.

0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Nslookup is a command line driven utility supplied as part of most Windows operating systems that can reveal information related to domain names and the Internet Protocol (IP) addresses associated with them. In simple terms, it is a tool that can …
Resolve DNS query failed errors for Exchange
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now