MS OS - Microsoft Forum to Usenet Gateway Header Right
Navbar Left Navbar Right

MS OS - Microsoft Forum to Usenet Gateway » Microsoft Operating System Usenet Gateway » Windows XP 64 Bit » %ProgramFiles% resolves to "C:\Program Files (x64)" for "Local System" user

%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"



Reply
Old 04-29-2008, 08:26 PM   #1
JH
Guest
 
Posts: n/a
Default %ProgramFiles% resolves to "C:\Program Files (x64)" for "Local System" user

%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.


 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-29-2008, 09:00 PM   #2
JH
Guest
 
Posts: n/a
Default Re: %ProgramFiles% resolves to "C:\Program Files (x64)" for "Local System" user

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.
>



 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Old 04-29-2008, 09:12 PM   #3
Charlie Russel - MVP
Guest
 
Posts: n/a
Default Re: %ProgramFiles% resolves to "C:\Program Files (x64)" for "Local System" user

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.
>>

>
>


 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

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


All times are GMT -5. The time now is 10:06 AM.


Powered by vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Skin designed by CompletevB
Copyright © 2005-2008 Robert Schwarz, Sr. - All rights reserved - MS OS is an independent web site and is not affiliated with Microsoft Corporation.