lmstearn / Bigger-Directories

Attempt to create long paths in Windows.
MIT License
6 stars 3 forks source link

Program Won't Run at Logon. #5

Open lmstearn opened 8 years ago

lmstearn commented 8 years ago

The Application event log tells the story:

event 4006: The Windows logon process has failed to spawn a user application. Application name: . Command line parameters: C:\Windows\Temp\CreateLargeDir.exe.

Attempting to run the program at startup (CTRL-ALT-DEL start a new task from Task Manager) gets the message:

"A referral was returned from the server"

lmstearn commented 8 years ago

The program requires a certificate of authentication.

lmstearn commented 8 years ago

Well not quite. It was a value either No (/uiAccess='false') or Yes (/uiAccess='true') added to the proj file UAC bypass UI Protection field and the program execution is terminated with the above message even when run from Desktop after login. More on the issue is discussed here.