That sounds weird. The registry values I mentioned worked perfect for me
here.
Since they are under HKEY_CURRENT_USER they should be applied to a specified
user only.
I am wondering what you meant by "either both users have the run menu or
neither do"? Are you changing the keys under HKEY_CURRENT_USER or
HKEY_USERS\.DEFAULT or HKEY_LOCAL_MACHINE?
I don't think \Software\Microsoft\WindowsNT\Program
Manager\Restrictions\NoRun is getting used under XPP/XPe.
J> Yes I am using the Explorer shell. I've actually tried both ways.
J> First,
J> I added the proper registry entries to my 2 account components - the
J> 2 entries to enable the run menu item for a component that derives
J> from the Administrator Account component, and then the 2 entries to
J> disable the run menu item from a custom component that derives from
J> the User
J> Account component. Next, I tried simply editing the registry with
J> regedt32 from within XPE itself (rebooting each time), but I still
J> have the same result - either both users have the run menu or neither
J> do.
J> Lastly, I found the key \Software\Microsoft\WindowsNT\Program
J> Manager\Restrictions\NoRun and set that to 0. I figured this key was
J> a hold over from NT 3.51, and thus ineffective, but worth a shot
J> anyway.
J> Any more ideas? Thanks for your help.
J>>> This doesn't seem to be working. Do I need to make any
J>>> modifications to the User Interface Core settings? Thanks for your
J>>> response.
J>>> KM said:
You may want to play with the following two registry values:
; Explorer settings
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\
Explorer\
Advanc ed]
"Start_ShowRun"=dword:00000000 ; Allows to show/hide Run on
XP Start menu
; Policies
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\
Policies\
Explor er]
"NoRun"=dword:00000001 ; Removes Run command from Start
menu
Set those values for all users (HKEY_USERS\.DEFAULT) and set the
opposite values for the user(s) with administrative privileges.
Hope it helps,
KM
b>>>>> I would like to show the "Run" menu item only when a user with
b>>>>> administrative privlidges is logged in. How do I do that in XPE?
b>>>>> Thanks in advance.
With best regards, KM. E-mail: (e-mail address removed)