zoukankan      html  css  js  c++  java
  • 重设Windows 7密码 z

    Restart the computer to boot using the CD. Once the GUI loads, press SHIFT+F10 to bring up the command prompt. Using the command prompt, we will make a backup of the sticky key sethc.exe program first, and then override it with cmd.exe using the following commands.

    // d: drive is actually the system drive, normally c: drive in Windows.
    // But booting using the CD, it becomes some other drive letter, like d: drive.
    // Hence you need to try several drive letters first. if you cannot find it at once.
    
    // make a backup of sethc.exe
    copy d:windowssystem32sethc.exe d: 
    
    // override with cmd.exe
    copy d:windowssystem32cmd.exe d:windowssystem32sethc.exe 
    

    Once this is done, restart the computer and let it boot up to the windows logon screen normally. At the Windows logon screen, press the SHIFT key 5 times repeatedly and the cmd.exe will run. If it does not work, use the mouse to find the accessibility icon on the bottom left and turn on the sticky key feature.

    In the command prompt, we will reset the password using the following commands”

    // list users
    net user
    
    // reset password with net user <username> <new-password>
    net user admin Xna24iK
    

    Now you can log in with the new password.

    Remember to restore the sethc.exe from the backup to prevent others from easily changing your password!

  • 相关阅读:
    派生选择器
    HTML 标签
    $.get()
    CC150
    CC150
    CC150
    CC150
    HashMap和HashTable的区别
    CC150
    quickSort
  • 原文地址:https://www.cnblogs.com/zeroone/p/4835442.html
Copyright © 2011-2022 走看看