I read that Local system Account has maximum privileges to access all the local resources. But still I could not create a scheduler task while running my application as a service. When I run my application as administrator(cmd),I was able to create a scheduler task
schtasks /create /sc minute /mo 20 /tn "Tesk Check" /tr "C:\run.bat"
When I run this command as a service,I got this error
No mapping between account names and security IDs was done
Did I miss anything?