Why won't "WMIC OS Where Primary=True Call Reboot" not force reboot when dialog box is open?

WMIC OS Where Primary=True Call Reboot will not force reboot when dialog box was open asking to save document. Are there parameter settings, another windows command or a software package that will force the reboot?
Who is Participating?
frasercConnect With a Mentor Commented:

Just run the following...
SHUTDOWN -r -f -t 01

In English this is - Shutdown and restart forcing all running apps to close in one seconds time...
for a full list of options for the shutdown command...

Hope that helps...

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.