我弟弟去年从头组装了一台电脑,并在其上安装了 Windows 7 Ultimate 64 位。问题是现在需要将其恢复为出厂设置 - 原因是我的另一个弟弟想安装一个新游戏,但记不住管理员密码是什么!
当将光盘插入计算机时(取决于要运行的程序,例如 setup.exe),它会要求输入管理员密码,从而否定了使用磁盘的选项,这进一步加剧了这种情况。
我读到过,要做到这一点,必须在 Windows 7 图像弹出之前按下键盘上的正确键。所以问题实际上是哪些是正确的键?我知道它们取决于制造商,但取决于什么?主板、CPU 还是硬盘?
然后会出现什么屏幕?(截图可以很好地展示这一点)
任何可以完整解释这一点的资源都会有所帮助。
谢谢!
答案1
如果你刚刚丢失了管理员密码,并且没有“正常”的方法来恢复它,我建议使用Hiren 的 BootCD
该网站拥有删除管理员权限所需的所有教程。
- 首先准备一个可启动的USB。
- 将 Hiren 的文件复制到 USB 上。
- 按照教程中的步骤操作 - 一切都很好并且清晰。
答案2
打开您的电脑,如果已经打开,请重新启动它。
在打开计算机后的前几秒内,请注意“正在进入设置”消息。此消息因计算机而异,并且还包括进入 BIOS 所需按下的键。
以下是您可能会看到此 BIOS 访问消息的一些常见方式:
Press [key] to enter setup
Setup: [key]
Enter BIOS by pressing [key]
Press [key] to enter BIOS setup
Press [key] to access BIOS
Press [key] to access system configuration
快速按下上一条消息指示的一个或多个键进入 BIOS。
注意:您可能需要多次按下 BIOS 访问键才能进入 BIOS。请勿按住该键或按下太多次,否则系统可能会出错或锁定。如果发生这种情况,只需重新启动并重试。
当您进入 BIOS 时,您可以使用键盘上的键浏览 BIOS 菜单,它看起来像这样: http://0.tqn.com/d/pcsupport/1/0/H/2/-/-/biosmainmenu.jpg
只需进入启动菜单并找到更改启动顺序的选项。首先放入 DVD/磁盘读取器,保存并重新启动。它应该从磁盘启动,然后您可以执行以下操作: http://harryjohnston.wordpress.com/2010/03/09/resetting-a-password-in-windows-7-or-windows-vista/
如果链接中断,我就从那里复制粘贴到那里:
Boot to your Windows 7 or Windows Vista installation DVD, whichever matches the installed OS. If you purchased your computer from a responsible vendor, they’ll have provided you with one, although unfortunately many vendors don’t.
Additional note 8 September 2011: In Windows 7, there is an option in the Start Menu (under Maintenance) to Create a System Repair Disc. The CD or DVD this option creates is perfect for the job. However, you have to be an administrator to use it, so unless you’ve done it ahead of time or can use a friend’s Windows 7 machine you’re out of luck.
Additional note 1 September 2011: If your computer is 64-bit capable (you don’t need to actually be running a 64-bit OS) then you can use the install disk for Microsoft’s free server product, Hyper-V. You can find it here. Note, however, that it is a fairly big download, a little more than a gigabyte.
Additional note 5 May 2011: Nommo was kind enough to point me to this post on Microsoft Answers which provides a link to downloadable repair disks for Vista and Windows 7. I can’t from my own knowledge confirm that these disks are legitimate, and Microsoft aren’t telling, so use only at your own risk. Indications are that they are probably OK. (Personally, I wouldn’t use the charged-download option until I’d checked how much my OEM was going to charge to provide an installation disk. Make sure the OEM knows you need a Windows installation disk, not a system recovery disk.)
A vendor system recovery disk might offer the same functionality, and in some cases you can order an installation DVD from your vendor (or from Microsoft?).
Select your language options on the first screen and press Next to continue.
Choose “Repair Your Computer”.
Choose “Use recovery tools…” and select your OS. Make a note of which drive letter it is on, e.g., C: or D:. This might not be the same drive letter you see when booted normally.
Additional note 1 September 2011: if you get an error message when you press Next, this might be because the install disk you are using is not compatible with the version of Windows you have installed. This will happen, for example, if you are using the Hyper-V install disk. Don’t panic. Just press SHIFT-F10 to open a command prompt and skip ahead to step 6.
Select Command Prompt.
In the command prompt window that appears, type “regedit” and press ENTER.
Select HKEY_LOCAL_MACHINE and then choose Load Hive from the File menu.
Find and open the file named SYSTEM on the drive you noted in step 4. If Windows is in the default configuration, this will be in windows\system32\config.
Enter a key name, e.g., “xxx”.
Click the plus icon to the left of HKEY_LOCAL_MACHINE to open this key. Select the xxx key.
Select Export from the File Menu. Change the Save as type to Registry Hive Files. Type a name for the backup, for example, systembackup, and press Save. (This step creates a backup of the unmodified SYSTEM registry hive as a precaution.)
Open the xxx key, and select Setup.
Double-click on SetupType in the right-hand pane. Enter 2 and press OK.
Double-click on CmdLine. Enter cmd.exe and press OK.
Close Registry Editor. Type “regedit” and press ENTER to open it again. (This step does not appear to be necessary in Windows 7, but in Windows Vista if you do not do this the next step might fail with an Access Denied error.)
Open HKEY_LOCAL_MACHINE, select xxx, and choose Unload Hive from the File Menu. Push Yes.
Close the command window and the Registry Editor. Remove the installation DVD and select Restart.
When your computer boots up, another command window should appear.
Type “net user foo bar”, replacing foo with the username of the account whose password you want to reset, and bar with the new password. For example, you might type “net user Administrator letmein”. Press ENTER.
If you want to use the built-in Administrator account, you will probably need to enable it: type “net user Administrator /active:yes” and press ENTER.
If you don’t know what the administrative username(s) are, type “net localgroup administrators” and press ENTER to find out.
Type “exit” and press ENTER.
When the logon screen appears, use the username and the new password to log in.