windows server 2012 R2密码恢复

news/2024/11/29 22:40:53/

好久逛blog了,哎~~~~~


First of all, you should never work with the “Administrator” account. Each admin should have his own account, for two reasons. First, it makes troubleshooting easier if an admin messes up. Second, if one admin forgets his password, another admin can reset it through Active Directory Users and Computers (ADUC). Whenever you reset a password, however, note that the corresponding account will no longer be able to access passwords stored in Internet Explorer or files that have been encrypted with EFS.

If you forgot the domain admin password, and no other administrator exists in this Windows domain, you can use the procedure below to reset the password. Note that the screenshots are for Windows Server 2012 R2 with Update. However, this guide also works for Windows Server 2012 and Windows Server 2008 R2.

With this password reset method, you have to boot from a second Windows installation. You then have to replace utilman.exe (the Utility Manager with ease-of-use functions such as the Narrator and Magnifier) on a domain controller with the command prompt (cmd.exe). Next, you’ll boot up the machine where you forgot the password, click the Utility Manager icon on the logon screen to launch a command prompt, and then reset the password. Here is the step-by-step guide:

  1. Boot from a Windows Server 2012 R2 DVD (or ISO file in a virtual environment) and click Next when Windows Setup loads.
    Windows Setup
  2. Press SHIFT + F10 to open a command prompt.
    Open command prompt in Windows Setup
  3. At the command prompt, enter:

    Note: On Windows Server 2008 R2, you will most likely have to replace the drive letter d: with c:. If you are unsure about the drive letter, search for the drive that contains the Windows folder. The driver letter for the instance of Windows PE that started Windows Setup is x:.
    Move utilman.exe
  4. Replace utilman.exe with cmd.exe:

    Copy cmd.exe
  5. Remove the boot media from the server and tell Windows PE to reboot:

    wpeutil reboot
  6. Once your domain controller is running again, click the Utility Manager icon.
    Utility Manager icon
  7. At the command prompt that (I hope) opened, reset the domain admin password with this command:

    Reset domain admin password
  8. You can now close the command prompt and log on with the new password. However, mainly for security reasons, I highly recommend restoring the original utilman.exe. For this, you have to again boot Windows Server setup, follow steps 1-2, and then enter:

    (Replace the drive letter if Windows isn’t installed on the d:)
    Restore utilman.exe
  9. After you removed the boot media, you can reboot the server again with

    Password reset complete

Obviously, this procedure can be used by anyone who has physical access to your servers. In my next post I will give you a few tips how you can prevent the Utilman.exe password reset trick.


原文:https://4sysops.com/archives/forgot-the-domain-admin-password/


http://www.ppmy.cn/news/412772.html

相关文章

有效id和密码_ID和密码恢复

有效id和密码 这是一个ID和密码恢复鱼的故事: Cindy HelpDesk接了电话,在另一端听到了一个怯的声音。 “你好,辛迪,这是布巴史密斯。我丢失了身份证件。” “您的ID文件出了什么事?” “它在墨西哥湾的底部&#xf…

华为MA5626-8密码恢复及设置

设备型号:华为MA5626-8 #display version VERSION : MA5626V800R308C00 PATCH : SPC500 SPH505 HP5105 PRODUCT MA5626 准备工作:超级终端(XP自带、win7下可用secureCRT、Xshell、putty)、tftp、串口连接线、…

rar password recover(rar密码恢复工具) v2.0.0.0

rar password recover是一款功能强大且操作简单的rar密码恢复工具,使用该软件可以帮助用户恢复丢失或忘记的rar密码,同时该软件还为用户提供了暴力破解、掩码破解、以及字典破解等3种密码破解恢复模式。而且该软件不仅支持多核CPU和NVIDIA-GPU加速,可以加快破解速度,并且还…

【2022.1】电脑重装系统后浏览器密码恢复:Edge需自己打开自动同步,Chrome默认直接同步

起因 在我想对C盘扩容,扩容后软件又忘了迁移于是又决定将空间还给先前的盘,结果系统就崩了。 问题如下:无法重启,随便怎么都重启不了,如果点击高级操作吧,随便一个,用账户密码登进去&#xff…

华为MA5626-8密码恢复

设备型号:华为MA5626-8 #display version VERSION : MA5626V800R308C00PATCH : SPC500 SPH505 HP5105PRODUCT MA5626 准备工作:超级终端(XP自带、win7下可用secureCRT、Xshell、putty)、tftp、串口连接线、空密码库文件&#…

Fortigate(飞塔)防火墙密码恢复

飞塔防火墙密码恢复时不会丢失原配置 01 设备启动时记下序列号 Forti login: FGT80C (15:12-11.10.2009) Ver:04000006 Serial number:FGT80C3956640309 RAM activation Total RAM: 512MB Enabling cache...Done. Scanning PCI bus...Done. Allocating PCI resources.…

cisco思科交换机的密码恢复

1.实验目的 通过本实验,读者可以掌握交换机的密码恢复这项技能。 2.实验拓扑 实验拓扑图如图12-2所示。 图12-2 实验1拓扑图 3.实验步骤 Cisco交换机的密码恢复步骤和路由器的密码恢复方法差别较大,并且不同型号的交换机恢复方法也有所差异。以下是C…

VMware esxi-6.0root密码恢复和数据恢复

VMware esxi-6.0root密码恢复和数据恢复 虚拟机实验VMware esxi-6.0root密码恢复和数据恢复。 第一步,将已忘记密码的VMware esxi-6.0关机,开机时选择“打开电源时进入固件”,选择CD/ROM启动 第二步,重新进入CD启动,…