Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Screen Saver - Toggle On or Off - Add to Desktop Context Menu


Screen Saver - Toggle On or Off - Add to Desktop Context Menu

How to Add "Enable/Disable Screen Saver" to Desktop Context Menu
Published by Brink
07 Jan 2012
Published by

How to Add "Enable/Disable Screen Saver" to Desktop Context Menu

information   Information
This will show you how to add Enable/Disable Screen Saver to the Desktop context menu for users to be able to quickly toggle their screen saver on or off when say watching a movie or playing a game in Vista, Windows 7, and Windows 8.

While you must be logged in as an administrator to be able to add or remove this from the context menu, all users on the computer will be able to use the context menu item.

Note   Note
If you use the option (step 2) below that will play a sound, then it will speak "The Screen Saver has been disabled" to indicate the screen saver has been disabled (turned off), and speak "The Screen Saver has been enabled" to indicate the screen saver has been enabled (turned on).

When you toggle the screen saver to be enabled using this context menu item, Windows will still use the same screen saver that you had set to run before you toggled it disabled.


EXAMPLE: Enable/Disable Screen Saver added to Desktop Context Menu
Name:  Example.jpg
Views: 2387
Size:  47.6 KB





OPTION ONE
To Add "Enable/Disable Screen Saver" to Desktop Context Menu
1. Do either step 2 or 3 below for the context menu item that you would like to add.

2. To Toggle Enable/Disable Screen Saver with Sound Played
A) Click/tap on the Download button below to download the file below, and save it to your desktop, and go to step 4 below.
NOTE: When you click on the Enable/Disable Screen Saver context menu item using this option, you will hear the .wav sound file play only if Window Media Player is set as the default program for .wav files. If you do not have Window Media Player turned on in Windows Features, then you will get a error instead of the sound playing.
Add_Enable-Disable_Screen-Saver_to_Context_Menu_with_SOUND.zip

download
3. To Toggle Enable/Disable Screen Saver without Sound
A) Click/tap on the Download button below to download the file below, and save it to your desktop, and go to step 4 below.
NOTE: This option is if you do not want to have the .wav sound play when you use the Enable/Disable Screen Saver context menu item, or if you get an error from using step 1 since you have Windows Media Player turned off in Windows Features.
Add_Enable-Disable_Screen-Saver_to_Context_Menu.zip

download
4. Double click/tap on the downloaded ZIP file, and extract (drag and drop) both the .reg and .vbs files below to your desktop.

5. Unblock the extracted .vbs file.

6. Right click on the extracted and unblocked vbs, and click on Copy.

7. In Windows Explorer, navigate to and open the C:\Windows folder. Right click or press and hold on an empty area in the C:\Window folder, click/tap on Paste, then click/tap on Continue and Yes (UAC) if prompted. Close the Windows Explorer window.

8. Double click/tap on the downloaded .reg file to merge it.

9. If prompted, click/tap on Run,Yes (UAC-Windows 7/8) or Continue (UAC-Vista), Yes, and OK to approve the merge.

10. Enable/Disable Screen Saver has now been added to the context menu.

11. You can delete the download files left on your desktop now if you would like to.




OPTION TWO
To Remove "Enable/Disable Screen Saver" from Desktop Context Menu

NOTE: This is the default setting.
1. Click/tap on the Download button below to download the file below, and save it to your desktop.
Remove_Enable-Disable_Screen-Saver_from_Context_Menu.reg

download
2. Double click/tap on the downloaded .reg file to merge it.

3. If prompted, click/tap on Run, Yes (UAC-Windows 7/8) or Continue (UAC-Vista), Yes, and OK to approve the merge.

4. Enable/Disable Screen Saver has now been removed from the context menu.

5. In Windows Explorer, navigate to and open the C:\Windows folder, right click or press and hold on the file below, click/tap on Delete, and Yes (if prompted).
Toggle_Enable-Disable_Screen-Saver.vbs

OR

Toggle_Enable-Disable_Screen-Saver_with_SOUND.vbs
6. You can now delete the download reg file if you would like to.

That's it,
Shawn




07 Jan 2012   #1
Arc

Microsoft Community Contributor Award Recipient

Microsoft Windows 10 Pro Insider Preview 64-bit
 
 

Another nice tutorial, Shawn


My System SpecsSystem Spec
07 Jan 2012   #2
Brink
Microsoft MVP

64-bit Windows 10 build 10074
 
 

Thank you Archie.
My System SpecsSystem Spec
20 Dec 2014   #3
pxfragonard

Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
 
 

Just brilliant.
My System SpecsSystem Spec
.


21 Dec 2014   #4
pxfragonard

Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
 
 

This worked well for me until I followed a tutorial to make a shortcut to change my screensaver with this text C:\Windows\System32\rundll32.exe shell32.dll,Control_RunDLL desk.cpl,,1 as recommended here: Pin screensaver shortcut to taskbar? and dragged it to the taskbar. Now the screen saver won't go on at all. I removed it from the context menu but that didn't help.I'm going to try to reinstall your context menu addition with sound this time and try again. Strange.

UPDATE: ...aaand it worked... I think the problem was I didn't unblock the .vob file the first time I did the without sound version. I think I prefer the with sound version: that way I know if I've disabled or enabled the screen saver. What a fascinating place, Windows Seven Forums is! Thanks again!
My System SpecsSystem Spec
21 Dec 2014   #5
Brink
Microsoft MVP

64-bit Windows 10 build 10074
 
 

Hello pxfragonard,

That's only a shortcut to open your Screen Saver settings. Please go ahead and post a screenshot showing these settings to see if anything stands out for why it won't play you screen saver.
My System SpecsSystem Spec
21 Dec 2014   #6
pxfragonard

Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
 
 

Quote   Quote: Originally Posted by Brink View Post
Hello pxfragonard,

That's only a shortcut to open your Screen Saver settings. Please go ahead and post a screenshot showing these settings to see if anything stands out for why it won't play you screen saver.
Oh no, Sean. It's working fine now. Sorry to inconvenience you. Just curious about which settings you meant though... and I can suggest one improvement. The sounds of screensaver off and on are too similar. Is there any way to tweak the sounds?
My System SpecsSystem Spec
21 Dec 2014   #7
Brink
Microsoft MVP

64-bit Windows 10 build 10074
 
 

Sure you can. You can edit the .vbs file to change the part in red below to be the full path of the .wav file you want instead.


Code:
Registry = "HKCU\Control Panel\Desktop\ScreenSaveActive"
Set Command1 = WScript.CreateObject("WScript.Shell")
Set command2 = CreateObject("Wscript.Shell")
Check = Command1.RegRead(Registry)
If Check = 1 Then
 Command1.RegWrite Registry, 0, "REG_SZ"
 command2.Run "wmplayer.exe ""C:\Windows\Media\Windows Logoff Sound.wav""", 0, false
 WScript.sleep 1000
 command2.Run "taskkill /f /im wmplayer.exe", 0
Else
 Command1.RegWrite Registry, 1, "REG_SZ"
 command2.Run "wmplayer.exe ""C:\Windows\Media\Windows Logon Sound.wav""", 0, false
 WScript.sleep 1000
 command2.Run "taskkill /f /im wmplayer.exe", 0
End If
My System SpecsSystem Spec
21 Dec 2014   #8
pxfragonard

Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
 
 

Quote   Quote: Originally Posted by Brink View Post
Sure you can. You can edit the .vbs file to change the part in red below to be the full path of the .wav file you want instead.


Code:
Registry = "HKCU\Control Panel\Desktop\ScreenSaveActive"
Set Command1 = WScript.CreateObject("WScript.Shell")
Set command2 = CreateObject("Wscript.Shell")
Check = Command1.RegRead(Registry)
If Check = 1 Then
 Command1.RegWrite Registry, 0, "REG_SZ"
 command2.Run "wmplayer.exe ""C:\Windows\Media\Windows Logoff Sound.wav""", 0, false
 WScript.sleep 1000
 command2.Run "taskkill /f /im wmplayer.exe", 0
Else
 Command1.RegWrite Registry, 1, "REG_SZ"
 command2.Run "wmplayer.exe ""C:\Windows\Media\Windows Logon Sound.wav""", 0, false
 WScript.sleep 1000
 command2.Run "taskkill /f /im wmplayer.exe", 0
End If
HAHA! VERY cool!!! I'm gonna try that tomorrow! Oh, sorry. I just found out I've been misspelling your name, Shawn..... you know... I think I'm starting to learn here.
My System SpecsSystem Spec
21 Dec 2014   #9
Brink
Microsoft MVP

64-bit Windows 10 build 10074
 
 

No problem.
My System SpecsSystem Spec
Comment

 Screen Saver - Toggle On or Off - Add to Desktop Context Menu




Tutorial Tools





Similar help and support threads
Windows 7 Tutorial Category
Screen Resolution - Add or Remove from Desktop Context Menu
How to Add or Remove "Screen resolution" from Desktop Context Menu in Windows This tutorial will show you how to add or remove Screen resolution from the desktop context menu for all users in Windows 7 and Windows 8. You must be logged in as an administrator to be able to do the steps in this...
Tutorials
Context menu to toggle the hidden flag on files and folders?
I know there's a context menu entry to show/hide hidden files. But is there one that makes/unmakes the file/folder hidden? Going to a file/folder's properties just to change it is a bit of a hassle (esp. on shortcut files). Just in case I wasn't clear (or my wording was a bit confusing),...
Customization
Next Desktop Background - Add or Remove from Desktop Context Menu
Add or Remove "Next desktop background" from Desktop Context Menu in Windows 7 and Windows 8 A desktop slideshow is a slideshow of wallpaper images (pictures) of your choice on your desktop. When a desktop slideshow is being used in Windows 7 or Windows 8, Windows automatically adds Next...
Tutorials
adding "toggle hidden files" to context menu in 64-bit
hey guys, i have a laptop with windows 7 32-bit system and got the "toggle hidden files" on my context menu by a simple process and love it, so I wanted to have the same thing on my desktop, which is also windows 7, but it is 64-bit. I have tried a few different methods, including putting the...
Customization
Desktop Context Menu
Can anyone help me w/a little customization? In the attached picture, I want to move the StickyNote selection down into the New heading & also remove the (zipped) wording from New>Compressed (zipped) Folder. Anyone have any solutions?
Customization
Desktop Context Menu
The context menu ( right click desktop) has lost it. EX: click new .txt doc and nothing comes up. Some of the others do not work (most). I looked at a tutorial for it and there was some reg files to restore change etc.. Also seen a link for shmnview-x64.zip. Before I bork everything, is the...
General Discussion

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 06:26.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App