![]() |
![]() |
|
|
%ProgramFiles% resolves to "C:\Program Files" as a normal user but it resolves to "C:\Program Files (x64)" as the "Local System" user. I wonder why this is happening? I'm using "set" |
![]() |
|
|
#1 | ||
|
Guest
Posts: n/a
|
%ProgramFiles% resolves to "C:\Program Files" as a normal user but
it resolves to "C:\Program Files (x64)" as the "Local System" user. I wonder why this is happening? I'm using "set" to display all the environment variables. I'm using SysInternals's PsExec to run cmd as Local System. |
||
|
|
|
#2 | ||
|
Guest
Posts: n/a
|
It seems that it's not a user issue. Instead it's the difference between 32
bit and 64 bit processes. PsExec is a 32 bit app. > %ProgramFiles% resolves to "C:\Program Files" as a normal user but > it resolves to "C:\Program Files (x64)" as the "Local System" user. > > I wonder why this is happening? > > I'm using "set" to display all the environment variables. I'm using > SysInternals's > PsExec to run cmd as Local System. > |
||
|
| Sponsored Links |
|
|
#3 | ||
|
Guest
Posts: n/a
|
32-bit processes "see" the file system differently. I haven't used PsExec,
but if it's a 32-bit process, it's running the 32-bit version of cmd, so I'm not surprised. -- Charlie. http://msmvps.com/blogs/xperts64 http://mvp.support.microsoft.com/profile/charlie.russel "JH" <jh_ng@newsgroup.nospam> wrote in message news:uJvmL2lqIHA.1316@TK2MSFTNGP06.phx.gbl... > It seems that it's not a user issue. Instead it's the difference between > 32 bit and 64 bit processes. > PsExec is a 32 bit app. > >> %ProgramFiles% resolves to "C:\Program Files" as a normal user but >> it resolves to "C:\Program Files (x64)" as the "Local System" user. >> >> I wonder why this is happening? >> >> I'm using "set" to display all the environment variables. I'm using >> SysInternals's >> PsExec to run cmd as Local System. >> > > |
||
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to config "local machine"-->"personal" access right? | tdh | Windows Vista | 0 | 04-29-2008 05:29 AM |
| Vista not wotking with "My Computer" or "Control Panel", "Screen Saver" | Platebanger | Windows Vista | 6 | 02-05-2008 09:54 AM |
| how to stop "unlist" sata drive in System Tray - "Safely Remove Hardware"? | RJK | Windows XP | 6 | 02-02-2008 07:53 PM |
| Are "Junction points" for folder = "Hard links" for files ? | Marcus Mender | Windows XP | 0 | 12-09-2007 10:34 AM |
| Adding commands to "Folder Options/Edit File Type/Actions" grayed-out "Edit" & "Remove" | Green_XP | Windows XP | 1 | 11-06-2007 03:48 AM |