4

重置忘记的 Windows Server 2016 密码的两种方法

 2 years ago
source link: https://os.51cto.com/art/202112/693815.htm
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

重置忘记的 Windows Server 2016 密码的两种方法

在这篇文章中,我们将展示两种简单的方法来重置忘记的 Windows Server 2016 管理员密码。这些方法也适用于其他 Windows 版本。

作者:雪竹聊运维来源:今日头条|2021-12-06 06:19

在 Windows Server 2016 中忘记管理员密码怎么办?作为 IT 管理员,您应该遇到过使用未知密码登录服务器的问题,因此在这篇文章中,我们将展示两种简单的方法来重置忘记的 Windows Server 2016 管理员密码。这些方法也适用于其他 Windows 版本。

重置忘记的 Windows Server 2016 密码的 2 种方法

2.1 方法一:修复模式命令修改密码

1、选择SERVER 2016安装镜像来引导。

使用ser2016安装介质,进入下图界面,点击下一步:

2、选择【修复计算机】

重置忘记的 Windows Server 2016 密码的 2 种方法

3、选择【疑难解答】

重置忘记的 Windows Server 2016 密码的 2 种方法

4、选择【命令提示符】

重置忘记的 Windows Server 2016 密码的 2 种方法

5、进入命令行,分别输入命令:

  1. C:    //切换到系统C盘 
  2. dir   //列出文件  
  3. cd windows/system32   //将Utilman.exe文件改名为Utilman.exe.old 
  4. copy cmd.exe utilman.exe  //将cmd.exe改名拷贝成utilman.exe文件 
重置忘记的 Windows Server 2016 密码的 2 种方法

6、关闭命令行

选择【继续】进入系统,或重启进入系统

重置忘记的 Windows Server 2016 密码的 2 种方法

7、命令行修改密码

重置忘记的 Windows Server 2016 密码的 2 种方法

服务器现在应该重新启动并显示登录屏幕。按Windows 键 + U或单击轻松访问按钮,将弹出命令提示符并键入:

  1. net user Administrator P@ssword123 
重置忘记的 Windows Server 2016 密码的 2 种方法

密码重置完成,尝试登陆。

8、还原系统文件

使用U盘或光盘安装介质,进入命令行,如前面所述

  1. C:                           //切换到系统c盘目录, 
  2. cd windows/system32/          // 进入c盘windows/system32/路径下 
  3. ren utilman.exe utilman.exe.new   //将utilman.exe文件改名为utilman.exe.new 
  4. ren utilman.exe.old utilman.exe    //将utilman.exe.old改回为utilman.exe 
  5. del utilman.exe.new             //删除utilman.exe.new 
重置忘记的 Windows Server 2016 密码的 2 种方法

或您可以使用您在上一步中提供的密码重新登录到 Windows Server 2016。登录后,浏览至C:\Windows\System32目录,删除Utilman.exe,将Utilman.exe.original重命名回Utilman.exe。

2.2 方法 2:使用 PCUnlocker 重置 Windows Server 2016 密码

PCUnlocker是易于使用的可启动实用程序,可帮助您在 Windows Server 2016 中重置域和本地管理员密码。方法如下:

1、从 PCUnlocker Live CD(或 USB 驱动器)启动您的服务器。如果您没有,则需要从另一台工作 PC 创建它。下载 PCUnlocker ISO 文件并使用ISO2Disc软件将其刻录到 CD(或 USB 驱动器)。

重置忘记的 Windows Server 2016 密码的 2 种方法

2、启动到 PCUnlocker 程序时,您将看到两个选项:重置本地管理员/用户密码重置 Active Directory 密码后一个选项仅适用于域控制器。

重置忘记的 Windows Server 2016 密码的 2 种方法

3、选择管理员帐户,然后单击重置密码按钮。根据您的帐户类型(本地帐户或域帐户),程序会将密码设置为空或 Password123。

重置忘记的 Windows Server 2016 密码的 2 种方法

4、重置密码后,重启服务器并取出CD。然后您就可以成功登录到 Windows Server 2016 管理员帐户。

【编辑推荐】

【责任编辑:姜华 TEL:(010)68476606】
点赞 1

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK