Default Profile - My Documents resolves to wrong username

F

Frank

I have a default profile on a workstation that was created with a domain
account versus a local admin account. If I look at the contents of
c:\Documents and Settings\Default User\ directory using Windows Explorer,
instead of c:\Documents and Settings\Default User\My Documents, I have
c:\Documents and Settings\Default User\bob's Documents (bob is a domain
account). If I look at the same directory from command shell, I get "My
Documents". I've tried to rename the folder "bob's Documents" using Explorer
to "My Documents", but the error message states the source and destination
are the same.

My guess is the username "bob" is stored somewhere in the registry of the
workstation, and is being used by the Explorer shell to resolve "My". How
can I fix the Default User profile so that using Explorer I get "My
Documents" rather than "bob's documents". BTW - all local profiles are based
on the Default Profile.

Thanks,

Frank
 
R

Randy Reimers

I believe there is a better explanation for Frank:

I've also seen where there is a file called desktop.ini in that folder, that
has a set of entries in it, like this:
[DeleteOnCopy]
Owner=aegibson
Personalized=5
PersonalizedName=My Documents

Even from a network share, this folder shows up as "aegibson's Documents".
Renaming the folder to anything other than :My Documents, will rename the
folder, but the behavior comes back as soon as you rename it back to the
PersonalizedName= name, it renames itself. This is probably your problem.
This file is a hidden, system file, so you need to be able to see hidden and
protected operating system files in order to see it. You can remove that
section, and it will revert to the default behavior, or even delete it. Not
sure if anything truly refers back to it - I would be safe, delete the
section.

Randy Reimers
 
G

Guest

Must admit, I hadn't encountered that entry before. Makes you wonder what the
interaction betweem "Owner=" and the real owner of the folder is.
 
R

Randy Reimers

In this case, Owner only shows as the folder name. There are many other
entries there - this is where some software actually changes the default
icon, maybe even the "feel" of the folder, such as other columns in detailed
view. Here is one from the "My Pictures" folder:
[DeleteOnCopy]
Owner=RReimers
Personalized=39
PersonalizedName=My Pictures
[.ShellClassInfo]
[email protected],-12688
IconFile=%SystemRoot%\system32\mydocs.dll
IconIndex=-101

Some of the use is obvious, some is ???????? Lots of hidden things. Makes
being a support admin SO much fun!

Randy Reimers
 

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