Microsoft Windows Vista Community Forums - Vistaheads
Driver Scanner 2009 - Free Scan Now



Welcome to the Microsoft Windows Vista Community Forums - Vistaheads, YOUR Largest Resource for Windows Vista related information.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so , join our community today!

If you have any problems with the registration process or your account login, please contact us.

Registry Mechanic - Free Scan Now

Why does computer name change create new Users\<name> folders?

microsoft.public.windows.vista.administration accounts passwords



Click On Your Flag for Translation
Simplified Chinese French Spanish Italian Portugeuse Japanese German Dutch
Reply
  #1 (permalink)  
Old 02-28-2007
=?Utf-8?B?RGFuaWVsTGlwa2ll?=
 

Posts: n/a
Why does computer name change create new Users\<name> folders?
(I mistakenly posted this initially in the Installation/Setup discussion.)

When I first received my new pc w/ Vista Home Premium I created a std account
Daniel. I noticed that from the Admin account I could navigate to the Users
folder and see a folder "Daniel".

Later I changed the name of my pc to "E1505_D" and I then see another folder
Users\Daniel.E1505_D. So I now have Users\Daniel and Users\Daniel.E1505_D.

Could someone provide a pointer to documentation on this feature of Vista?

Danie
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 02-28-2007
cquirke (MVP Windows shell/user)
 

Posts: n/a
Re: Why does computer name change create new Users\<name> folders?
On Thu, 15 Feb 2007 07:15:56 -0800, DanielLipkie

>When I first received my new pc w/ Vista Home Premium I created a std account
>Daniel. I noticed that from the Admin account I could navigate to the Users
>folder and see a folder "Daniel".
>
>Later I changed the name of my pc to "E1505_D" and I then see another folder
>Users\Daniel.E1505_D. So I now have Users\Daniel and Users\Daniel.E1505_D.
>
>Could someone provide a pointer to documentation on this feature of Vista?


I've seen similar ugliness in XP, and it is prolly deeply rooted in
the way user accounts work in NT.

Each user account has a unique identifier that is the "real" name of
the account. When the account is created, the name you give the
account is used as the base name for the account's subtree (which in
XP is within C:\Document & Settings, in Vista it's in C:\Users).

If you rename the account, things get murky; at some levels, the
original name persists and the new name is "grafted on". For example,
the account subtree retains the same name when seen as a raw file
system, though the namespace account name may change to the new one.

By the same token, trying to re-create the same account name spawns a
new "real" identier, so the old and new identities are not fused, and
a new user subtree with mangled name is created next the old one. The
mangling of the name is needed to avoid a same-name collision with the
existing account subtree, which remains bound to the original "real"
account identifier, while the new subtree belongs to the new one.

This can create all sorts of problems, as sometimes the old name is
still referenced. It's an ugly consequence of separating the names
you use from the real identifiers, which is in turn required if the
same account is to work under a new (changed) name.


Two contexts tend to precipitate problems like this.


In XP, one can do a "repair install" of Windows, which is sometimes
needed as a way of fixing certain problems, such as an invalidated HAL
after a motherboard change. Unfortunately, it's often resorted to as
a general fix for situations that don't benefit from it.

When you do a "repair install" in XP, you are prompted to create a new
user account. If you attempt to re-use your existing account by
entering the same name, then a new account is created with the same
name, though behind the scenes it will have a different "real"
identifier. To avoid a name collision, the user subtree will have a
mangled form of the name, and when you boot up, the Welcome screen
will show both identically0named accounts.

If you log into the wrong one, you don't see your data. If you delete
the wrong one, and Yes to delete the data associated with it, then you
lose all your data. If NTFS, your chances of data recovery are small.


In Vista, a similar situation arises when one uses the Sysprep tool
during a master system build, just before harvesting the installation
via ImageX (the same may happen in XP but I haven't tried Sysprep etc.
there). Both the Sysprep'd master PC, and any new PC built from the
installation image, will then start off with the existing user
account(s) still present, but will prompt to create new accounts when
first run. Unlike in XP, you cannot "Next" past this step :-(

Also unlike XP, you can't enter the name of an existing account, so
you don't have the same problem with two accounts that appear
identical, one with your data and one without.

But the name of the new account that Vista forces you to create, will
also become the registered user name; something to rermember to clean
up via Regedit if you use something like "Useless Crap" as the account
name with the intention of deleting the account later ;-)



>--------------- ---- --- -- - - - -

Saws are too hard to use.
Be easier to use!
>--------------- ---- --- -- - - - -

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-28-2007
DLipkie
 

Posts: n/a
Re: Why does computer name change create new Users\<name> folders?
My situation popped up when I renamed my computer from the default that came
with it when I purchased a new DELL Vista laptop to BAR after having created
a std user account, Bob.

There are now two users
Bob
Bob.BAR

The files "appear" to be in Bob.BAR and this is where I'm taken when I log
into the account Bob.

Daniel


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


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

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
can't create password on my admin account malaac microsoft.public.windows.vista.administration accounts passwords 4 02-28-2007 14:11
XP and Vista on the same Computer =?Utf-8?B?VHJleSBBdHJpZWRlcw==?= microsoft.public.windows.vista.administration accounts passwords 2 02-28-2007 14:11
After upgrade, can't access any folders (!!!) =?Utf-8?B?Sks=?= microsoft.public.windows.vista.administration accounts passwords 3 02-28-2007 14:11
Moving folders with Group Policy Management Console (GPMC)? =?Utf-8?B?TmlnZWwgTW9sZXN3b3J0aA==?= microsoft.public.windows.vista.administration accounts passwords 1 02-28-2007 14:11
Moving Outlook Express mail folders to another computer =?Utf-8?B?Uko=?= microsoft.public.windows.vista.administration accounts passwords 1 02-28-2007 14:10


All times are GMT +1. The time now is 12:22.


Registry Mechanic - Free Scan Now
Driver Scanner 2009 - Free Scan Now




Design by Vjacheslav Trushkin for phpBBStyles.com.
Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119