Rename administrator account
Hi, whats the best way to rename the administrator account in a task sequence for a windows 7 image?
I guess there are several ways to do this, local policy, wmic, powershell etc, just wondered what the best way would be and if it can be done to an image that is to be captured or not .
Thanks
October 15th, 2010 2:56pm
The best way is using group policy.
If you (or your organization) are afraid of group policy, then you can use a VBScript:
http://blogs.technet.com/b/heyscriptingguy/archive/2006/05/17/how-can-i-rename-a-local-user-account-on-a-windows-xp-computer.aspx.Jason | http://myitforum.com/cs2/blogs/jsandys | http://blogs.catapultsystems.com/jsandys/default.aspx | Twitter @JasonSandys
Free Windows Admin Tool Kit Click here and download it now
October 15th, 2010 4:17pm
thanks for that, whil group policy would be ideal not something I can do at the mo, will check out the script cheers.
October 15th, 2010 7:44pm