User Profile Folder - Techist - Tech Forum

Go Back   Techist - Tech Forum > Computer Software > Microsoft Windows and Software
Click Here to Login
Closed Thread
 
Thread Tools Display Modes
 
Old 02-26-2006, 12:40 AM   #1 (permalink)
Newb Techie
 
Join Date: Feb 2006
Posts: 9
Default User Profile Folder

hi, im currently setting up user profiles on my computer. unfortunately a software that we use to manage our p2p files requires user profile folders on C:\Documents and Settings\ to be a single word... Im the only user profile at the moment and I want to change my User Profile folder name from PC ADMIN to ADMIN...

C:\Documents and Settings\PC ADMIN\
to
C:\Documents and Settings\ADMIN\

My question is simple. Can I rename the folder directly or will it cause damage on my windows installation? Is there a way that I can rename this safely? thanks!
__________________

rhkenji is offline  
Old 02-26-2006, 12:47 AM   #2 (permalink)
Techie Beyond Description
 
Osiris's Avatar
 
Join Date: Jan 2005
Location: Kentucky
Posts: 36,817
Send a message via ICQ to Osiris Send a message via AIM to Osiris Send a message via MSN to Osiris Send a message via Yahoo to Osiris
Default

Logon to an admin account that is not the account being renamed.
Open the Documents and Settings folder, by typing this in Start, Run dialog:
%SystemDrive%\Documents and Settings

The list of folders will be displayed. Select the corresponding folder of the user account that you want to rename.

Example
%SystemDrive%\Documents and Settings\OldUsername

becomes

%SystemDrive%\Documents and Settings\NewUsername

Next step is to notify the registry that the folder has been renamed (or the Profile Path has been changed)

Changing the ProfileImagePath value in the registry
ProfileList key, SIDs and the ProfileImagePath value
The ProfileList registry key contains some sub-keys, which are nothing but the list of User Account Security Identifiers (SID). Each of the SID represents an Account. The key is located here:

HKEY_LOCAL_MACHINE \ SOFTWARE\ Microsoft\ Windows NT \ CurrentVersion \ ProfileList

Identify the SID for your User account, and change the Profile path
To know the SID for your user account, you may use the script sidlist.vbs
Download the script and run it. (The User Account names and SIDs will be listed in a log file, and opened automatically.)
Note down the SID for your account.
Then, in the Registry Editor, select the correct SID that belongs to your user account.
In the right-pane, double-click the ProfileImagePath value and set the correct path and folder name. ( The ProfileImagePath stores the full path of the User account home folder. )
Example
%SystemDrive%\Documents and Settings\OldUsername

becomes the following:

%SystemDrive%\Documents and Settings\NewUsername

You're done now. Close Registry Editor, and restart Windows. See if you're able to logon to that user profile successfully. Additionally, to verify if the path has been changed successfully, type SET in the Command Prompt. If you find any abnormal behavior while running an application (in case), you may Undo the above procedure.

or

To create a duplicate of an user profile with a different user name, try this:

Create a new user account

Logon to that account to initialize the newly created profile

Log off from the newly created profile

Login as built-in Administrator

Open Control Panel System applet

Click the Advanced tab

Click Settings under User Profiles

Select a profile to copy from and choose Copy To

Browse to the profile to copy to (C:\Documents and Settings\username)

A new profile is now created which is the duplicate of your user profile.
__________________

__________________
Osiris is offline  
Old 02-26-2006, 12:50 AM   #3 (permalink)
Newb Techie
 
Join Date: Feb 2006
Posts: 9
Default

thanks!
rhkenji is offline  
Old 02-26-2006, 12:53 AM   #4 (permalink)
Techie Beyond Description
 
Osiris's Avatar
 
Join Date: Jan 2005
Location: Kentucky
Posts: 36,817
Send a message via ICQ to Osiris Send a message via AIM to Osiris Send a message via MSN to Osiris Send a message via Yahoo to Osiris
Default

whatI would do is cut it and save it somewhere else first before deleting it and make sure you log into the new one before you do anything.
__________________
Osiris is offline  
Old 02-26-2006, 12:59 AM   #5 (permalink)
Newb Techie
 
Join Date: Feb 2006
Posts: 9
Default

ok, thanks for the quick reply.
rhkenji is offline  
Old 02-26-2006, 01:00 AM   #6 (permalink)
Techie Beyond Description
 
Osiris's Avatar
 
Join Date: Jan 2005
Location: Kentucky
Posts: 36,817
Send a message via ICQ to Osiris Send a message via AIM to Osiris Send a message via MSN to Osiris Send a message via Yahoo to Osiris
Default

Welcome, let us know if it works out
__________________

__________________
Osiris is offline  
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off




Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -5. The time now is 08:30 PM.


Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.