Go Back   TechArena Community > Technical Support > Computer Help > Windows Server > Windows Server Help
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read SiteMap

Tags: , , ,

Sponsored Links



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

Windows Server Help


Reply
 
Thread Tools Search this Thread
  #1  
Old 07-06-2007
NZSchoolTech
 
Posts: n/a
Strange user profile path change to C:\Documents and Settings\TEMP

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\Explorer\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
  #2  
Old 07-06-2007
Lanwench [MVP - Exchange]
 
Posts: n/a
Re: Strange user profile path change to C:\Documents and Settings\TEMP

NZSchoolTech <nzschooltech@school.nz> 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\Explorer\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
  #3  
Old 12-06-2007
NZSchoolTech
 
Posts: n/a
Re: Strange user profile path change to C:\Documents and Settings\TEMP


"Lanwench [MVP - Exchange]"
<lanwench@heybuddy.donotsendme.unsolicitedmail.atyahoo.com> wrote in message
news:uZ8GndQqHHA.4104@TK2MSFTNGP06.phx.gbl...
> NZSchoolTech <nzschooltech@school.nz> 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\Explorer\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
  #4  
Old 27-02-2009
Member
 
Join Date: Feb 2009
Posts: 2
Re: Strange user profile path change to C:\Documents and Settings\TEMP

I am NOT a developer - just a user. I booted my computer this morning to discover that all of my user profile settings were apparently deleted and XP said it had to create a new (default) user profile. I wasted two hours trying to get reconnected to my Outlook email accounts, reconstructing my desktop, etc. I started poking around and discovered a "TEMP" file in C:\Documents and Settings that apparently is the repository for this default user profile. I still have a number of folders under my username (Charles) under C:\Documents and Settings but I don't know how to redirect XP to this user folder on start-up and I can't seem to delete the C:\Documents and Settings\Temp folder either. Other folders in C:\Documents and Setting include: \Administrator \All Users \Charles \Default User It would also be useful to me if I understood under what conditions XP uses each of these folders for user settings/profiles - I have had no luck trying to find this myself on the internet.
Please help!!
Reply With Quote
  #5  
Old 28-02-2009
Member
 
Join Date: Feb 2009
Posts: 1
Re: Strange user profile path change to C:\Documents and Settings\TEMP

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!
Reply With Quote
Reply

  TechArena Community > Technical Support > Computer Help > Windows Server > Windows Server Help


Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Strange user profile path change to C:\Documents and Settings\TEMP"
Thread Thread Starter Forum Replies Last Post
How to change or restore user profile path registry? elldeegee Operating Systems 2 11-08-2009 10:14 PM
Windows Vista strange settings on temp folder AppData\Local\Temp\1 Nick Vista Help 2 13-05-2009 11:44 PM
Change original user's name on folder under Documents and Settings Patty Windows XP Support 6 07-03-2009 01:23 AM
How to set local user profile should be load in specified path venu Windows Server Help 2 07-12-2008 01:21 AM
Change Local User Profile path after domain change ptumelty Windows Server Help 0 11-09-2007 11:36 PM


All times are GMT +5.5. The time now is 08:08 PM.