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?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

w3rCommented:
try to change the command to shutdown /f /r /t 0
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
apollo-13Author Commented:
i changed ,i will look at tomorrows log .
0
apollo-13Author Commented:
sorry i chercked today ,task not worked yesterday
0
Making Bulk Changes to Active Directory

Watch this video to see how easy it is to make mass changes to Active Directory from an external text file without using complicated scripts.

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
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Word

From novice to tech pro — start learning today.