Networking Forums

Networking Forums > Computer Networking > Windows Networking > Strange user profile path change to C:\Documents and Settings\TEMP

Reply
Thread Tools Display Modes

Strange user profile path change to C:\Documents and Settings\TEMP

 
 
NZSchoolTech
Guest
Posts: n/a

 
      06-07-2007, 08:51 AM
I have a laptop user who has lost their desktop items and My Documents
contents etc as well as access to Outlook data files.

When I look in the Registry at
HKCU\Software\Microsoft\Windows\CurrentVersion\Exp lorer\Shell Folders, I
find that most of the string values in this key point to C:\Documents and
Settings\TEMP path instead of C:\Documents and Settings\<user name> which is
the default that this user was set up with when they were set up on the
laptop.

The laptops are set up so that the main user has a local profile. Everyone
else who logs on gets a roaming profile from the server.

Folder redirection is applied by GPO. The GPO setting for the group they are
a member of explicitly redirects their folder My Documents and Desktop to
%USERPROFILE%\Desktop and My Documents meaning that these should be set to
wherever the user's profile comes from. Ordinary this is not this TEMP
folder. I do not know why this would have been changed to C:\Documents and
Settings\Temp for this user. It is a very strange situation.

What other steps can I take to try to determine why the user's profile path
has changed? I haven't yet looked in User Shell Folders but I expect it will
probably contain the expected Expandable String values loaded with variants
of %USERPROFILE% as normal.

There is definitely no user called TEMP and no idea why this path would have
been created to be used for a userprofile.

I remember another user was having problems one day because an application
had altered one of the environment strings causing their path to be wrong.
This meant Windows could not load a DLL it needed because of the path
change. Is it possible that an application has somehow changed the
environment variable %USERPROFILE% ? How would I be able to determine what
is causing this to happen?

 
Reply With Quote
 
 
 
 
Lanwench [MVP - Exchange]
Guest
Posts: n/a

 
      06-07-2007, 01:21 PM
NZSchoolTech <(E-Mail Removed)> wrote:
> I have a laptop user who has lost their desktop items and My Documents
> contents etc as well as access to Outlook data files.
>
> When I look in the Registry at
> HKCU\Software\Microsoft\Windows\CurrentVersion\Exp lorer\Shell
> Folders, I find that most of the string values in this key point to
> C:\Documents and Settings\TEMP path instead of C:\Documents and
> Settings\<user name> which is the default that this user was set up
> with when they were set up on the laptop.


In a command prompt, type
set
and look for the %userprofile% path. ....

>
> The laptops are set up so that the main user has a local profile.


Meaning, your domain user logs in, the roaming profile is downloaded once,
and then you change the type from roaming to local? That's what I often do
if I've got a user who has a laptop & a desktop - you know you've got at
least some backup of their profile settings. If they don't use both a laptop
and a desktop, just leave it roaming (why not)?


> Everyone else who logs on gets a roaming profile from the server.
>
> Folder redirection is applied by GPO. The GPO setting for the group
> they are a member of explicitly redirects their folder My Documents
> and Desktop to %USERPROFILE%\Desktop and My Documents


Ah. Do not use folder redirection to send anything over to the user's
roaming profile folder- it kinda defeats the purpose of having folder
redirection at all. By default, those folders *would* roam as part of the
profile - and you don't want that, as you want your profiles to stay *tiny*.

Instead, redirect them elsewhere....I usually use the users' home
directories (& appropriate subfolders therein).


> meaning that
> these should be set to wherever the user's profile comes from.
> Ordinary this is not this TEMP folder. I do not know why this would
> have been changed to C:\Documents and Settings\Temp for this user. It
> is a very strange situation.


Check the event logs, and I'll bet you the domain profile got corrupted and
a temporary one was loaded. I'd delete the cached local profile and log in
again as the user (see note above about roaming profile/change to local).

Download & install the latest version of the User Profile Hive Cleanup
Service on all computers.

>
> What other steps can I take to try to determine why the user's
> profile path has changed? I haven't yet looked in User Shell Folders
> but I expect it will probably contain the expected Expandable String
> values loaded with variants of %USERPROFILE% as normal.
>
> There is definitely no user called TEMP and no idea why this path
> would have been created to be used for a userprofile.
>
> I remember another user was having problems one day because an
> application had altered one of the environment strings causing their
> path to be wrong. This meant Windows could not load a DLL it needed
> because of the path change. Is it possible that an application has
> somehow changed the environment variable %USERPROFILE% ? How would I
> be able to determine what is causing this to happen?


See above (event logs are where you ought to start). I'm presuming you've
got backups of the data (My Docs & Desktop), right? That they were
redirected & are available on the server?



 
Reply With Quote
 
NZSchoolTech
Guest
Posts: n/a

 
      06-11-2007, 09:31 PM

"Lanwench [MVP - Exchange]"
<(E-Mail Removed) ahoo.com> wrote in message
news:(E-Mail Removed)...
> NZSchoolTech <(E-Mail Removed)> wrote:
>> I have a laptop user who has lost their desktop items and My Documents
>> contents etc as well as access to Outlook data files.
>>
>> When I look in the Registry at
>> HKCU\Software\Microsoft\Windows\CurrentVersion\Exp lorer\Shell
>> Folders, I find that most of the string values in this key point to
>> C:\Documents and Settings\TEMP path instead of C:\Documents and
>> Settings\<user name> which is the default that this user was set up
>> with when they were set up on the laptop.

>
> In a command prompt, type
> set
> and look for the %userprofile% path. ....
>
>>
>> The laptops are set up so that the main user has a local profile.

>
> Meaning, your domain user logs in, the roaming profile is downloaded once,
> and then you change the type from roaming to local? That's what I often do
> if I've got a user who has a laptop & a desktop - you know you've got at
> least some backup of their profile settings. If they don't use both a
> laptop and a desktop, just leave it roaming (why not)?
>
>
>> Everyone else who logs on gets a roaming profile from the server.
>>
>> Folder redirection is applied by GPO. The GPO setting for the group
>> they are a member of explicitly redirects their folder My Documents
>> and Desktop to %USERPROFILE%\Desktop and My Documents

>
> Ah. Do not use folder redirection to send anything over to the user's
> roaming profile folder- it kinda defeats the purpose of having folder
> redirection at all. By default, those folders *would* roam as part of the
> profile - and you don't want that, as you want your profiles to stay
> *tiny*.


Doesn't matter at all on a local profile - it doesn't roam. On a laptop,
they expect their files to be on the local hard drive - not on the network.

>
> Instead, redirect them elsewhere....I usually use the users' home
> directories (& appropriate subfolders therein).




>
>
>> meaning that
>> these should be set to wherever the user's profile comes from.
>> Ordinary this is not this TEMP folder. I do not know why this would
>> have been changed to C:\Documents and Settings\Temp for this user. It
>> is a very strange situation.

>
> Check the event logs, and I'll bet you the domain profile got corrupted
> and a temporary one was loaded. I'd delete the cached local profile and
> log in again as the user (see note above about roaming profile/change to
> local).
>
> Download & install the latest version of the User Profile Hive Cleanup
> Service on all computers.
>
>>
>> What other steps can I take to try to determine why the user's
>> profile path has changed? I haven't yet looked in User Shell Folders
>> but I expect it will probably contain the expected Expandable String
>> values loaded with variants of %USERPROFILE% as normal.
>>
>> There is definitely no user called TEMP and no idea why this path
>> would have been created to be used for a userprofile.
>>
>> I remember another user was having problems one day because an
>> application had altered one of the environment strings causing their
>> path to be wrong. This meant Windows could not load a DLL it needed
>> because of the path change. Is it possible that an application has
>> somehow changed the environment variable %USERPROFILE% ? How would I
>> be able to determine what is causing this to happen?

>
> See above (event logs are where you ought to start). I'm presuming you've
> got backups of the data (My Docs & Desktop), right? That they were
> redirected & are available on the server?
>
>
>


 
Reply With Quote
 
Virebola
Guest
Posts: n/a

 
      02-28-2009, 08:23 AM

I had the same problem. Try this:
- Download and install UPHClean Service by miscosoft
- Log off damage profile and reboot
- Log in again and all the information about the paths will be fixed.

See ya

--
Virebol
-----------------------------------------------------------------------
Virebola's Profile: http://forums.techarena.in/members/virebola.ht
View this thread: http://forums.techarena.in/server-networking/761462.ht

http://forums.techarena.i

 
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

BB 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
Logged in with temp profile when booting Wireless 802.1x ulvstorp@gmail.com Windows Networking 0 09-10-2008 01:44 PM
Transfer workstation profile (NT DC user profile to W2K3 Tys-Comuquest Windows Networking 1 05-05-2008 03:47 PM
Which to use - User Home directories or Redirected My Documents ? Stuart Windows Networking 6 03-27-2007 12:38 PM
xp documents and settings problem? CS Home Networking 6 04-21-2004 11:11 AM
Network Path not found. Couldn't copy your roaming profile.... Alwyn Windows Networking 0 01-06-2004 08:29 AM



1 2 3 4 5 6 7 8 9 10 11