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
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now