When we wrote Let your Computer say Welcome on startup ; many visitor asked whether it is possible to use some similar trick so that the PC will say what the visitor wants while shutting down.
After eight months of writing that article, today we will say you the way; yes! it will be possible to make your PC to speak what you want while shutting down.
The feature of this trick is:
---
- The Speaking shut down command is from right click menu with custom icon
- On clicking it, your computer will speak “Hello! Do you want to Shut down your PC?” and throw an option window
- Depending upon your input; the computer will speak either, “abcd minutes left for shutting down your PC” or if you cancel it will speak “OK fine. Your PC will not shut down automatically”
- You will get an Balloon notification; if you want to quit even then; you can click it and type N to cancel the shut down.
Here is the right click menu:

Click it; it will speak as you want and give you this Window:

Depending on your input (y / n) your computer will speak as you like.
Let us start to speak about the trick.
Creating the vbs file to let your computer speak while shutting down and do all the things
Open Notepad. Write the following things for making your your computer speak and do the things while shutting down:
Dim x
Dim yset oShell = createobject(“wscript.shell”)
Set Sapi = Wscript.CreateObject(“SAPI.SpVoice”)sapi.speak “Hello! Do you want to Shut down your PC?”
x = InputBox(“Hello! Do you want to Shut down your PC? Type: Y and Click OK to Shutdown or N and click OK to Quit“,”Automatic Shutdown Script with custom voice“)if x = “y” then
y = InputBox(“Enter time in Minutes you want to Shutdown your PC :“,”Automatic Shutdown Script with custom voice“)
sapi.speak y + “minutes left for shutting down your PC”
oShell.Run “shutdown.exe -s -t ” & (y * 60) & ” -f -c “”Your PC is now set for scheduled shutdown. Click this Balloon and type N to quit the scheduled shutdown“””end if
if x = “n” then
sapi.speak “OK fine. Your PC will not shut down automatically”
oShell.run “shutdown.exe -a”
end if
Save the file as speak.vbs for the example above and do not forget to change the file type from text to All files from drop down menu in Notepad before saving it. Obviously, you can save with any name you like, but you have to change the name in registry file in second step as well.
The red texts are what the computer will speak. You can change as you like.
The brown texts are what that appears on the notification area balloon. You can change as you like.
The green texts are what that appears on the input Windows. We have used the same for both; you can change as you wish.
The cyan texts are what those appears on the options Windows. Change judiciously.
Double click to test the file. It should bring the input window and make your computer speak.
After this step, you can use it as a standalone program; for that follow the way we mentioned in other tutorials.
Registry file for adding speak shutdown option in Windows 7 right click context menu
Place the vbs file created in the previous step at the root of C drive.
Open Notepad, copy paste the following and modify as per your need:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOTDirectoryBackgroundshellShutdown]
“Icon”=”C:WindowsSystem32Narrator.exe”
“Position”=”Bottom”[HKEY_CLASSES_ROOTDirectoryBackgroundshellShutdowncommand]
@=”Wscript.exe “C:speak.vbs“”
The blue text is the name you want to see in your right click menu. You name it as you like.
The orange text determines the position of the menu. You can use Top, Middle instead of Bottom.
The red text dictates the name and location of the vbs file.
The green text is the location of the icon.
Save the file as Add Speak shutdown.reg and do not forget to change the file type from text to All files from drop down menu in Notepad before saving it. Name does not matter here at all. You can save as you like.
Now, double click the reg file and accept the security warnings and you will see the option in right click context menu when clicked on a folder or any empty place inside folder or Windows 7 desktop.
Removal of speak and shutdown option from the right click menu:
Add a minus sign before the H starts after the third bracket; like [-HKEY_CLASSES…. to all where there is HKEY and save it (with some good name) as reg file and run it.
Obviously, you might delete the bat files manually too.
Downloads for this speak and shutdown from right click tutorial:
As usually all the required files are here for the speak option is for your download.
The rar file is password protected, type thecustomizewindows.com as the password.
