Jump to content
MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. ×

Renaming the Administrator Account


 Share

Recommended Posts

Sorry 'bout that...

in \sources\$oem$\$$\setup\scripts\

SETUPCOMPLETE.CMD

@echo off

CMD /C secedit /configure /db %systemroot%\security\database\unattend.sdb /cfg %systemroot%\security\templates\unattend.inf /log %systemroot%\security\logs\unattend.log /overwrite /quiet

EXIT

Of course, you can add more commands here if you'd like.

Edited by razormoon
Link to comment
Share on other sites


Thanks man, In fact I did add more commands to the setupcomplete.cmd, since I mounted the install.wim to the "temp" directory you specified, I ended up using the setupcomplete that was already there(windows\setup...) and modified it accordingly to install apps and add that line that you provided... it all went well... :thumbup

anyway, thanx for a great guide, I was strugling for two weeks to find a way to rename the "God Mode" :sneaky: administrator account, I thought I could do it without mounting the install.wim but I soon found out through unsuccesfull trial and error that it was seemingly impossible... but I guess it was a blessing that I had to download WAIK and do it through the install.wim because that enabled me to do my own customizations(drop new sidebar gadgets, change the default background, etc)...

CHEERS :hello:

Edited by oidicle
Link to comment
Share on other sites

  • 4 years later...

Hi Razormoon,

I tried this with Windows 2008 R2 and it is not working. Have you tried this on 2008 R2?

After the new os is built the template inf file is in the templates directory but the database is not. I checked with mmc/gpmc and none of the settings are there.

Any help would be much appreciated.

Thanks,

Jonn

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    No registered users viewing this page.


×
×
  • Create New...