Solved

sysprep use different admin account

Posted on 2011-02-14
5
764 Views
Last Modified: 2012-05-11
Sysprep uses the root admin account, "Administrator".  Is there an entry I can place inside of the sysprep.inf file that allows me to use a renamed administrator account?  Or how could I do this.  "Administrator" doesn't exist anymore on my PC so when I reboot with sysprep it can't autologin.
0
Comment
Question by:duckhead
  • 3
  • 2
5 Comments
 
LVL 3

Expert Comment

by:Richard2k4
ID: 34893567
Doesn't exactly answer your question, but if you are on a domain.  Leave the administrator account named as administrator in your image and configure the GPO setting of rename the administrator account in your default domain policy (or whatever gpo you choose).

This way Sysprep will work at intended and once you join the domain, your admin account gets renamed.
0
 

Author Comment

by:duckhead
ID: 34894133
Nope sorry Richard :(  Not on a domain....

Just need to figure out a way to change sysprep trying to log into "Administrator" on startup when it should be logging into a different admin account name...
0
 
LVL 3

Assisted Solution

by:Richard2k4
Richard2k4 earned 250 total points
ID: 34897574
http://derek858.blogspot.com/2010/08/sysprep-resetting-your-renamed.html

Basically the whatever you renamed your admin account to gets changed back to the default of Administrator.

If you want sysprep to rename  the admin account the link above has some good instructions for doing it as a final step after sysprep.
0
 

Accepted Solution

by:
duckhead earned 0 total points
ID: 34906386
Yah I actually went with a vbs yesterday.  I was just curious if anyone had a different solution where I could have sysprep target a different admin other than "Administrator".

I'll leave it open for a bit but if no one responds I'll give you some points...  Just so you don't think I'm lying here's part of the vbs I used...

Set colAccounts = objWMIService.ExecQuery _
    ("Select * From Win32_UserAccount Where LocalAccount = True And Name = 'Administrator'")

For Each objAccount in colAccounts
    objAccount.Rename "Changed Administrator account name"

0
 

Author Closing Comment

by:duckhead
ID: 34949714
I answered the question by myself...
0

Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

A quick step-by-step overview of installing and configuring Carbonite Server Backup.
The article will include the best Data Recovery Tools along with their Features, Capabilities, and their Download Links. Hope you’ll enjoy it and will choose the one as required by you.
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…
The viewer will learn how to successfully download and install the SARDU utility on Windows 8, without downloading adware.

932 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now