Share via

Force Shutdown PowerPoint & reboot PC.

Anonymous
2011-08-22T07:15:40+00:00

Hi,

 Please can you help, I need a script that will Force Shutdown PowerPoint if running and reboot PC.

Cheers.

Windows for home | Previous Windows versions | Apps

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

LemP 74,945 Reputation points Volunteer Moderator
2011-08-23T04:46:43+00:00

The following command can be placed in a *.bat file:

shutdown -r -f -t 10

The -r causes a reboot

The -f forces running applications to close (i.e., PowerPoint and anything else that is running)

The -t 10 causes the shutdown to happen 10 seconds after the command is executed.  If -t is omitted, the default is 20 seconds

Syntax: http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/shutdown.mspx?mfr=true

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Anonymous
    2011-08-23T03:39:08+00:00

    Hi,

    Your Windows question is more complex than what is typically answered in the Microsoft Answers forums. It is better suited for the audience on TechNet. Please post your question in the below link:

    http://social.technet.microsoft.com/Forums/en/ITCG/threads/

    Was this answer helpful?

    0 comments No comments