Solved

ntuser.dat file

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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

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…
Resolve DNS query failed errors for Exchange
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…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
Suggested Courses

623 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