Task windows 2008 datacenter

I have at ESX Virtual host windows 2008 R2.I try to autorestart TASK make But not working.

I did:
-created a .cmd file with shutdown -f -r -t 00 -c.
-At Task manager everyday at 02:00 restart server.

But still not working.
Anyhelp pls.
apollo-13Asked:
Who is Participating?
 
w3rCommented:
try to change the command to shutdown /f /r /t 0
0
 
apollo-13Author Commented:
i changed ,i will look at tomorrows log .
0
 
apollo-13Author Commented:
sorry i chercked today ,task not worked yesterday
0
Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

 
w3rCommented:
OK
1) Open command prompt (press Windows+R and type cmd and press enter)
2) Type the command shutdown /f /r /t 0

Does the server reboot now?
0
 
apollo-13Author Commented:
oh sorry now i cant test it ,i will test tonight
0
 
apollo-13Author Commented:
yes  command works (shutdown /f /r /t 0)
0
 
w3rCommented:
OK, that means that you have your Taskscheduler configured wrong. Please follow exactly the steps in this thread.

Did you check the eventlog? Maybe there is a useful information why the task didn't run...
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.