Create a script to shut down Windows 10

Can you shut down Windows 10 more easily? From Windows Vista onwards, Microsoft changed the way Windows shuts down. They made the classic Windows Shutdown feature less noticeable by applying a drop-down menu with the shutdown button in the Start menu.gear tools Windows 10

Although Windows 10 comes in many ways to shut down your computer, the classic termination dialog is accessible only with the help of a hotkey.

Today, we will share with us how to create a shortcut to shutdown Windows 10.

All you need is Notepad or Notepad. Open the app, copy and paste the following text:

 dim objShell set objShell = CreateObject ("shell.application") objshell.ShutdownWindows set objShell = nothing

Now select from menu of Notepad application File – Save as and type its name The important thing is to add the '.vbs' extension to the end, instead of the regular .txt.

Advice: You can add the file name and extension inside the quotation marks so that the Notebook does not automatically add the ".txt" extension.

Adding the name you want in quotes will save it as .vbs and not as .vbs.txt. For example "iguru.vbs" and not "iguru.vbs.txt".
Now double-click on the file you saved and you will see the old good windows shutdown window.

How does it work:

It's nothing special. Windows provides users with in a broad list of objects required for the applications and operating system management.
One of these commands is the above. A Shell COM object that allows you to create the script.

If all of the above are Chinese, you can download the script from the link below.

iGuRu.gr_Script.zip

iGuRu.gr The Best Technology Site in Greecefgns

every publication, directly to your inbox

Join the 2.082 registrants.

Written by giorgos

George still wonders what he's doing here ...

Leave a reply

Your email address is not published. Required fields are mentioned with *

Your message will not be published if:
1. Contains insulting, defamatory, racist, offensive or inappropriate comments.
2. Causes harm to minors.
3. It interferes with the privacy and individual and social rights of other users.
4. Advertises products or services or websites.
5. Contains personal information (address, phone, etc.).