Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

sysprep use different admin account

Posted on 2011-02-14
5
Medium Priority
?
772 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

[Webinar] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.

Question has a verified solution.

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

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.
Employees depend heavily on their PCs, and new threats like ransomware make it even more critical to protect their important data.
This tutorial will show how to configure a new Backup Exec 2012 server and move an existing database to that server with the use of the BEUtility. Install Backup Exec 2012 on the new server and apply all of the latest hotfixes and service packs. The…
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…

722 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