Re: Access to specified path denied when using 'Run as"

From: Drew Cooper [MSFT] (dcoop_at_online.microsoft.com)
Date: 04/07/04


Date: Tue, 6 Apr 2004 17:37:18 -0700

The app is being spawned by explorer. And explorer is single-instanced, so
everything will run in the context of the explorer that's already started.
My hunch is that setup.exe isn't impersonating correctly so it's running in
that default user context. (Just a hunch - I haven't read their code or
debugger this, so I can't know for sure.)

If you run setup with runas or if you kill explorer and start another one
with runas, then do the "click on setup" thing, does everything work?

-- 
Drew Cooper [MSFT]
This posting is provided "AS IS" with no warranties, and confers no rights.
"Steve L." <anonymous@discussions.microsoft.com> wrote in message
news:6B600B98-6B04-41BF-8E42-CB4F745874B3@microsoft.com...
> I have a windows 2k box that is on our domain, and if I am at the Pc with
the user logged in, they don't have local admin rights, I try to run a
setup.exe file off of a cd to install a program, it prompts me to either put
in the admin account password, or to try to run it as the local user.  If I
put in the local admin password after selecting to use the administrator
account, I get the error "Access to the specified path is denied".  The only
way I can get it to work is if I login locally as the admin, or as myself,
I'm part of a group that we have to add to the pc for local admin rights.
>
>
> Any ideas?  I saw something on technet about the 'shortcut' not being
enclosed in quotes or something, but this is just browsing to the cd in
explorer and double-clicking the setup file.
>
> Thanks in advance.
>
> Steve L.


Relevant Pages

  • Re: Internet Kiosk Group Policy
    ... only taking efect on the explorer API. ... The problem with some settings is, ... log in, "net localgroup administrators yourdomainuser /add", ... Sure, I can create always a scenario, where I can become a local Admin, ...
    (microsoft.public.windows.group_policy)
  • Re: Right Click Crashes Windows Explorer
    ... Using Regedit I changed Powerdesk ... What about other shell extensions (not only Context Menu handlers). ... Ramesh Srinivasan, Microsoft MVP [Windows Shell/User] ... Explorer crashes. ...
    (microsoft.public.windows.vista.installation_setup)
  • Re: Add a context menu item to Windows Explorer (Win98) with VB6?
    ... clicked the context menu... ... Explorer started a new instance for each file and I got ... There isn't an easy solution, ... tired old brain and re-reading stuff like IShellExtInit, IContextMenu, ...
    (microsoft.public.vb.general.discussion)
  • Re: Windows Explorer rt-clicking results in termination
    ... Right-click is slow or weird behavior caused by context menu handlers: ... Windows XP Shell/User ... >I have been troubleshooting this situation for weeks w/o any success. ... > and Internet Explorer GUIs, but they also exhibit the same behavior. ...
    (microsoft.public.windowsxp.general)
  • update on SP2 right-clicking problem
    ... SP2 the Explorer process would crash every time ... I have progress of sorts to report. ... under SP2, but for some bizarre reason, the context menu ...
    (microsoft.public.windowsxp.general)