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

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


Date: Wed, 7 Apr 2004 16:12:56 -0700

Did you kill the original instance of explorer before spawning the new one?
(There's also a setting to launch explorer in a new process, but it doesn't
always work in an intuitive way, so I don't use or recommend it.)

Right - that's more or less what I'm saying. Again - I haven't read the
setup code and haven't debugged this, so I can't be sure that this is
actually the root cause of the problem. If killing explorer then launching
it with runas as the admin does work, that explanation is probably right.

As for not being able to access the seclogon service properties - was that
as administrator or the other user? Probably a permissions problem. I
don't know what tools we had to query/set service perms in Win2k, but
there's sc.exe on XP and WS03.

-- 
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:A3CF8954-51F8-41B5-826C-54AE2A164990@microsoft.com...
> I tried running explorer with run as and got the same error, and then
tried setup.exe and got the same error.
>
> So what you're saying is that if the user is logged in, when we open
explorer it's running that in that users' context, then when we run the
setup.exe using run as... it's not translating or using the account that we
put in...


Relevant Pages

  • Explorer error message
    ... Type regsvr32 urlmon.dll, and then click OK. ... When you receive the "DllRegisterServer in urlmon.dll ... >I launch Explorer, with the details below. ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Explorer error message
    ... I launch Explorer, with the details below. ... Explorer does not crash and I can still surf the web, ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • AutoFill Profile & Forms AutoComplete
    ... Every time I quit Explorer I loose my AutoFill information. ... the next time I launch Explorer my AutoFill and AutoComplete are blank ...
    (microsoft.public.mac.explorer)