We have just recently joined to our parent companies domain, and as such our old local admin account "administrator" name is not being used as an login anymore.
Most of our machines have administrator as the local admin account.
Since we want to get away from that name, we would like to add a local (machine) admin account via a script. Plus Windows 7 doesn't allow for that name to be used, another reason to get away from it.
I found lots of ways to add an account that is part of the admin group on the domain to the local list. The issue is we want to use a username that is allready in the administrator group on our domain. The problem is we cant change that name or password. The password is 24 characters long and meant to run all the services that were running under the old "administrator" account. Since its so long, its not the best one to use for local admin access in safe mode. Plus it wasn't added to the machines when they were setup.
Does anyone have a script that will add the user "user" with a password of "password" to the local computers account. So that it will show up in the users list as
USER "name" DOMAIN "pcname" GROUP "administrator"
server 2003,windows 7 windows xp
April 26, 2011 7:06 PM
May 2, 2011 10:47 PM