• 重设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!

  • 相关阅读:
    如何设计可靠的灰度方案
    排查指南 | 两个案例学会从埋点排查 iOS 离线包
    【SpringMVC 从 0 开始】@RequestMapping 注解
    【SpringMVC 从 0 开始】动手实现世界著名程序
    【Spring 从0开始】Spring5 新功能
    java 接口
    java的接口实现
    java文档注释
    Java链表
    Java Iterator(迭代器)
  • 原文地址:https://www.cnblogs.com/zeroone/p/4835442.html
Copyright © 2020-2023  润新知