Windows shutdown script windows 7


















It looks as if my question is not understood as I cannot imagine nobody is able to answer it or nobody has come across this problem. So I'll rephrase it and state it without all technical data gathered. I would like to use an Antivir shutdown script. But the scanner needs more than just 15 mins to scan the system. This is quite annoying. Office Office Exchange Server.

Not an IT pro? Windows Client. Sign in. United States English. Ask a question. Best Answer. The easiest way to do this is with a local group policy.

The differences are: Startup Runs before a user logs on. Startup scripts execute as the local system account Logon Runs as soon as a user has entered their password. It only takes a minute to sign up. Connect and share knowledge within a single location that is structured and easy to search.

Is there any way to run script before the computer running Windows 7 or shuts down without using local group policy editor or domain based policy?

Regedit tool should be OK if possible. Sign up to join this community. The best answers are voted up and rise to the top. Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams?

Learn more. Running a script at Windows 7 or shutdown Ask Question. If you need admin rights to do something, then you need admin rights.

There's no workaround unless you own the machine. Show 1 more comment. Active Oldest Votes. This works on 7, Vista and XP. Hope that helps! Improve this answer. Connor W Connor W 3, 10 10 gold badges 33 33 silver badges 43 43 bronze badges. How in the world would this be a "better" option than what the asker already has? Cody Gray Mainly because it is built into Windows, and works every time. It also doesn't limit you to just the Shut Down function.

Lastly, I would say it is also quicker to get to. The shutdown command is built into Windows, too. If you have the necessary privileges to shut down the machine, either method will work. If not, neither method will work.

The shutdown command also doesn't limit you to just shutting down albeit despite the name. There are flags for restarting, etc. The documentation is here. Cody Gray Yes, I am aware that the 'Shutdown' command is not limited to just the shutdown functionality. But if you wanted to change what the script did, you would have to manually edit it every time, or create multiple scripts, which just gets messy. How is this preferable to using a drop down window that takes much less time to change?



0コメント

  • 1000 / 1000