I am executing this from an ASP.NET application:
c:\Windows\System32\schtasks.exe /change /tn MyTask /enable /s MyServerIPAddress /ru MyUsername /rp MyPassword
From the command prompt, this works ok.
From the ASP.NET application, I obtain:
"ERROR: Could not read key from registry"
So, obviously, there is a security issue here. Anyone would know more about this?