Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

sysprep use different admin account

Posted on 2011-02-14
5
Medium Priority
?
774 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 1000 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Workplace bullying has increased with the use of email and social media. Retain evidence of this with email archiving to protect your employees.
Are you looking to recover an email message or a contact you just deleted mistakenly? Or you are searching for a contact that you erased from your MS Outlook ‘Contacts’ folder and now realized that it was important.
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…
The viewer will learn how to successfully download and install the SARDU utility on Windows 8, without downloading adware.
Suggested Courses

885 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