Solved

sysprep use different admin account

Posted on 2011-02-14
5
762 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Storage devices are generally used to save the data or sometime transfer the data from one computer system to another system. However, sometimes user accidentally erased their important data from the Storage devices. Users have to know how data reco…
VM backup deduplication is a method of reducing the amount of storage space needed to save VM backups. In most organizations, VMs contain many duplicate copies of data, such as VMs deployed from the same template, VMs with the same OS, or VMs that h…
This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…
The viewer will learn how to successfully download and install the SARDU utility on Windows 7, without downloading adware.

760 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

22 Experts available now in Live!

Get 1:1 Help Now