Win7 You have used temporary configuration file login and recovery solution

  
 

Login win7 system always prompts you to use temporary configuration file to log in


Searched a lot of related posts on the Internet, almost no one can say that this problem is solved correctly on the idea, Finally, the solution was found at Microsoft.


win7 You have used a temporary configuration file to log in to the solution http://support.microsoft.com/kb/947215/zh-cn To resolve this issue, please follow the steps below Action: 1. Click Start, right-click Computer, and then click Properties. 2. Click to change the settings. 3. In the System Properties dialog box, click the Advanced tab. 4. Under User Profiles, click Settings. 5. In the User Profiles dialog box, select to remove, click Remove, and then click OK to the desired profile.

User profile repair method

But when you accidentally delete the user's information, then re-establish it. Then when you log in again with this login name, the system will automatically create a new folder. The newly created folder name is in the form of domain user name and domain name (NetBios). For example, in the domain environment of Windows
Server 2008 R2, use Win7 as the client of the domain. When creating an account called Jack in AD, the system automatically starts at %SystemDrive% when logging in to Win7 for the first time. Create a user profile folder called jack under \\Users, but recreate a small jack username after deleting the user on the domain control. Once again, when the client logs in, the system automatically starts at %SystemDrive%\\ Users build a user profile folder called jack.JACK-TEST (where the domain name is JACK-TEST). As shown below:

Of course, if you delete it again or if there is an accident, re-create this account again. When you log in again, the system will be named after UserName.domain.000. If there is a problem again The name will be UserName.domain.001, as shown below:

Of course, if it is on a single body, there is no domain, the name of this folder will be UserName.ComputerName, third The second time is UserName.ComputerName.000 becomes the UserName.ComputerName.001 for the fourth time and so on from the fifth time. This is because each time you delete and rebuild the account with the same name, but the SID number of the name in the system will not be the same, so every time you rebuild the account with the same name, the system will compare your SID number when you log in. A folder that will create a new user profile.

As shown above, the folder path of the user profile of jack at this time is "%SystemDrive%\\Users\\jack.JACK-TEST.001", if this wants to restore to the first user The configuration file can be implemented by repairing the registry (to avoid risk, please back up the registry before modifying the registry), the next step can solve this problem.

One, click on the "Start" menu, then click "Run", type the regedit command, then click OK, find the following registry in the "Registry Editor" Item:

HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\ProfileList

When you expand this registry subkey, you will see a lot of User Security Identifiers (SIDs), here You can open the CMD window as an administrator and type whoami /user (note: Windows XP sp2 does not have this command). You can quickly know that the current user name has the SID of "S-1-5-21-2235525430-3451628426- 3257946400-1161” as shown below:

Expand the registry subkey of this SID and view the folder storage path of the current user's configuration file, as shown below:

The above picture shows The path to the user profile folder, here we need to find the ProfileImagePath path for the "C:\\Users\\jack" subkey, after finding the whole "S-1-5-21-2235525430-3451628426-3257946400-1127" ; the registry subkey is deleted or renamed, As will be adding a .old and the like, as shown below:

delete the item when the machine must have administrator privileges, be sure to open the registry as an administrator in Win7 under can. Next, change the path of the folder where the current user profile is stored to "C:\\Users\\jack", and modify the method as shown below:


2. Exit after the modification is completed. Registry, run the resource manager as an administrator, or log out as an administrator to log in to the system. Go to the C:\\User directory, find the jack directory, select the right-click menu, click “ Properties & rdquo;--&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& 3451628426-3257946400-1127”Unknown user deleted, re-authorized to the current domain user jack, click <;Security"-&"Advanced", in the “Advanced Permission Settings” window select “Owner ” tab, here the replacement owner is jack, as shown below:

Click “OK”Return, the details here are not much to say, but be sure to note that the user must have &ldquo Full control of permissions, be sure to use the above method.

Three, open & ldquo; resource manager & rdquo; into the "C: \\ Users \\ jack"; directory, delete the file as shown below, as shown in the figure:

In the directory ""C:\\Users\\jack.JACK-TEST”, copy the same files to the directory "C:\\Users\\jack"; at this time, "C:\\Users\\jack.JACK" -TEST” The directory is renamed or deleted. After logging out, log in to the system with jack-test\\jack. You will find that the previous desktop is back. At this time, verify the current directory and the user's SID ID as shown below:

Copyright © Windows knowledge All Rights Reserved