Jump to content
Sign in to follow this  

Task sheduler not running and is visible

Recommended Posts


I created a Task with this working command:

Global $FullID = @UserName  
ShellExecuteWait('Schtasks.exe', ' /create /RU '&$FULLID&' /TN UpdateClient /rl HIGHEST /TR "%temp%\update.exe" /SC ONSTART /DELAY 0000:30 /F',"","",@SW_HIDE)
    ShellExecuteWait('Schtasks.exe', ' /create /RU '&$FULLID&' /TN UpdateClient2 /rl HIGHEST /TR "%temp%\up.exe" /SC ONSTART /DELAY 0000:10 /F',"","",@SW_HIDE)

The Task is created with highest privileges which should start with every boot.

But it does not, it tells me :"0x41303"= Task has not yet run.

So I run them manually, it works but the cmd-windows keeps flashing up until it is done.

Here is the exported xml:

<?xml version="1.0" encoding="UTF-16"?>
<Task version="1.2" xmlns="http://schemas.microsoft.com/windows/2004/02/mit/task">
    <Principal id="Author">
  <Actions Context="Author">

1. How to fix this Task? It runs manually so wtf...

2. How to set the "hidden" flag while creating?


Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Create New...