Script to shutdown windows


















Asked 7 years, 7 months ago. Active 8 months ago. Viewed times. Please help anyone. Improve this question. You will get much more help if you attempt something and show people what you tried — Codey McCodeface.

Add a comment. Active Oldest Votes. The shutdown command changed a bit since XP, but this is what I use for 7. Improve this answer. Chris Chris 1 1 1 bronze badge. Hi Chris - thank you so much.. I have been looking on Google for about two days. When I click "y" nothing happens. Any help? You can't use a mouse in a batch script without using another helper scripting language or utility.

The most common ways to use the [ shutdown ][1] command are: shutdown -s — Shuts down. You must be a member of the Domain Administrators security group to configure scripts on a domain controller. Right-click the Group Policy Object you want to edit, and then click Edit. In Script Name , type the path of the script, or click Browse to search for the script file in the Netlogon shared folder on the domain controller. In Script Parameters , type any parameters that you want, exactly as you would type them on the command line.

If you assign multiple scripts, the scripts are processed in the order that you specify. To move a script up in the list, click it, and then click Up. To move a script down in the list, click it, and then click Down. Add : Opens the Add a Script dialog box, where you can specify any additional scripts to use. Edit : Opens the Edit Script dialog box, where you can change script information, such as name and parameters. You can follow the question or vote as helpful, but you cannot reply to this thread.

I have the same question Report abuse. Details required :. Cancel Submit. Previous Next. DaveM Independent Advisor. Hi Amipra, do you need the script to access Do you want to warn the user the system will shutdown?

How satisfied are you with this reply? Thanks for your feedback, it helps us improve the site. FernandoYebra1 Independent Advisor.

Hi Amipra, My name is Fernando. I am an Independent Advisor. I am here to guide you with your shutdown script. To try to come to a good solution, I would like to ask why you are running a script to shutdown your pc. Are you doing this remote?



0コメント

  • 1000 / 1000