?
Solved

ntuser.dat file

Posted on 1998-02-14
4
Medium Priority
?
2,341 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

Question has a verified solution.

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

FIPS stands for the Federal Information Processing Standardisation and FIPS 140-2 is a collection of standards that are generically associated with hardware and software cryptography. In most cases, people can refer to this as the method of encrypti…
We recently endured a series of broadcast storms that caused our ISP to shut us down for brief periods of time. After going through a multitude of tests, we determined that the issue was related to Intel NIC drivers on some new HP desktop computers …
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…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…

718 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