The NTUSER.DAT file is a system file that stores user information for Windows. This file includes information such as the user’s name, account type, and password. The NTUSER.DAT file is located in the %SystemRoot%\System32 folder. ..
Hidden in every user profile is a file named NTUSER.DAT. This file contains the settings and preferences for each user, so you shouldn’t delete it and probably shouldn’t edit it. Windows automatically loads, changes, and saves the file for you.
NTUSER.DAT Contains Your User Profile Settings
Every time you make a change to the look and behavior of Windows and installed programs, whether that’s your desktop background, monitor resolution, or even which printer is the default, Windows needs to remember your preferences the next time it loads.
Windows accomplishes this by first storing that information to the Registry in the HKEY_CURRENT_USER hive. Then when you sign out or shut down, Windows saves that information to the NTUSER.DAT file. The next time you sign in, Windows will load NTUSER.DAT to memory, and all your preferences load to the Registry again. This process lets you personal settings unique to your user profile, like your chosen desktop background.
The name NTUSER.DAT is a holdover from Windows NT, first introduced with Windows 3.1. Microsoft uses the DAT extension with any file that contains data.
Every User Has an NTUSER.DAT File
Windows didn’t always have full support for user profiles. In early versions when you started Windows, every user of the computer saw the same desktop, files, and programs. Now Windows better supports multiple users on the same machine, and it does this by placing an NTUSER.DAT file in every user’s profile. You can get there by opening File Explorer and either browsing to:
C:\Users*YourUserName*
or by typing:
into File Explorer’s address bar, and then hitting enter.
If you don’t see NTUSER.DAT yet, don’t worry. Microsoft doesn’t intend for you to edit or delete this file, so they hide it. You can turn on the Show Hidden Files option to make the file visible.
You’ll probably notice that in addition to an NTUSER.DAT file, there are also one or more ntuser.dat.LOG files. Every time you make a change, Windows saves your new preferences to the NTUSER.DAT file. But first, it makes a copy and renames it to ntuser.dat.LOG (plus an incremented number) to back up your previous settings. Even Microsoft knows you should always back up your settings and files.
Don’t Delete the NTUSER.DAT file
You shouldn’t ever delete your NTUSER.DAT file. Because Windows depends on it to load your settings and preferences, removing it would corrupt your user profile. When you next log in, you’ll see a prompt that Windows can’t sign into your account.
Despite the suggestion that signing out and then back in may fix the problem, you’ll see the same message again. If you try to create a plain NTUSER.DAT file to replace the missing instance, you’ll experience a loop during the first-time setup dialog and Windows will never finish logging in.
The NTUSER.DAT file isn’t usually a large file, ranging between 3 megabytes on one of our new computers to 17 megabytes on a PC we’ve been using for a few years. Deleting it won’t regain much space typically, but the results can be disastrous. If a user profile isn’t needed, it’s best to remove the user account through Windows.
You probably shouldn’t edit it either. Some administrators might do this to make quick changes to many users, but if you aren’t careful, you can cause problems that are hard to fix.
The better thing to do is use regedit to make changes to the registry. Working in the registry is also something you should do with caution, but there’s a good chance you can find a guide that will walk you through the necessary steps. After you have edited the registry when you next log off or shut down your new settings will be saved to the NTUSER.DAT file.