Re: Access is denied error 5

From: Pavel Lebedinsky (m_pll)
Date: 01/26/05


Date: Tue, 25 Jan 2005 21:04:00 -0800

Are you sure this is the actual problem? CreateProcess does
not use %PATH% so it shouldn't be affected by UNC path
components.

What happens if you remove this component from %PATH% ?

Also, the DisableUNCCheck value only affects cmd.exe
as far as I know.

"Walt" wrote:

> Hey that's great Pavel!
>
> I found now that the Service is getting an Access is denied error when it
> is
> searching the path and gets to a UNC specified value. The file does not
> exist there but it is coming back with a wierd error that maps to the
> Access
> denied and premeturely ends the search of the PATH variable for the real
> executable.
>
> I know how to Disable UNC error checking for a regular user... but not for
> a
> System process...
>
> For a normal user you put the entry in
> [HKEY_CURRENT_USER\Software\Microsoft\Command Processor]
> "DisableUNCCheck"=dword:00000001



Relevant Pages

  • UConn 06 = UNC 05?
    ... It's looking less so after tonight's game, but then UNC had 4 losses ... Writer just searching for material? ...
    (rec.sport.basketball.college)
  • Re: UConn 06 = UNC 05?
    ... Writer just searching for material? ... Weaker than UNC 04 or ILL 04. ...
    (rec.sport.basketball.college)
  • Re: Access is denied error 5
    ... I found now that the Service is getting an Access is denied error when it is ... searching the path and gets to a UNC specified value. ... For a normal user you put the entry in ... >> execute access). ...
    (microsoft.public.platformsdk.security)