[Last Call] Learn how to a build a cloud-first strategyRegister Now


Renaming the local administrator account and profile Server 2008

Posted on 2012-08-17
Medium Priority
Last Modified: 2012-08-29
We want to rename all our local administrator accounts on Server 2008 from Administrator to XXX-admin where XXX is a unique number.  We also need to rename the C:\Users\Administrator folder to C:\Users\XXX-admin.  Renaming the local Admin account was easy and so was renaming the C:\Users\Administrator to C:\Users\XXX-admin folder.  However, when logging in now as XXX-admin, I am being set up with a TEMP profile.  I went to the XXX-admin library and tried changing the Location of each folder to C:\Users\XXX-admin\Documents (and all other libraries), logging off and logging back on, but the same issue comes up.

Then I tried logging in as a different administrator level account, going to Comp Mgmt, and editing the XXX-admin account's profile by specifying C:\users\XXX-admin as the local path to the profile.  Same issue.

Any ideas?
Question by:sedberg1
  • 3

Expert Comment

ID: 38306396
Why would you do all that when you could just create a new user account with the exact same permissions and then disable the administrator account?

You are getting setup with a temp profile because you can't just rename the account and folders and expect it to work.  You would have to remove the entire profile, and recreate it.

Author Comment

ID: 38306401
I have my reasons for doing this.

Expert Comment

ID: 38306859
The easiest way would be to login with another account (that has local admin access), then rename the C:\Users\XXX-admin folder. Then log back in with the admin account, and it should automatically recreate the folder with the new name. Then just move any data from the backed up folder to the new one.

Accepted Solution

sedberg1 earned 0 total points
ID: 38329678

That didn't work.  It's going to take some work, but I'm backing up the contents of Documents since that's all we care about, deleting the profile and then logging back in with the newly renamed admin account.  Then restored the Documents folder.

Author Closing Comment

ID: 38344684
This is the only thing that worked.

Featured Post

Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

Question has a verified solution.

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

I was prompted to write this article after the recent World-Wide Ransomware outbreak. For years now, System Administrators around the world have used the excuse of "Waiting a Bit" before applying Security Patch Updates. This type of reasoning to me …
After seeing many questions for JRNL_WRAP_ERROR for replication failure, I thought it would be useful to write this article.
This tutorial will give a short introduction and overview of Backup Exec 2012 and how to navigate and perform basic functions. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as conne…
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…
Suggested Courses

834 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