Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

ntuser.dat file

Posted on 1998-02-14
4
Medium Priority
?
2,350 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 200 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

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Greetings, Experts! First let me state that this website is top notch. I thoroughly enjoy the community that is shared here; those seeking help and those willing to sacrifice their time to help. It is fantastic. I am writing this article at th…
Are you one of those front-line IT Service Desk staff fielding calls, replying to emails, all-the-while working to resolve end-user technological nightmares? I am! That's why I have put together this brief overview of tools and techniques I use in o…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…

886 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