重置windows 2003域控制器管理员口令

see:http://www.petri.co.il/reset_domain_admin_password_in_windows_server_2003_ad.htm

概述:重启到目录服务还原模式,使用一个脚本即可.

Note: In order to successfully use this trick you must first use one of the password resetting tools available on the Forgot the Administrator's Password? page.

Petri's Recommended Password Reset Utility

If you're not 'techie' or are short on time, our team always recommends the SpotMau PowerSuite 2010. This tool automatically makes you the ultimate startup CD for resetting any Windows password. 

It's also loaded with a ton of other recovery tools IT techs use daily. 

-Petri IT Knowledgebase Team

Get the download here.

The reason for that is that you need to have the local administrator's password in order to perform the following tip, and if you don't have it, then the only method of resetting it is by using the above tool.

Update: After some reader feedback I'm pleased to say that this procedure ALSO WORKS for Windows Server 2008 Domain Controllers. Feel free to send in your feedback. I kept the original page syntax in relation to Windows Server 2003, but you can now perform the same actions on Windows Server 2008.

Lamer note: This procedure is NOT designed for Windows XP since Windows XP is NOT a domain controller. Also, for a Windows 2000 version of this article you should read the Forgot the Administrator's Password? - Change Domain Admin Password in Windows 2000 AD page.

Reader Sebastien Francois added his own personal note regarding the changing of Domain Admin passwords on Windows Server 2003 Active Directory domains (HERE). I will quote parts of it (thanks Seb!):

Requirements

  1. Local access to the Domain Controller (DC).
  2. The Local Administrator password.
  3. Two tools provided by Microsoft in their Resource Kit: SRVANY and INSTSRV. Download them from HERE (24kb).

Step 1

Restart Windows 2003 in Directory Service Restore Mode.

Note: At startup, press F8 and choose Directory Service Restore Mode. It disables Active Directory. When the login screen appears, log on as Local Administrator. You now have full access to the computer resources, but you cannot make any changes to Active Directory.

Login
Step 2

You are now going to install SRVANY. This utility can virtually run any programs as a service. The interesting point is that the program will have SYSTEM privileges (LSA) (as it inherits the SRVANY security descriptor), i.e. it will have full access on the system. That is more than enough to reset a Domain Admin password. You will configure SRVANY to start the command prompt (which will run the 'net user' command).

Copy SRVANY and INSTSRV to a temporary folder, mine is called D:\temp. Copy cmd.exe to this folder too (cmd.exe is the command prompt, usually located at %WINDIR%\System32).

Start a command prompt, point to d:\temp (or whatever you call it), and type:

instsrv PassRecovery "d:\temp\srvany.exe"

(change the path to suit your own).

It is now time to configure SRVANY.

Start Regedit, and navigate to

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\PassRecovery

Create a new subkey called Parameters and add two new values:

name: Application type: REG_SZ (string) value: d:\temp\cmd.exe  name: AppParameters type: REG_SZ (string) value: /k net user administrator 123456 /domain

Replace 123456 with the password you want. Keep in my mind that the default domain policy require complex passwords (including digits, respecting a minimal length etc) so unless you've changed the default domain policy use a complex password such as P@ssw0rd

Now open the Services applet (Control Panel\Administrative Tools\Services) and open the PassRecovery property tab. Check the starting mode is set to Automatic.

Go to the Log On tab and enable the option Allow service to interact with the desktop.

Restart Windows normally, SRVANY will run the NET USER command and reset the domain admin password.

Step 3

Log on with the Administrator's account and the password you've set in step #2.

Use this command prompt to uninstall SRVANY (do not forget to do it!) by typing:

net stop PassRecovery  sc delete PassRecovery

Now delete d:\temp and change the admin password if you fancy.

Done!

Supplement

Robert Strom has written a cool script that will completely automate this process. He wrote:

"My script is really just an automation of his process which performs all the post cleanup of itself. Launch one script and it's all done. No manual registry entries, the service is created, the service settings are all imported into the registry, etc."

Download it from HERE (186kb).

Note that you still need physical access to the DC and the ability to log on locally as the local administrator. If you do not have the local administrator's password use the following tip:Forgot the Administrator's Password?.

Thanks Robert!

Acknowledgments

This tip was compiled and written with the help of Antid0t, Robert Strom and Sebastien Francois. Thank you all!

Links

How to reset the Domain Admin Password under Windows 2003 Server

Original post by Antid0t and Robert Strom on the Petri.co.il forums

You can also discuss these topics on the dedicated Petri.co.il Forgot Admin Password Forum.

This article contains features Excel password cracker instructions. 

如何破解域控服务器管理员密码 文档介绍,如果忘记域控密码,如何进行破解,怎么样操作 立即下载

相关推荐

大型国有银行应用系统全链路性能劣化智能根因定位与自愈Agent平台详细设计方案.docx

大型国有银行应用系统全链路性能劣化智能根因定位与自愈Agent平台详细设计方案.docx

域控重设域管理员密码

域控重设域管理员密码 第一部分 情景:因各种情况失去域管理员密码时,用以下方法重设域管理员密码。 前提: 1、能够登录Directory Service Restore Mode (目录服务恢复模式) 2、reg.exe存在于当前的DC中(默认情况下该文件在系统安装后就存在) 环境: 1、Windows Server 2003 + Service Pa

智者睿也 8928

【深度学习开发环境配置】基于PyTorch的计算机视觉项目依赖管理:requirements.txt文件解析与版本控制方案

内容概要:该文件为一个Python项目的依赖包配置文件(requirements.txt),列出了项目运行所需的软件包及其最低版本要求。主要包括深度学习框架PyTorch及其视觉扩展 torchvision、科学计算库 numpy 和 scipy、数据处理工具 pandas、机器学习库 scikit-learn、图像处理库 opencv-python 和 Pillow,以及数据可视化工具 matplotlib 和 seaborn 等。该配置确保项目在不同环境中具备一致的运行条件。; 适合人群:从事深度学习、计算机视觉或数据科学相关工作的开发者与研究人员,熟悉Python环境管理的技术人员; 使用场景及目标:①用于搭建项目开发环境,确保依赖一致性;②支持模型训练、图像处理、数据分析等任务的环境准备;③便于项目共享与部署,降低环境配置成本; 阅读建议:在实际使用时,建议通过 pip install -r requirements.txt 安装依赖,并根据具体硬件环境适当调整版本兼容性,尤其注意 PyTorch 与 CUDA 版本的匹配。

重置win 2003 AD目录还原密码的步骤

正常登陆DC服务器,开始—运行,输入CMD

kikohust的博客 621

从零打造M328晶体管测试仪:硬件DIY与烧录避坑指南

本文是一份详尽的M328晶体管测试仪DIY指南,涵盖从硬件选型、PCB设计、焊接组装到固件烧录的全过程。重点解析了使用AVR单片机与Arduino IDE环境时,如何正确设置熔丝位以避免“白屏”等常见问题,并提供了使用ISP编程器进行烧录的实操步骤与校准方法,帮助电子爱好者成功打造属于自己的高性价比元件测试工具。

weixin_29243063的博客 482

SCAN和JTAG分别是什么?它们之间有什么联系与区别?

SCAN(扫描)技术是集成电路测试领域的一种方法,主要用于边界扫描测试(Boundary Scan)。它是在集成电路设计中引入的一种测试结构,允许测试人员通过在芯片的输入/输出引脚上设置和读取特殊寄存器(边界扫描寄存器,BSR)的内容,来间接测试电路板上的互联和芯片内部功能块。这种方式可以在不接触其他内部节点的情况下测试整个电路板的连接性,极大地提高了测试覆盖率和可诊断性。JTAG(Joint Test Action Group,联合测试行动小组)则是开发并推广边界扫描测试标准的一个组织。

初心不忘产学研的博客 2552

win2003域控管理員密碼破解

近日,公司由於停電關閉全部server,晚上重啟后發現域控的管理員帳號密碼無法登陸,感覺很奇怪,但後來發現只有域控制器管理員帳號有問題,其他帳號均沒有問題,所以偶認為是域控制器管理員帳號被鎖導致,於是乎接下來的問題就是想辦法破解(你千萬別說以本機,因為本機也登陸不了)。 現提供三種破解方法供後來者使用: 1、使用erd5.0壓縮軟件來進行破解,這個網上現在都有提供下載,然...

weixin_33896069的博客 267

保姆级教程:用PyBullet在Windows/Mac上快速搭建你的第一个机器人仿真环境(附避坑指南)

本教程详细介绍了如何使用PyBullet在Windows和Mac上快速搭建机器人仿真环境,包括Python环境配置、依赖安装避坑指南、首个机械臂仿真实现及性能优化技巧。通过分步指导和实战代码,帮助初学者轻松入门机器人仿真技术。

weixin_42526087的博客 422

windows2003服务器更改管理员administrator用户名和密码的方法

服务器安全设置必做的是将administrator改名,让那些黑客去猜用户名吧。 一、更名windows2003默认的管理员账号administrator,具体如下步骤: 单击“开始→运行” 在弹出的运行对话框中输入“gpedit.msc”打开组策略编辑器 依次展开“Windows设置→安全设置→本地策略→安全选项”,并将右边列表框下拉到最底下,双击“重命名系统管理员账户”即可更名

ken2002的专栏 1万+

RK3566添加ffpeg【Buildroot系统】

有很多人都发现了RK3566系列的芯片是不可以直接使用ffmpeg官网源码的!会报错: Not a video capture device. /dev/video0: No such device 接下来我们就来解决这个问题!!

honmy18的博客 4081

【GPT】Coze使用开放平台接口-【7】Dify 比较篇

coze 用于社交,dify 用来内部构建。抛开工作流,机器人,工具,coze 最大的区别在于可以直接发布到社交媒体上。所以,coze 对操作体验上也花了不少功夫,而 dify 就专注在帮助使用者打磨工作流。coze 各个大模块之前可以联动的机制也比较多,所以侧重点各不相同。

非晓为骁的博客 7616

用凤凰万能启动盘解决本地/域管理员密码丢失

本地管理员密码丢失,可通过删除SAM文件(win2000SP3以前)或通过NTPASSWORD软件来解决。但要解决域管理员密码丢失,它们就无能为力了。这时就需要用到“凤凰万能启动盘”了,本文将详细讨论使用此盘解决管理员密码丢失问题。1、上网搜索“凤凰启动盘”或“凤凰万能启动盘”,大约178M;2、下载后解压缩,将其内容刻录成光盘...

weixin_34004576的博客 130

华为网络实战:5分钟搞定OSPF+VRRP+MSTP多协议联动配置(附完整命令集)

本文深入解析了在企业网络中如何高效协同部署OSPF、VRRP和MSTP三大协议。通过一个典型的双核心网络案例,详细阐述了从规划、配置到验证的完整流程,重点强调了确保MSTP根桥与VRRP主设备一致的设计原则,以实现最优的二层与三层流量转发路径,并提供了完整的命令集和故障排查思路。

weixin_29251337的博客 155

Windows跨域攻击实战:从信任关系到KRBTGT哈希的攻防博弈

在Windows域环境中,信任关系是实现多域资源共享与身份认证的核心机制,它定义了不同域之间如何相互验证和授权。其原理基于Kerberos协议,通过建立单向或双向、可传递或不可传递的信任链接,构建起企业内网的访问通道。这一机制的技术价值在于简化了大规模网络的管理复杂度,但同时也引入了横向移动的攻击面。在红队评估与内网渗透场景中,攻击者常利用域信任密钥、KRBTGT哈希复用及SID History属性滥用等技术,实现从已控域向目标域的权限跨越。理解这些手法的原理与防御对策,对于构建纵深安全体系至关重要。

weixin_30263277的博客 326

Microsemi Libero系列教程(一)——Libero开发环境介绍、下载、安装与注册

前言 相比与Xilinx和Altera在国内的市场,Microsemi的FPGA在国内应用很少很少,网上几乎没有详细的教程,刚开始使用时,遇到了各种问题,自己也走了不少弯路。本系列教程以Libero V11.8.2.4,SmartFusion系列A2F200M3F FPGA芯片为例,将详细介绍Libero SoC软件的基本使用,及使用过程中遇到一些问题的解决方法。 Libero 简介 关于Lib...

whik1194的博客 3万+

QCM2290 PM-3 如何让mirco-usb支持关机充电

PM4125-3插入type-C触发开机进入关机充电的CC脚中断条件是否可以软件上屏蔽, 做到只通过VBUS中断即可触发进入关机充电模式,达到和PM4125-2的效果一样只要插入micro USB 就可以触发进入关机充电模式。硬件团队提议修改寄存器 SCHG_L_MISC_SYSOK_CFG 0x164A bit[4] 目前修改如下 — a/BOOT.XF.4.1/boot_images/QcomPkg/Library/PmicLib/target/Agatti_pmCocos/psi/pm_confi

墨染天玑的博客 445

windows 迁移

http://yuelei.blog.51cto.com/202879/77270 详解Exchange2003灾难重建:Exchange2003系列之十一 2008-05-16 09:22:41 标签:备份灾难恢复exchange还原Exchange2003系列 原创作品,允许转载,转载时请务必以超链接形式标明文章原始出处、作者...

weixin_34357928的博客 90

lwip-2.0.3

lwip是瑞典计算机科学院(SICS)的Adam Dunkels 开发的一个小型开源的TCP/IP协议栈。实现的重点是在保持TCP协议主要功能的基础上减少对RAM 的占用。

红日靶场VulnStack 1 环境搭建:3台靶机+1台Kali的VMware网络拓扑与避坑指南

本文详细介绍了红日靶场VulnStack 1环境搭建的全过程,包括3台靶机与1台Kali攻击机的VMware网络拓扑设计、配置步骤及常见问题解决方案。重点讲解了双网卡配置、网络互通性测试以及phpStudy服务启动异常的修复方法,帮助安全爱好者快速构建稳定的内网渗透实验环境。

www.itmmd.com 376

ET2012新版免狗免安装绿色软件

ET2012新版免狗免安祖昂绿色软件。,新界面,新视觉,

win10 跳过U8环境检测的IE WebControls.rar

win10 安装u8的时候 提示IE WebControls 不通过,这个工具可以欺骗u8的检查。 跳过U8环境检测的IE WebControls。提示导入失败后,重新检测通过。

网络安全自学笔记

网络安全的笔记

Apricitly的博客 566

Outlook Express 6 (OE6) for Win7/Win8/Win10

英文版 Outlook Express6.0, 兼容Win7/Win10/WinXP,解压就可用。

Post-Exploitation in Windows: From Local Admin To Domain Admin (efficiently)

There are some excellent tools and techniques available to pentesters trying to convert their local admin rights into domain admin rights. This page seeks to provide a reminder of some of the most com...

blogfeifei 172
上一篇: Android 编码规范:(六)消除过期的对象引用
下一篇: Linux下部署Vmware Server(下)
weixin_34262482
博客等级 码龄11年 5465粉丝 1205原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值