October 21, 200718 yr Anyone know how to rename the user account "administrator" via VBS.I search on website and only found how to set the password:strComputer = "."Set objUser = GetObject("WinNT://" & strComputer & "/administrator, user")objUser.SetPassword "Pass123456"objUser.SetInfoBut I want to rename the "administrator".How to do it?Anyone can help me ?
October 24, 200718 yr Anyone know how to rename the user account "administrator" via VBS.I search on website and only found how to set the password:strComputer = "."Set objUser = GetObject("WinNT://" & strComputer & "/administrator, user")objUser.SetPassword "Pass123456"objUser.SetInfoBut I want to rename the "administrator".How to do it?Anyone can help me ?objUser.SetName "newname" not sure if that function is available or not
Create an account or sign in to comment