Fix Corrupt Windows 7/8/10 Temporary Profile

While working with Microsoft’s Windows 7/8 or Windows 10 operating systems you have noticed that sometimes when working with multiple profiles that they can get corrupted. The fact that the user profile is corrupted may indicate an error when logging on to Windows 10/7/8:

The User Profile Service service failed the sign-in. User profile cannot be loaded.

windows 7 temporary profile

Or you can receive an error that says: You are logged into a Temporary Profile / You’ve been signed in with a temporary profile.


you have been logged on with a temporary profile windows 7

How to Fix Corrupt Windows 7/8/10 Temporary Profile?

This means that anything that user would do under that profile would get wiped immediately upon logging off. This problem seems to happen more frequently when your computer is a member of Active Directory domain.

This tutorial will show you how to fix the profile error in recent Windows versions (from 7 to 10) without having to simply wipe the profile. This can come in very handy sometimes and has saved hours of backing up and transferring profile data.

The user profile in Windows can be corrupted if the system update is unsuccessful, or when installing/removing some program. In the most difficult cases you have to create a new account for yourself, configure it and copy all the files.

First of all, you should check that the system drive has at least 200 MB of free space, after that restart the computer and try to log in again (restart should also help to release the locks on your profiles).

If the issue is not fixed, try to log on with another administrative account.

If the user signed in with a temporary profile, you need a security identifier (SID) for the user account whose profile you need to recover.

Run elevated Command prompt and execute the following command:

wmic useraccount where name='root' get sid

For the current user, the SID can be obtained by the command:

whoami /user

temporary profile windows 7

The user’s SID looks like this: S-1-5-21-3860949763-1019259832-301073028-1001. Write down or copy it.


Now you need to make some changes to the registry ibn order to restore the corrupted profile.

Run Registry Editor (regedit.exe) and go to the section:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList.

In the left pane in the ProfileList key you will see a list of SID for all users on this computer.

There are 3 different cases:

  1. SID is specified twice with the extension .BAK and without it;
  2. SID is specified only once with the extension .BAK (for example, S-1-5-21-3860949763-1019259832-301073028-1001.bak);
  3. SID is specified only once without the .BAK extension (for example,  S-1-5-21-3860949763-1019259832-301073028-1001).

1 Case. Delete Duplicate Folder

If your SID is specified twice, and only in this case, then you need to delete the folder WITHOUT the .BAK extension. Right-click the folder in the left pane and click Delete. Click Yes to confirm.

you have been logged on with a temporary profile

1 and 2 cases: Rename the .BAK folder

Right-click the folder that corresponds to your SID with the extension .BAK, click Rename and delete .BAK from the end. Press Enter to save the changes.


sid temporary profile windows 7 fix

1, 2 and 3 cases. Configuring path and folder status

Click the left mouse button on the folder in the left panel that corresponds to your SID. In the right pane, double-click ProfileImagePath. In the Value data box, type the correct path for your user profile.

temporary profile

After that, click “OK”. Then, in the right pane of the registry, double-click State. Change the Value data to 0 and click OK.

profilelist .bak

If you do not know the path to the profile, go to the C:\Users folder and copy the path to the folder with the user profile you need.

profile list

Close Registry Editor, and then restart the computer. Try to log in with user account.


In case the solution above didn’t help you – simply recreate user profile:

  1. Log in with another admin account;
  2. Delete the following folder (you can also follow the steps below by simply renaming the bad profile to .bak):
  3. Delete the following folder:
  4. Browse to: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\ProfileList
  5. Find the registry key that has the ProfileImagePath entry that matches the username of the account;
    Make a note of the GUID entry a few lines above, you will need this later. Now delete the entire registry key from the ProfileList folder;
    temp profile registry
  6. Now in the registry, browse one folder above to: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\ProfileGuid
  7. Delete the registry key (that matches the GUID you made note of in Step 5) from the folder;
  8. Restart once again and then you’re done!
I enjoy technology and developing websites. Since 2012 I'm running a few of my own websites, and share useful content on gadgets, PC administration and website promotion.


  1. Same thing repeated again even after editing registry and after restart too, is any other solutions for the prevention of profile corrupation

  2. Uhm wouldn’t deleting the affected Userdata from the C Drive put me at risk of losing all my files?
    & just wondering, I did something like this, except I simply deleted “TEMP” and the affected SID.bak from the registry, and it didn’t work because I logged into the affected profile again and it had just created me a new user instead! I had backed up the registry from another admin user however, so I reversed everything.
    I’m getting annoyed by my sister constantly asking me to fix it even though I have no idea how!

  3. The fix is:
    1. Login using another local administrator account. (Make one if there isnt another).
    2. Remove the corrupted user from Users in control panel.
    3. Move the corresponding folder from the Documents and Settings (XP) or Users folder (Vista and Windows7) to the desktop of the newly created admin user’s desktop.
    4. Open regedit and navigate to HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList Find the key on the left that corresponds to the corrupted profile. Note the value of the string on the right called GUID. Delete all keys that list the corrupt user profile (.bak versions and regular).
    Go up a few lines in regedit to HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileGuid.
    6. Delete the key (keys?) within this ProfileGuid folder that match the value of the GUID string that you noted above.
    7. Restart PC
    8. Login as the temporarily created admin profile. Go to control panel and recreate the corrupted profile. (Make it an administrator at least temporarily so you’ll be able to access the files we moved to the other admin’s desktop if needed).
    9. Logout and login as fixed user.
    10. Copy any files from the temp admin’s desktop where we copied the corrupted profiles data, into the appropriate places in the fixed profile. This includes My Documents,Favorites, Outlook data, and any other user data you need.
    11. Once everything is working properly, you can remove the temp admin from control panel> Users and delete its folder.


  4. If you know what you are doing and not looking forward to deleting your profile (and spending extra time copying necessary files between old and new profiles) – try these simple steps first (just performed on my brother’s Windows 7 PC):

    1. Login using another local administrator account. (Make one if there isnt another).
    2. Open regedit and navigate to HKLMSOFTWAREMicrosoftWindows NTCurrentVersionProfileList Find the key on the left that corresponds to the corrupted profile. Note the value of the string on the right called GUID. Look for one with a .bak which should contain the true profile details (verify with the user path for the profile). – If there is no .bak version – this method will not work.
    3. To be safe – recommend right clicking on the existing ProfileGuid and the .BAK version and exporting them to a safe place on your hard drive
    4. Simply delete the ProfileGuid registry folder that is using c:userstemp that is associated with the .bak version
    5. Rename the .bak version by removing .bak from the registry folder name
    6. Log off the secondary account you are in and log back in as the primary account that was corrupted
    7. If it works – your good to go! If not – resort to the delete the profiles method – but be sure to make backups of the profile folders.

  5. Thanks for the info juan dela cruz and also to Brian Jackson. The process worked for me.Great work!!!!!!!!!!

  6. [At windows start\search]Type this %temp%.u can see a TEMP FOLDER click it.u can see many files delte it by pressing SHIFT+DELETE .this is an easy solution to overcome windows corrupt.

  7. Thank you Jim! I have and HP and deleted HP simplepass and was able to get back into my profile. You are awesome! Thank so much for sharing. I am so lucky read your blog, you saved me a ton of time and hassle after an already long and hectic day. Thanks again!

  8. sir, I am not very clear on 2 points:
    step 3- which profile to delete…our original admin profile which we are having problem with or temporary profile?

    step 5: matching ur SID…. how do I know? from the profile imagepath, pick which profile? the temporary one or our original admin profile?

    thank u very much!

      1. Thank You very much Sir. I was having problem with my administrator profile,but
        I managed to fix it.Actually a trial version of PANDA antivirus was causing the problem. Uninstalling it fixed the problem.

  9. I got similar if not worst dellima…I got Windows 7 on my Dell, the User Profiles failed.

    Yesterday I have downloaded few softwares for my friend. Office 2000(torrent) for an old repaired IBM running on XP, Cisco wifi USB driver — I suspected it could be from any of these downloads. I left it to Sleep, then when I was about to use it again…everything froze so I cold-reboot and that’s how the agony started…User Profiles failed.

    1) Upon starting up, Windows stops only at User’s logon page and says User Profiles Failed. Can not open anything at all but that and shutdown/restart/hibernate option below.

    2) My cd-rom is already damaged before this, so I cannot insert an installation disk for recovery.

    3) I was able to get to Directory Services Repair…like Safemode. It says I am logged to the default profile(which is my only user profile). Here comes the bundle of stuff that fails.

    *Desktop failed, control.exe corrupt, regedit or cmd wont work at all, so I can’t adjust the registry nor can I do changes via DOS.

    * I can open My Computer and from there open files on C: where Windows/Desktop has disappeared, and Users folder is empty. But I can find installed programs under Program Files and run the .exe That’s where I am at right now… though not all programs can open.

    *Control.exe is corrupted, so I can barely do stuff in Control Panel. Administrative Tools is unreadable. Recovery – System Protection is turned off, and to turn it on a particular disk it says it can’t be turned on because its in FAT32. User Accounts – only has my default and only user account – there is no option to add another account. User Profile Properties is empty and also no option to add new user.

    *Troubleshooting. Fix problem with Windows update, Run Maintenance Task, —all failed.
    I am connected to the Internet so I can check.

    * Installed programs did not appear on Start menu, only Documents, Pictures, Music – folders of my User Profile are there but it cannot open also. The rest are Control Panel, My Computer, Help and Support….

    I think the fix is here somewhere, and this computer is not totally useless because I can still use the computer…but can’t make my daily stuff such as video editing, graphics, and audio editing. I tried to look around for some fixes but none worked for me. Please help!

    1. I have tried running Spybot, Avast, and CCleaner…no infections detected. Malwarebytes I already have that installed in the system but it wont run now. SuperAntiSpyware and MS Security Essentials cannot be installed. Yes I can connect to the internet, I am using the same computer on Safemode.

  10. Ya that is pretty much the exact same thing. They have more than 4 steps really, there are a couple bulleted items you still have to do. I included a little more due to some more in-depth troubleshooting. It’s good to know that the GUID in step 5 is related to the GUID in step 6.

  11. OMG thanks for nothing now it says “The User Profile Service service failed the logon. User profile cannot be loaded.” Huh some magic you got not, thanks for ruining my pc. your info sucks.

    1. We know this works as we have done this hundreds of times. Did you rename/delete the original user profile folder before following the rest of the steps? Make sure you follow the directions very carefully. This works for Windows Vista, Windows 7, and Windows 8.

  12. I have used this method several times and it works fine. However, I want to know the root cause of the issue. Why do I have several users per week with corrupted profiles? They users are on the same domain, they use redirected desktops and/or roaming profiles. Our server is a Win 2008R2 and the users run WIN 7 Pro. Is there something we can do to the server that could stop this from occurring/ There has to be a centralized issue somewhere that causes so many of these profile corruptions. Any ideas?

    1. I totally agree with you Brad. I have seen this issue on and off since 2006. Never tracked down the exact cause. However, several users per week sounds like an excessive amount. At my previous employer, we maintained about 400 employees and I would estimate we saw about 1-2 corrupt profiles per month. May I ask how many users you are dealing with?

      1. It is an accommodation school, probably 180-200 students and staff. It is mainly the student profiles that become corrupt. We have group policy locking the systems down but they always find a way to by pass with proxy. We also have roaming profiles. I am trying to dial in on the root cause. At this point I am not even close.

  13. This process is good, but what about preserving user data
    or settings, I’m looking for an easy way to recreate the profile then move over
    user data, ultimately as IT ppl we need to give the user the computer back to
    them as if nothing was wrong with it.

  14. I hate windows. I haven’t had a single version that this didn’t happen to. The most recent is with Windows 7 Home Premium with only 1 user, and a homegroup set up but nothing has had a chance to connect since it’s only been installed for a few days. And the work around is just a little faster than reinstalling from scratch in my case. Very frustrating that I can’t just use Linux for this computer.

    TIP: always set up more than one admin user on a Windows system, ALWAYS!! This is the only way you can avoid this issue as it appears to happen randomly on all versions of Windows 7, especially since no real information behind the reason it happens is available even after all of these years.

    Security through obscurity has not been good for anyone except Microsoft and other big and lazy programming corporations that rely on the compiler to do all of their optimizing.

  15. These are all perfectly valid enough ways to fix this, except I don’t see that anyone has provided the best way.

    So like most say, open registry, goto hklmsoftwareMicrosoftwindows ntcurrent versionProfileList, then find the one labeled with .bak at the end. LEAVE IT ALONE!
    Find the one WITHOUT the .bak and delete it, rename the .bak one to remove the .bak and change the state field within from whatever it is to 0 (Hex).

    You don’t have to delete any profiles if you don’t want to, but feel free to delete the TEMP profile if you must.

    99% of the time you can login to your old profile just fine, for those 1% when it doesn’t work, follow everyone else’s instructions.

    1. “change the state field within from whatever it is to 0 (Hex)
      Can you explain in detail how to do this step?


      1. Not sure I can explain it a lot better, just double click the state key within the profile and just enter 0 in the field provided log off and u should be able to log back in to the old profile

        1. Thanks for the speedy reply, please forgive my ignorance.
          I think I’m tracking now.

          I asked another question, should be top one.
          No .GUID key, any ideas?

          Thanks again


    error in login -> you have been logged on with temporary profile

  17. Thank you for these tips! Is is very very helpful! Can you please clarify me one point! Last year I bought Windows 10 at online store (it was and now I have troubles with it, especially the problem is rather similar to your post! And the question is: Should this store, by my warranty, fix me such problems for free? I will be very thankful for your answer!

  18. I know this is an old discussion but I have a question.
    I have Windows 7 Home Premium edition and I do not have the GUID entry on the profile nor do I have the ProfileGuid folder in my registry…..
    Any ideas?

    1. Sorry, I got nothing on this, I usually support corporate editions, not sure how home editions are different

  19. I am running Windows 7 Pro on my Del Optiplex 780. A while back I couldn’t log in because of a corrupt profile. I did the rename of the corrupt file, deleted the .bak from that filename, and rebooted fixed! Here is my concern. It could happen again and I have used up my .bak file. What causes .bak files to appear in registry? I cannot find anywhere advice on how to cause another .bak to appear for next time my profile dies.

  20. Year 2020. This article is still helping people. I truly hope the best for its author because of all the users they have helped. THANK YOU!

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.