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
Solved

sysprep use different admin account

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

Easy, flexible multimedia distribution & control

Coming soon!  Ideal for large-scale A/V applications, ATEN's VM3200 Modular Matrix Switch is an all-in-one solution that simplifies video wall integration. Easily customize display layouts to see what you want, how you want it in 4k.

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.
Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

856 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