powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment

后端 未结 3 1981
天涯浪人
天涯浪人 2021-01-04 19:15

I\'m running into a strange behavior with a powershell Start-Process call.

Here is the call:

$process = start-process `
    \"C:\\somepath\\MyBinar         


        
3条回答
  •  清酒与你
    2021-01-04 19:42

    Only solution I have found so far is to disable UAC (set EnableLUA to 0 = Admin approval mode in Local Security Policy). So, it definitely seem to be a file/folder/registry access problem which the UAC ignores when disabled.

提交回复
热议问题