deleted my ntuser.dat file and now I can't login, how screwed am I?

Discussion in 'Windows 10' started by RemixDeluxe, Aug 24, 2016.

  1. RemixDeluxe

    RemixDeluxe MDL Novice

    Apr 28, 2015
    33
    0
    0
    I'm grateful I keep my SSD purely for OS purposes but because of my obsession with clearing out any foreign or suspicious folders and files I got rid of something vital which I'm now finding out is necessary for the OS. If I don't have a backup am I gonna have to take a dive and reinstall Windows 10 or is there some way to get back that file? (It's deleted, not in the recycle bin)
     
  2. T-S

    T-S MDL Guru

    Dec 14, 2012
    3,984
    1,331
    120
    You can use Rstudio to see if you can recover it (possibly connecting your ssd to another pc)

    You can boot with the recovery consolle or nt password recovery and enable the Administrator user, once you're logged as administrator you can recreate a new user and move there most of your user settings (not the ones stored in the registry, obviously) and allo of your personal files.
     
  3. BigW

    BigW MDL Member

    Apr 25, 2010
    198
    53
    10
    #3 BigW, Aug 24, 2016
    Last edited: Aug 24, 2016
    I can't imagine a situation where you are able to casualy delete such important files like ntuser.dat! They are seriously locked for a reason. You know when you have to jump through some very serious hoops to delete such a important file it might be best to investigate beforehand what this file is for. Not even a backup or googling the file name before you do such a serious operation is never good practice.

    I think you also deleted other more or less important files when you deleted the ntuser.dat. It is best you make a clean install of windows. You will get always problems down the line with important files missing.

    I hope you have learned an important lesson here to

    a) never do such serious tasks without a recent backup

    and

    b) inform yourselve WHAT you are doing or leave it as is!

    I also advice you seek out a medical profesional with help for your obsession. At least it harmed your Windows installation. It's better to seek out help before it spreads to other areas of you life.
     
  4. kaljukass

    kaljukass MDL Guru

    Nov 26, 2012
    3,396
    1,322
    120
    If the files were deleted as usually, using windows default delete function, then they all are on hard disk and also all can be recovered. Simply is needed to boot from any bootable disk and run recover program. For example I have used one old, but good Spotmau Power Suite 2012.
    And of course, always is possible use built in "Administrator" account and then You can reset any password. This is the simplest way always.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. 100

    100 MDL Expert

    May 17, 2011
    1,349
    1,576
    60
    ntuser.dat is HKEY_CURRENT_USER, so by deleting it you have lost the contents of the respective user's registry hive.
    For a user profile, restore the default ntuser.dat from install.wim (in \Users\Default).
    For a service profile you can try restoring the default from install.wim (in \Windows\ServiceProfiles).

    It is, however, an excellent learning experience.
     
  6. T-S

    T-S MDL Guru

    Dec 14, 2012
    3,984
    1,331
    120
    You can't learn to ride a bike w/o hurting yourself
    The only people who never fail are the people who never do anything, and yes he learned a lesson, an he learned because he did something.
     
  7. LatinMcG

    LatinMcG Bios Borker

    Feb 27, 2011
    5,711
    1,606
    180
    try ShadowExplorer see if u find it.
     
  8. lobo11

    lobo11 TOMAHAWK CHOP

    Feb 16, 2012
    6,584
    5,362
    210
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. lobo11

    lobo11 TOMAHAWK CHOP

    Feb 16, 2012
    6,584
    5,362
    210
    #9 lobo11, Aug 24, 2016
    Last edited: Aug 24, 2016
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. lobo11

    lobo11 TOMAHAWK CHOP

    Feb 16, 2012
    6,584
    5,362
    210
    I replied because his computer would not boot,
    option 3 on 1 post takes you to same place as 2nd post:D
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. Hearsepilot

    Hearsepilot MDL Novice

    Aug 31, 2009
    36
    4
    0
    Have you tried a system restore?
     
  12. lobo11

    lobo11 TOMAHAWK CHOP

    Feb 16, 2012
    6,584
    5,362
    210
    If he would do as I said above, then run startup repair should put missing file back on computer or it did me in past.:D
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  13. Garbellano

    Garbellano MDL Addicted

    Aug 13, 2012
    947
    248
    30
    use restore
     
  14. lobo11

    lobo11 TOMAHAWK CHOP

    Feb 16, 2012
    6,584
    5,362
    210
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  15. Yen

    Yen Admin
    Staff Member

    May 6, 2007
    13,081
    13,979
    340

    You could have saved your derogatory comment about seeking a medical professional (are you skilled to make a proper diagnosis?), it's totally useless....
    Finally OP had the courage to post about an awkward action....he surely did not do that to harvest sarcasm ;)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  16. glennsamuel32

    glennsamuel32 MDL Senior Member

    Jul 15, 2012
    271
    87
    10
  17. MS_User

    MS_User MDL Guru

    Nov 30, 2014
    4,629
    1,343
    150
    maybe if he would have taken the time to go to school and take MS courses he would have learn if u delete ntuser.dat file your comp loses its profile.
     
  18. lobo11

    lobo11 TOMAHAWK CHOP

    Feb 16, 2012
    6,584
    5,362
    210
    Probably using registry cleaner and deleting whatever it says, having no idea what he deleting:D
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  19. LatinMcG

    LatinMcG Bios Borker

    Feb 27, 2011
    5,711
    1,606
    180