Reply To: Delete or Create Scheduled task via WDM??!!

#23057
AvatarIowa-Wyse
Participant
  • Total Post: 17
  • Regular Joe
  • ★★

I am trying to run this script via wdm. When I run it logged in as admin it works just fine. Its not working via the wdm script however. Is there a way that I need to have the script login as my local admin?

[Version]
Number=DeleteTask
Description=Delete Scheduled Task
OS=WES7
Category=Other Packages
USE_REMOTE=Yes
; Date: 11/29/2012

[Script]
EX “schtasks.exe /Delete /TN “Daily Reboot” /F” “+”