Can I rename a User directory?

  • Thread starter Percival P. Cassidy
  • Start date

P

Percival P. Cassidy

In Win7Pro I created a new user, Perce2, with Admin privileges, renamed
the existing one from Perce to Perce_old (because it was "acting up",
then renamed the new one from Perce2 to Perce

The new profile works fine, but its "home" directory name does not match
*its* name: the Perce directory belongs to Perce_old, and the new Perce
account's directory is Perce2.

Can this be fixed for the sake of consistency?

Perce
 
Ad

Advertisements

V

VanguardLH

Percival said:
In Win7Pro I created a new user, Perce2, with Admin privileges, renamed
the existing one from Perce to Perce_old (because it was "acting up",
then renamed the new one from Perce2 to Perce

The new profile works fine, but its "home" directory name does not match
*its* name: the Perce directory belongs to Perce_old, and the new Perce
account's directory is Perce2.

Can this be fixed for the sake of consistency?
Sounds like you're trying to slide in a new *folder* in place of one for
an existing profile rather than copy the actual profile (part of which
is defined in the registry, not the files).

In Windows XP, right-click on My Computer and select Properties from the
context menu (or open the System applet in Control Panel), go to the
Advanced tab, and click on the User Profiles button. Here is where you
copy and delete user profiles (the registry entries but the
folders/files will remain). To copy a source profile to a target
profile means you cannot be logged onto either one. You need to be on a
different admin-level profile (e.g., Administrator). You create the new
Windows account and then log into it. Why? Because the %userprofile%
folder doesn't exist until the first login to a Windows account. Then
log out of the new account (so it isn't in use). Log on under an admin-
level account (not the source or target profiles) and go to the User
Profiles dialog mentioned above where you copy one user profile into
another.

This is how it works on Windows XP Pro. Maybe it's the same procedure
for Windows 7 (but you didn't say if you have the Home or Pro editions).
This method makes sure the pointers and SIDs in the registry match up.
 
Ad

Advertisements

J

J. P. Gilliver (John)

In Win7Pro I created a new user, Perce2, with Admin privileges, renamed
the existing one from Perce to Perce_old (because it was "acting up",
then renamed the new one from Perce2 to Perce

The new profile works fine, but its "home" directory name does not match
*its* name: the Perce directory belongs to Perce_old, and the new Perce
account's directory is Perce2.

Can this be fixed for the sake of consistency?
Sounds like you're trying to slide in a new *folder* in place of one for
an existing profile rather than copy the actual profile (part of which
is defined in the registry, not the files).

In Windows XP, right-click on My Computer and select Properties from the
context menu (or open the System applet in Control Panel), go to the
Advanced tab, and click on the User Profiles button. Here is where you
copy and delete user profiles (the registry entries but the
folders/files will remain). To copy a source profile to a target
profile means you cannot be logged onto either one. You need to be on a
different admin-level profile (e.g., Administrator). You create the new
Windows account and then log into it. Why? Because the %userprofile%
folder doesn't exist until the first login to a Windows account. Then
log out of the new account (so it isn't in use). Log on under an admin-
level account (not the source or target profiles) and go to the User
Profiles dialog mentioned above where you copy one user profile into
another.

This is how it works on Windows XP Pro. Maybe it's the same procedure
for Windows 7 (but you didn't say if you have the Home or Pro editions).
This method makes sure the pointers and SIDs in the registry match up.[/QUOTE]

If you've changed everything else to your satisfaction, and it's only
the folder name you want to change, you might have to create a Perce
folder, then tell the Perce personality to use that as its "home"
folder, then delete the Perce2 one (having moved stuff over perhaps,
possibly beforehand possibly after, and possibly having to do it while
logged in as someone else such as administrator, possibly not).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top