W2008 - schtasks: Access Denied
Posted on 2011-09-28
I created a GPO for our servers in the domain to have them restarted every week.
The GPO calls Startup-script (herstart.cmd) that with the next command in it
SCHTASKS /Create /F /RU SYSTEM /TN Weekly_reboot /ST 01:30:00 /SC Weekly /D MON /SD 09/27/2011 /TR "c:\windows\system32\shutdown /r /f"
It runs fine on any W2K3 server, but does not on W2008 servers.
When i run the command manually, with dom.admin account it returns an "Acccess is Denied" error.
Nothing found in logfiles.
Anyone any idea?
(without starting a discussion about the relevance of a weekly reboot schedule, just stick to the question)
Thanks in advance for all help