Home News Reviews Forums Shop


Renaming User Folder in "Documents and Settings" X

Anything else

Renaming User Folder in "Documents and Settings" X

Postby Intimidator on Sat Dec 11, 2004 2:54 pm

This is what I would like to do. When I bought this laptop and went through the XP setup I put in a user "JohnDoe"

I would like to change "JohnDoe" to "JaneDoe" without reinstalling XP. I think I have to rename the SID (security identifier).

I went to the control panel and changed the user name from JohnDoe to "new name". But this does not change the user ID folder under documents and settings. That folder still says "JohnDoe".

I know there has to be a way to do this. After some research I found psgetsid. There is also something called NewSid but I am not sure how to use it. Or there may be a easier way to do this.

Any guidance would be greatly appreciated!

Thanks in advance.
Intimidator
CD-RW Player
 
Posts: 196
Joined: Thu Jan 10, 2002 6:42 pm

Postby dodecahedron on Sat Dec 11, 2004 4:29 pm

why not simply create a new user account with the new name and then delete the old user account?
One Ring to rule them all, One Ring to find them,
One Ring to bring them all and in the darkness bind them
In the land of Mordor, where the Shadows lie
-- JRRT
M.C. Escher - Reptilien
User avatar
dodecahedron
DVD Polygon
 
Posts: 6865
Joined: Sat Mar 09, 2002 12:04 am
Location: Israel

Postby Intimidator on Sat Dec 11, 2004 6:36 pm

I am not sure if that will work? Is that the same thing that I want to do?

I cannot find any detailed info regarding this issue.

I found this link:

http://www.tek-tips.com/viewthread.cfm? ... 514&page=1

Does this technique work that same as you suggested?

Thanks!
Intimidator
CD-RW Player
 
Posts: 196
Joined: Thu Jan 10, 2002 6:42 pm

Renaming user folder

Postby margrave on Sat Dec 11, 2004 7:19 pm

Yes, take dodecahedron's advice. That folder is the user profile folder, if you try to rename the existing folder you'll corrupt the profile and won't be able to log on again. When you create a new user it will automatically create the profile folder...
margrave
Buffer Underrun
 
Posts: 23
Joined: Thu Sep 23, 2004 8:31 pm

Postby dodecahedron on Sun Dec 12, 2004 2:32 am

i'm not sure it will do what you want, 'cause i'm not sure what you want! :o
but from your description in your first post, it seems to me that that's what you want.

why don't you just try?
create a new user account with the new name. the corresponding folder in Documents and Settings will have the new name.
if everything is OK just copy the data over
(which may be problematic. some applications save data in subfolders of the Documents and Settings...thing might be broken. you might have to reinstall those applicatios, i dunno. maybe just running them will fix things - they'll create the new datafiles they need, but any settings/histories you may have might be lost. copying the files manually might work but then again might not.)
then delete the old user account!
(which BTW you can't do from Control Panel -> User Accounts. you have to go to Control Panel -> Administrative Tools -> Computer Management -> Local Users and Gropus)

if thigs don't work out, just remove the new account.

(BTW i've done this once: creating a new account, copying over the data files and also application files, worked OK for me).

as for the tip in that link...tried that psgetsid but didn't work ... i'm not familiar with DOS ...
anyway i would only try it after backing up all the data of the user's account.
One Ring to rule them all, One Ring to find them,
One Ring to bring them all and in the darkness bind them
In the land of Mordor, where the Shadows lie
-- JRRT
M.C. Escher - Reptilien
User avatar
dodecahedron
DVD Polygon
 
Posts: 6865
Joined: Sat Mar 09, 2002 12:04 am
Location: Israel

Postby pranav81 on Sun Dec 12, 2004 8:15 am

Follow dodecahedron's advice.Create a new account called "JaneDoe" and delete the other account.



::Pranav::
Increasingly mathematics will demand the courage to face its implications.
pranav81
CD-RW Player
 
Posts: 1160
Joined: Thu Dec 05, 2002 6:57 am
Location: Sunnyvale, CA


Return to General Software Questions

Who is online

Users browsing this forum: No registered users and 0 guests

All Content is Copyright (c) 2001-2024 CDRLabs Inc.