Solved

ntuser.dat file

Posted on 1998-02-14
4
2,304 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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Sometimes you might need to configure routing based not only on destination IP address, but also on a combination of destination IP address (or hostname) and destination port number. I will describe a method how to accomplish this with free tools. …
This article is in response to a question (http://www.experts-exchange.com/Networking/Network_Management/Network_Analysis/Q_28230497.html) here at Experts Exchange. The Original Poster (OP) requires a utility that will accept a list of IP addresses …
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

832 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