-
-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windhawk setup hang when creating scheduled task #418
Comments
Does it happen every time, or did it only happen once? Are you using an antivirus? The installer just runs the
Does it work? Does it hang? Is anything printed? <?xml version="1.0" encoding="UTF-16"?>
<Task version="1.3" xmlns="http://schemas.microsoft.com/windows/2004/02/mit/task">
<RegistrationInfo>
<URI>\WindhawkRunUITask</URI>
</RegistrationInfo>
<Triggers />
<Principals>
<Principal id="Author">
<GroupId>S-1-5-32-545</GroupId>
<RunLevel>HighestAvailable</RunLevel>
</Principal>
</Principals>
<Settings>
<MultipleInstancesPolicy>Parallel</MultipleInstancesPolicy>
<DisallowStartIfOnBatteries>false</DisallowStartIfOnBatteries>
<StopIfGoingOnBatteries>true</StopIfGoingOnBatteries>
<AllowHardTerminate>true</AllowHardTerminate>
<StartWhenAvailable>false</StartWhenAvailable>
<RunOnlyIfNetworkAvailable>false</RunOnlyIfNetworkAvailable>
<IdleSettings>
<StopOnIdleEnd>true</StopOnIdleEnd>
<RestartOnIdle>false</RestartOnIdle>
</IdleSettings>
<AllowStartOnDemand>true</AllowStartOnDemand>
<Enabled>true</Enabled>
<Hidden>false</Hidden>
<RunOnlyIfIdle>false</RunOnlyIfIdle>
<DisallowStartOnRemoteAppSession>false</DisallowStartOnRemoteAppSession>
<UseUnifiedSchedulingEngine>true</UseUnifiedSchedulingEngine>
<WakeToRun>false</WakeToRun>
<ExecutionTimeLimit>PT0S</ExecutionTimeLimit>
<Priority>7</Priority>
</Settings>
<Actions Context="Author">
<Exec>
<Command>C:\Program Files\Windhawk\windhawk.exe</Command>
<Arguments>-run-ui-as-admin</Arguments>
</Exec>
</Actions>
</Task> |
Hi, I tried 3 times and it happend at the same spot every time, running the command alone in a terminal work fine though. Yes I do have Antivirus and I cannot turn it off.... :( |
Which antivirus are you using? Maybe it's related, I don't have another idea for why it can happen. The best thing I think of is adding a flag to the installer to skip creating the scheduled task, as it's not strictly necessary. For now, as a workaround, you can try using the portable version. |
Its Panda Antivirus, yes it worked to install in portable mode. But my antivirus still block it from executing, thanks anyway I try to exclude it |
Windhawk setup hang when creating scheduled task, nothing happens - has to use task manager to cancel setup
The text was updated successfully, but these errors were encountered: