Renaming the local administrator account and profile Server 2008

Posted on 2012-08-17
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
    LVL 9

    Expert Comment

    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

    I have my reasons for doing this.
    LVL 1

    Expert Comment

    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


    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

    This is the only thing that worked.

    Featured Post

    How to improve team productivity

    Quip adds documents, spreadsheets, and tasklists to your Slack experience
    - Elevate ideas to Quip docs
    - Share Quip docs in Slack
    - Get notified of changes to your docs
    - Available on iOS/Android/Desktop/Web
    - Online/Offline

    Join & Write a Comment

    Introduction As businesses grow they expand within their original location and often spill over into nearby buildings when space becomes constrained or open up a branch office in another, distant area. If these new offices are outside of the …
    Here's a useful script that will automatically delete ALL user profiles that are on a Windows Server 2008/R2 computer.   WARNING! This is a dangerous operation, designed for use by an administrator who needs to do a complete purge; for instance a…
    This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
    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…

    729 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

    20 Experts available now in Live!

    Get 1:1 Help Now