tips.paddyonline.net

If you need tips & tricks, here they are...

Windows Tips & Tricks

Activate screensaver and when interrupted go to lock workstation

Save this as activate_screensaver.vbs and when you want to instantly activate your screensaver and also having it require username + password to deactivate just double-click it.

Set objShell = CreateObject( "Wscript.Shell" )
' The "True" argument will make the script wait for the screensaver to exit

returnVal = objShell.Run( "%windir%\System32\ssmypics.scr" , 1, True)
' Then call the lock functionality
objShell.Run "%windir%\System32\rundll32.exe user32.dll,LockWorkStation"

Read more: Activate screensaver and when interrupted go to lock workstation

Please consider supporting our efforts.


We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience (tracking cookies). You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.