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!

  • 相关阅读:
    Nginx URL后面不加斜杠301重定向
    Jenkins 配置 Node.js 项目
    在 Linux 上搭建IntelliJ IDEA license server服务器
    Vue 使用细节收集
    sinopia 搭建记录
    cli 开发记录
    Cgroup(一)简介
    Kubernetes (一)POD驱逐
    RabbitMQ(五)镜像队列
    RabbitMQ(四)队列结构
  • 原文地址:https://www.cnblogs.com/zeroone/p/4835442.html
Copyright © 2011-2022 走看看