Don't ask for global admin on Windows
Check --run-as-service argument first
Fix Windows ShellExecuteEx call