Dim WshShell, oExec
Set wshShell = CreateObject("WScript.Shell")
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objInputFile = objFSO.OpenTextFile("D:\test\computer.txt",1)
do until objInputFile.AtEndofStream
strcomputer = objInputFile.ReadLine
Set objUser = GetObject("WinNT://" & strComputer & "/Administrator, user")
objUser.SetPassword "new password"
objUser.SetInfo
loop

 

相关文章:

  • 2021-09-22
  • 2022-02-10
  • 2022-02-23
  • 2021-05-24
  • 2022-02-26
  • 2021-11-09
  • 2022-12-23
  • 2022-01-09
猜你喜欢
  • 2021-12-31
  • 2022-02-28
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案