Fault description: After the system is started, a login user appears, and then click the user to enter the system, but the desktop is not displayed and automatically logged out. This is also true in security mode. It is always automatically logged out when any user logs in.
Fault Analysis: Generally, the causes of some faults
1) The kernel32.dll file under sysytem32 is lost or damaged.
The handler is damaged, And the Userinit key value under HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionWinlogon in the registry is changed from C: WINDOWSsystem32userinit.exe to C: WINDOWSsystem32userinit32.exe
Solution: Use winxpto start Windows XP, and use the Windows fault recovery console to extract a new kernel32.dlland userinit.exe file from the winxpinstallation disc.
On the "welcome to the installer" Page, press the "R" key and select repair
Then press the "C" key to use the fault recovery console.
Enter a number and select a Windows installation, usually "1 ". Enter the administrator password.
Enter cd system32 to enter the system32 directory and enter the command:
Del userinit32.exe
Del kernel32.dll
Map can check which disk your optical drive is.
Expand f: iw.kernel32. dl _ (f: indicates the drive letter of the optical drive)
Expand f: imo-userinit. ex _
Copy userinit.exe userinit32.exe
After completing the preceding operations, you can usually go to the system and restart the system to clear the worm.
This article is from bkjia.com technical blog