更改 Windows 本地管理员密码

[ 2005/07/09 09:22 | by gOxiA ]
| |

描述

绑定到计算机 MyComputer 上的本地管理员帐户,并且将该帐户的密码更改为 testpassword

有关使用本地用户帐户的详细信息,请单击 此处


支持平台

Windows XP

Windows Server 2003

Windows 2000

Windows NT 4.0

是,需要安装Active Directory Client Extensions

Windows 98

是,需要安装Active Directory Client Extensions


脚本代码
strComputer = "MyComputer"
Set objUser = GetObject("WinNT://" & strComputer & "/Administrator, user")
objUser.SetPassword "testpassword"
objUser.SetInfo

PowerShell & Scripts | 评论(0) | 引用(0) | 阅读(4879)
发表评论
昵称 [注册]
密码 游客无需密码
网址
电邮
打开HTML 打开UBB 打开表情 隐藏 记住我