gacus
asked on
Why do all users have default set paths using system account folders?
I have been trying to diagnose an issue with an application when I noticed that my test user had most of its paths set to a system profile..
So I deleted my test user profile and logged in so it will create a new user profile. It did it again. Most of the paths are set to a SYSTEM user profile. I tried several other users allow them to create new profiles and they all have the same issue.
I moved the machine into a different OU with no GP applied and the issue is still happening. Here is an example of cmd->set for a normal user.. this is not the system profile, but lots of the variables are set to that for some reason.
ADMINTOOLS=ADMINTOOLS
ALLUSERSPROFILE=C:\Documen ts and Settings\All Users
APPDATA=C:\Users\xxxxx\App Data\Roami ng
CACHE=C:\Documents and Settings\SYSTEM\Local Settings\Temporary Internet Files
CDBURNING=C:\Windows\syste m32\config \systempro file\AppDa ta\Local\M icrosoft\C D Burning
COMMONADMINTOOLS=C:\Progra mData\Micr osoft\Wind ows\Start Menu\Programs\Administrati ve Tools
COMMONAPPDATA=C:\ProgramDa ta\
COMMONDESKTOP=C:\Users\Pub lic\Deskto p\
COMMONDOCUMENTS=C:\Documen ts and Settings\All Users\Documents
COMMONFAVORITES=C:\Documen ts and Settings\All Users\Favorites
COMMONFILES=C:\Program Files\Common Files\
COMMONMUSIC=C:\Documents and Settings\All Users\Documents\My Music
COMMONPICTURES=C:\Document s and Settings\All Users\Documents\My Pictures
CommonProgramFiles=C:\Prog ram Files\Common Files
COMMONPROGRAMS=C:\ProgramD ata\Micros oft\Window s\Start Menu\Programs\
COMMONSTARTMENU=C:\Program Data\Micro soft\Windo ws\Start Menu\
COMMONSTARTUP=C:\ProgramDa ta\Microso ft\Windows \Start Menu\Programs\Startup\
COMMONTEMPLATES=C:\Program Data\Micro soft\Windo ws\Templat es\
COMMONVIDEO=C:\Documents and Settings\All Users\Documents\My Videos
ComSpec=C:\Windows\system3 2\cmd.exe
COOKIES=C:\Documents and Settings\SYSTEM\Cookies
DEFAULTUSERPROFILE=C:\Docu ments and Settings\Default User
DESKTOP=C:\Users\Public\De sktop\
FAVORITES=C:\Windows\syste m32\config \systempro file\Favor ites\
FONTS=C:\Windows\Fonts\
FP_NO_HOST_CHECK=NO
x=w sdfsdfzzz
HISTORY=C:\Documents and Settings\SYSTEM\Local Settings\History
HOMEDRIVE=Z:
HOMEPATH=\
HOMESHARE=\\x.x.x\xxxxx
KMP_DUPLICATE_LIB_OK=TRUE
LOCALAPPDATA=C:\Users\xxxx x\AppData\ Local
LOCALSETTINGS=C:\Documents and Settings\SYSTEM\Local Settings
MEDIAPATH=C:\Windows\Media
MSSHAREDTOOLS=C:\Program Files\Common Files\Microsoft Shared
MYMUSIC=C:\Windows\system3 2\config\s ystemprofi le\Documen ts\My Music
MYPICTURES=C:\Windows\syst em32\confi g\systempr ofile\Pict ures\
MYVIDEO=MYVIDEO
NETHOOD=C:\Windows\system3 2\config\s ystemprofi le\AppData \Roaming\M icrosoft\W indows\Net work Shortcuts\
NUMBER_OF_PROCESSORS=1
OS=Windows_NT
Path=C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\apps\watcom-1.3\bi nnt;C:\app s\watcom-1 .3\binw;C: \Windows\s ystem32;C: \Windows;C :\Windows\ System32\W bem;C:\Win dows\Syste m32\Window sPowerShel l\v1.0\;C: \Windows\S ystem32\Wi ndowsPower Shell\v1.0 \;C:\Progr am Files\java\jdk1.7.0_21\bin \;C:\Progr am Files\MATLAB\R2013a\bin;C: \Program Files\Windows Live\Shared;C:\Windows\Sys tem32\Wind owsPowerSh ell\v1.0\
PATHEXT=.COM;.EXE;.BAT;.CM D;.VBS;.VB E;.JS;.JSE ;.WSF;.WSH ;.MSC
PERSONAL=C:\Windows\system 32\config\ systemprof ile\Docume nts\
PRINTHOOD=C:\Windows\syste m32\config \systempro file\AppDa ta\Roaming \Microsoft \Windows\P rinter Shortcuts\
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_IDENTIFIER=x86 Family 6 Model 44 Stepping 2, GenuineIntel
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=2c02
PROFILESDIRECTORY=C:\Docum ents and Settings
ProgramData=C:\ProgramData
ProgramFiles=C:\Program Files\
PROGRAMS=C:\ProgramData\Mi crosoft\Wi ndows\Star t Menu\Programs\
PROMPT=$P$G
PSModulePath=C:\Windows\sy stem32\Win dowsPowerS hell\v1.0\ Modules\
PUBLIC=C:\Users\Public
RECENT=C:\Windows\system32 \config\sy stemprofil e\AppData\ Roaming\Mi crosoft\Wi ndows\Rece nt\
SENDTO=C:\Windows\system32 \config\sy stemprofil e\AppData\ Roaming\Mi crosoft\Wi ndows\Send To\
SESSIONNAME=Console
STARTMENU=C:\ProgramData\M icrosoft\W indows\Sta rt Menu\
STARTUP=C:\ProgramData\Mic rosoft\Win dows\Start Menu\Programs\Startup\
SystemDrive=C:
SystemRoot=C:\Windows
TEMP=C:\Documents and Settings\SYSTEM\AppData\Lo cal\Temp
TEMPLATES=C:\ProgramData\M icrosoft\W indows\Tem plates\
TMP=C:\Documents and Settings\SYSTEM\AppData\Lo cal\Temp
UATDATA=C:\Windows\CCM\UAT Data\D9F8C 395-CAB8-4 91d-B8AC-1 79A1FE1BE7 7
USERNAME=xxxxx
USERPROFILE=C:\Users\xxxxx
WATCOM=C:\apps\watcom-1.3
windir=C:\Windows
windows_tracing_flags=3
windows_tracing_logfile=C: \BVTBin\Te sts\instal lpackage\c silogfile. log
Anyone know what may have caused this issue to happen? I can recreate the issue on all of my lab computers I have tested.
Shell Folders and User Shell folders both have all of the variables set properly in them. Where is CMD->Set getting its variables from and how do I set them to the proper variables?
So I deleted my test user profile and logged in so it will create a new user profile. It did it again. Most of the paths are set to a SYSTEM user profile. I tried several other users allow them to create new profiles and they all have the same issue.
I moved the machine into a different OU with no GP applied and the issue is still happening. Here is an example of cmd->set for a normal user.. this is not the system profile, but lots of the variables are set to that for some reason.
ADMINTOOLS=ADMINTOOLS
ALLUSERSPROFILE=C:\Documen
APPDATA=C:\Users\xxxxx\App
CACHE=C:\Documents and Settings\SYSTEM\Local Settings\Temporary Internet Files
CDBURNING=C:\Windows\syste
COMMONADMINTOOLS=C:\Progra
COMMONAPPDATA=C:\ProgramDa
COMMONDESKTOP=C:\Users\Pub
COMMONDOCUMENTS=C:\Documen
COMMONFAVORITES=C:\Documen
COMMONFILES=C:\Program Files\Common Files\
COMMONMUSIC=C:\Documents and Settings\All Users\Documents\My Music
COMMONPICTURES=C:\Document
CommonProgramFiles=C:\Prog
COMMONPROGRAMS=C:\ProgramD
COMMONSTARTMENU=C:\Program
COMMONSTARTUP=C:\ProgramDa
COMMONTEMPLATES=C:\Program
COMMONVIDEO=C:\Documents and Settings\All Users\Documents\My Videos
ComSpec=C:\Windows\system3
COOKIES=C:\Documents and Settings\SYSTEM\Cookies
DEFAULTUSERPROFILE=C:\Docu
DESKTOP=C:\Users\Public\De
FAVORITES=C:\Windows\syste
FONTS=C:\Windows\Fonts\
FP_NO_HOST_CHECK=NO
x=w sdfsdfzzz
HISTORY=C:\Documents and Settings\SYSTEM\Local Settings\History
HOMEDRIVE=Z:
HOMEPATH=\
HOMESHARE=\\x.x.x\xxxxx
KMP_DUPLICATE_LIB_OK=TRUE
LOCALAPPDATA=C:\Users\xxxx
LOCALSETTINGS=C:\Documents
MEDIAPATH=C:\Windows\Media
MSSHAREDTOOLS=C:\Program Files\Common Files\Microsoft Shared
MYMUSIC=C:\Windows\system3
MYPICTURES=C:\Windows\syst
MYVIDEO=MYVIDEO
NETHOOD=C:\Windows\system3
NUMBER_OF_PROCESSORS=1
OS=Windows_NT
Path=C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\apps\watcom-1.3\bi
PATHEXT=.COM;.EXE;.BAT;.CM
PERSONAL=C:\Windows\system
PRINTHOOD=C:\Windows\syste
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_IDENTIFIER=x86 Family 6 Model 44 Stepping 2, GenuineIntel
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=2c02
PROFILESDIRECTORY=C:\Docum
ProgramData=C:\ProgramData
ProgramFiles=C:\Program Files\
PROGRAMS=C:\ProgramData\Mi
PROMPT=$P$G
PSModulePath=C:\Windows\sy
PUBLIC=C:\Users\Public
RECENT=C:\Windows\system32
SENDTO=C:\Windows\system32
SESSIONNAME=Console
STARTMENU=C:\ProgramData\M
STARTUP=C:\ProgramData\Mic
SystemDrive=C:
SystemRoot=C:\Windows
TEMP=C:\Documents and Settings\SYSTEM\AppData\Lo
TEMPLATES=C:\ProgramData\M
TMP=C:\Documents and Settings\SYSTEM\AppData\Lo
UATDATA=C:\Windows\CCM\UAT
USERNAME=xxxxx
USERPROFILE=C:\Users\xxxxx
WATCOM=C:\apps\watcom-1.3
windir=C:\Windows
windows_tracing_flags=3
windows_tracing_logfile=C:
Anyone know what may have caused this issue to happen? I can recreate the issue on all of my lab computers I have tested.
Shell Folders and User Shell folders both have all of the variables set properly in them. Where is CMD->Set getting its variables from and how do I set them to the proper variables?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
it was part of the fix
ASKER