ivor_lv Posted October 21, 2007 Posted October 21, 2007 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 ?
fizban2 Posted October 24, 2007 Posted October 24, 2007 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
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now