Windows 10: ntuser.dat

Page 1 of 2 12 LastLast
  1.    19 Mar 2018 #1

    ntuser.dat


    Greetings
    Why do I have so many ntuser.dat files?
    I counted 20 with various extensions: blf, regtrans-ms, pol, log1, log2, ini
    I'm in windows 10 pro ver.1709 build 16299.248
    thank you
      My ComputerSystem Spec

  2. Bree's Avatar
    Posts : 8,852
    10 Home x64 (1809) (10 Pro on 2nd pc)
       19 Mar 2018 #2

    You most likely already know that ntuser.dat is your user profile, loaded at sign in as the HKEY_CURRENT_USER registry hive. You also understand that this is constantly being updated to reflect the changes that happen as you use the PC.

    There transactions are not written to ntuser.dat as they happen, that usually occurs as you sign out or shut down. Instead they are written to the regtrans-ms files (short for registry transactions). Together all these types of files help prevent the registry becoming corrupt, the changes only being committed in a controlled manner at sign out. An 'uncontrolled' shutdown like a BSOD would leave ntuser.dat unmodified, so at next sign in it should be free of any changes that happened in the previous abruptly terminated session.

    Best leave them alone then :)
      My ComputersSystem Spec

  3.    19 Mar 2018 #3

    I didn't know what is the purpose of ntuser.dat files.
    thank you for clarifying.
    I won't touch them following your advice.
    many many thanks
      My ComputerSystem Spec

  4. Bree's Avatar
    Posts : 8,852
    10 Home x64 (1809) (10 Pro on 2nd pc)
       19 Mar 2018 #4

    You're welcome, glad to have helped clarify what's going on.
      My ComputersSystem Spec

  5.    06 May 2018 #5

    so many ntuser.dat files


    Still I don't understand why as a single user I have so many ntuser.dat files from different dates.
    Now I understand that it keeps my user profile so as a single user should I have tens of files of the form:
    NTUSER.DAT{class like expression}.TM.blf or .TMcontainer0000....#.regtrans-ms
    dates are from Dec. 2017 to May 2018
    thank you
      My ComputerSystem Spec

  6. Bree's Avatar
    Posts : 8,852
    10 Home x64 (1809) (10 Pro on 2nd pc)
       06 May 2018 #6

    zivshosh said: View Post
    Still I don't understand why as a single user I have so many ntuser.dat files from different dates...
    The transaction logs (regtrans) are there as a store for recent changes. Their purpose is to delay writing changes immediately to ntuser.dat until they are confirmed as being valid. Should a bad change be made that crashes the PC then the earlier ntuser.dat remains intact and will allow the machine to work at the next boot.
      My ComputersSystem Spec

  7. topgundcp's Avatar
    Posts : 2,438
    Ubuntu14.04x64 MintMate17x64 Win10Prox64
       06 May 2018 #7

    There's nothing wrong to clean up those redundant backup files. I have been doing this for years and Windows should do it as part of clean up too. I use CCleaner to include those files under Current User and also delete those under: C:\Windows\System32\config as you can see in the screen shot.
    Of course, it is always advisable to have a backup image of Windows in case something goes wrong.
    Click image for larger version. 

Name:	p1.jpg 
Views:	10 
Size:	188.5 KB 
ID:	187668
      My ComputerSystem Spec


  8. Posts : 136
    Win10 Pro x64 1607
       06 May 2018 #8

    zivshosh said: View Post
    ...should I have tens of files of the form:
    NTUSER.DAT{class like expression}....
    Hi,

    You may select all "ntuser.dat...." files and delete them.
    System is not going to allow deletion of active/critical ones.
    It's absolutely safe but do not do that to another (if exists) not active user.
      My ComputerSystem Spec

  9.    20 May 2018 #9

    topgundcp said: View Post
    There's nothing wrong to clean up those redundant backup files. I have been doing this for years and Windows should do it as part of clean up too. I use CCleaner to include those files under Current User and also delete those under: C:\Windows\System32\config as you can see in the screen shot.
    Of course, it is always advisable to have a backup image of Windows in case something goes wrong.
    Click image for larger version. 

Name:	p1.jpg 
Views:	10 
Size:	188.5 KB 
ID:	187668
    Hi topgundcp do you mind sharing a full list of your ccleaner include custom deletion list? wanna to add the same list as yours on my ccleaner ;P
      My ComputerSystem Spec

  10. topgundcp's Avatar
    Posts : 2,438
    Ubuntu14.04x64 MintMate17x64 Win10Prox64
       20 May 2018 #10

    @suta
    Here you go. Unzip the file to CCleaner installation folder. Run CCleaner->Options->Advanced and put a check mark on "Save All Settings to INI file"
    go thru the inclusion list and delete what you don't want or does not apply to you.

    WARNING: Make sure Windows Updates is not running, otherwise it will delete all Updates Files causing Updates to fail.

    ccleaner.zip
      My ComputerSystem Spec


 
Page 1 of 2 12 LastLast

Related Threads
After reading the 7Forums link I cannot find a similar instruction set w/in Win 10; yet I know that this forum is far better than the 'like' Microsoft forum since people responding on the MS Forum seem incapable of actually answering the question...
NTUSER.DAT Delete?? in General Support
Since I updated to 1607 today, I've got this annoying file called this. It just will not delete, period. I know people will say this is a system file etc. But it doesn't make sense. Under details, it says it's '5KPlayer.dat' and I deleted that...
I'm only using local accounts. I have an unused user account folder called "Anna". It's been migrated since ages ago in Windows 8 and it shouldn't be in use. I only use my present user folder called "Anastasia". Now I want to create a fresh new...
Solved location of NTUSER.DAT file? in General Support
I'm trying to fix a Windows 10 app problem and want to delete/uninstall completely. The problem is with an app installed by a second user of the PC. In order to do this I want to edit registry for this user. So, I want to load the hive for this...
Ntuser.dat in General Support
Since using Win10 I have accumulated many NTUSER.DAT and BLF File files in my USER file. . Is this normal. 2. Can I delete them without causing any problems 3. Is there a way to prevent them accumulating.
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 07:40.
Find Us