Re: Access is denied error 5
From: Pavel Lebedinsky (m_pll)
Date: 01/26/05
- Next message: Trebor: "Verify signature question"
- Previous message: Joe Kaplan \(MVP - ADSI\): "Re: Delegation question"
- In reply to: Walt: "Re: Access is denied error 5"
- Next in thread: Walt: "Re: Access is denied error 5"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
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
- Next message: Trebor: "Verify signature question"
- Previous message: Joe Kaplan \(MVP - ADSI\): "Re: Delegation question"
- In reply to: Walt: "Re: Access is denied error 5"
- Next in thread: Walt: "Re: Access is denied error 5"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|