The adminstrator user was accidentally disabled and could not enter the system?

  
                                    

Preface

F8 enters the safe mode with command net user ### *** /add After adding a user, you can enter the system but the user does not have permission to open adminstrator, and the user cannot be promoted as a super permission prompt. : Rejected" What should I do? Is there any way to reinstall or restore the system?

After you add a user, you need to promote the restricted user account to the system administrator. The command is: net localgroup administrators ### *** /add There are other ways: The premise is that you set the screen saver. Hang the hard disk with the system on another computer with XP (or boot the system with PE CD), replace logon.scr with cmd.exe in the windowssystem32 folder (make a copy of cmd.exe first, rename it to logon .scr, the original logon.scr was renamed to another name). Put this hard drive back into the original computer and start the computer. When you need to enter your account number and password, do nothing. After a while, the system will enter the screen saver state. At this point, the screen saver file has been replaced with the cmd.exe command line, and the cmd.exe still has system privileges (higher than the administrator permission). Enter “net user administrator /active:yes” in cmd.exe, or activate your original account <quo;net user account name /active:yes”, when the command is completed, “ close cmd.exe , the login dialog box appears, the rest should not have to say it! Remember - finally to restore logon.scr.

Copyright © Windows knowledge All Rights Reserved