Quantcast
Channel: Task Scheduler Managed Wrapper
Viewing all articles
Browse latest Browse all 2206

New Post: Create daily 9h Task Schedule in Windows 7

$
0
0
First of all thanks for your quick replay Dahall,

However the problem persists, everytime I try to depoy the setup on a Win7 machine it gives me an exception "Exception: (41,4):LogonType: " nothing more :(
On a XP machine all runs smooth.

From what I understood I am missing something related with the "RegisterTaskDefinition" besause once I use this line:
ts.RootFolder.RegisterTaskDefinition("Scheduler", td, TaskCreation.Create, "SYSTEM", null, TaskLogonType.ServiceAccount);
the task is created but I dont understand the usage of the "SYSTEM" for the username, can I presume that with this username it will be runnable in all machines? Or do I have to supply the username/password on all Win7 machines in order to deploy the task?

Thanks in advance!

Viewing all articles
Browse latest Browse all 2206

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>