schtasks.exe

Task Scheduler failed to start. Additional Data: Error Value: 2147943726

天涯浪子 提交于 2019-11-30 05:44:00
I am using windows 10 task scheduler to run tasks that require me using my personal user account (its necessary to use my user and not system user because of permission issues - I am part of an organization). In windows 7 computers everything worked fine but as we upgraded to win 10 I cant run the tasks without using the System user (as mentioned before it doesn't work because of permissions). I get the following error Additional Data: Error Value: 2147943726 all I found online was an advice to use the system user other then that nothing :-( please save my day. here is a picture of the

How to create a scheduled task under SYSTEM user account with SCHTASKS

懵懂的女人 提交于 2019-11-29 07:56:59
问题 I am currently trying to get SCHTASKS to create a scheduled task under the SYSTEM account, by using the following command: schtasks.exe" /s "\\" /u "SYSTEM" /Create /SC DAILY /MO "7" /ST "12:00" /TN "mytask" /TR "C:\test.exe "C:\"" Although it outputs: ERROR: User credentials are not allowed on the local machine. 回答1: Open an elevated (admin) command prompt. Enter the following command: schtasks.exe /s "\" /ru "SYSTEM" /Create /SC DAILY /MO "7" /ST "12:00" /TN "mytask" /TR "C:\test.exe "C:\"

Task Scheduler failed to start. Additional Data: Error Value: 2147943726

放肆的年华 提交于 2019-11-28 23:40:24
问题 I am using windows 10 task scheduler to run tasks that require me using my personal user account (its necessary to use my user and not system user because of permission issues - I am part of an organization). In windows 7 computers everything worked fine but as we upgraded to win 10 I cant run the tasks without using the System user (as mentioned before it doesn't work because of permissions). I get the following error Additional Data: Error Value: 2147943726 all I found online was an advice

Specifying the running directory for Scheduled Tasks using schtasks.exe

流过昼夜 提交于 2019-11-27 07:57:55
I have an application which gets called by a scheduled task. It moved from Windows Server 2003 to Windows Server 2008. On 2003, the app ran in the directory where the executable was located. On 2008 Environment.CurrentDirectory (C#) reports that it's running in C:\Windows\System32. How do I set the running directory? I'm using schtasks.exe for command-line deployment. UPD : Through the interface, it seems to be the "Start in (optional)" field on the action edit screen. UPD : Looks like using the XML file may help, but I'm looking to do without it. I recently came across the same issue. The way

Specifying the running directory for Scheduled Tasks using schtasks.exe

ぐ巨炮叔叔 提交于 2019-11-26 13:56:13
问题 I have an application which gets called by a scheduled task. It moved from Windows Server 2003 to Windows Server 2008. On 2003, the app ran in the directory where the executable was located. On 2008 Environment.CurrentDirectory (C#) reports that it's running in C:\Windows\System32. How do I set the running directory? I'm using schtasks.exe for command-line deployment. UPD : Through the interface, it seems to be the "Start in (optional)" field on the action edit screen. UPD : Looks like using