Can I create simple shortcuts to enable or disable the screensaver? ~ Ask The Admin

Wednesday, April 23, 2008

Can I create simple shortcuts to enable or disable the screensaver?

AskTheAdmin has covered third party applications that create similar shortcuts. But we know you guys want to be able to do this stuff from scratch with out no stinking tools. It is simple as pie (pie is actually not that simple, nor is PI). Simply fire up a text editor and type in the following information:

Windows Registry Editor Version 5.00

[[HKEY_CURRENT_USER\Control Panel\Desktop]

Your text document should look like the above picture. Save it as something clever like SaverOff.reg. The .reg is the magic that makes this happen. It is interpreted as a registry backup file and by activating it with regedit - it gets imported into your registry making the change instantly for your impatient self!

Don't close that text file yet. Change the ="0" to ="1" and re-save the file as SaverOn.reg - Yes you guessed it that registry entry will turn the ScreenSaver on!

And now creating the shortcuts to enable and disable screensaver is just as easy. All you need to do is create a shortcut by right clicking on your desktop and selecting New -- Shortcut. You will get a screen like the one below:

In the location field simply type in regedit.exe /s "and the location of each of the .reg files you saved before. If it is on your desktop it would look SOMETHING like this for the SaverOff shortcut:

regedit.exe /s "C:\Documents And Settings\User\Desktop\SaverOff.reg

And SOMETHING like this for the SaverOn Shortcut:

regedit.exe /s "C:\Documents And Settings\User\Desktop\SaverOn.reg

Next time you are watching Porn a movie with that special someone A hooker don't have your Smurfs screen saver kick in and ruin your experience.

[Via PcWorld]