I'm trying to user Microsoft.Win32.TaskScheduler.TaskService("ServerName", "Username", "Domain", "Password"); with a user who is a local administrator on "ServerName". I've tried calling it with a blank domain and with a period (.) and with the word "local", and also with the name of the computer but nothing seems to work.
Is it possible to do this, or is it necessary to have a domain account?