What is the ntuser.dat file?

Every user profile created on a Windows operating system has an NTUSER.DAT file. A user profile contains personal files and preference settings that are specific to each user. For example, each user profile contains a unique Documents folder, Start Menu configuration, desktop properties and browsing history.


The NTUSER.DAT file is a registry file. Each user's NTUSER.DAT file contains the registry settings for their individual account. The Windows registry, as described by Microsoft, is a "central hierarchical database" that contains information about the software, hardware and user profiles contained on a computer. Windows is constantly referencing its registry files throughout the course of its operation. The configuration of the "HKEY_CURRENT_USER" branch of the registry is supported by the current user's NTUSER.DAT file.


The NTUSER.DAT file is in your user folder. In Windows 7 and Windows Vista, user folders are at C:\Users\USER_NAME.


The NTUSER.DAT file is a hidden file. Hidden files, as the name implies, cannot be seen unless you configure your folder options to show hidden files. Therefore, if you do not see your NTUSER.DAT file when you initially open your user folder, right-click the "Start" button, choose "Start Windows Explorer," click the "Organize" drop-down menu in the upper left of the window, choose "Folder and Search Options," click the "View" tab, select "Show Hidden Files, Folders and Drives" in the Advanced Settings pane and then click "OK."


Deleting a NTUSER.DAT file will delete a users preference settings and may corrupt the user's profile. Because the NTUSER.DAT file is a system file, it is normally locked to protect it from accidental deletion. Only a system administrator operating logged into an administrator-level user account that is different from the account that contains the NTUSER.DAT file you want to delete can delete a NTUSER.DAT file.


The NTUSER.DAT log file, which is listed as a text file, backs up the NTUSER.DAT file. If an error occurs in the NTUSER.DAT file, Windows uses the NTUSER.DAT log file to correct it. If a computer is part of a network, it may also have a NTUSER.INI file. NTUSER.INI files are used to create a roaming profile for a user that does not get copied to the network server. When the DAT extension of an NTUSER.DAT file is changed to NTUSER.MAN it creates a mandatory user profile that is no longer user-configurable. In this case, whenever a user logs off any changes made to the user's preference settings are not saved.