New
#1
need script to set screensaver / lock out to 10 minutes
need script to set screensaver / lock out to 10 minutes . Is such a think possible ? thanks
need script to set screensaver / lock out to 10 minutes . Is such a think possible ? thanks
Funny, I am using an app that prevents the screen saver/sleep to start on my work PC.
What you propose to do is possible but not easy.
You could have a script that would create a scheduled task to run
Run "%windir%\System32\rundll32.exe user32.dll,LockWorkStation
Scripts to create scheduled tasks should be floating around the web. But then where do you want the script to run? If you want it to run in the context of another user you might need to have this run as part of a logon script.
Could you provide more details of what exactly you are trying to do?
So how do you plan to deploy your script? Manual instal for each user on each computer? Admin install on each computer and have it run for each user? Deploy over a domain?
Are you expected to provide IT maintenance and support?
Are you on a domain?
Ideally this should be done through Group Policy, you will then be able to set lock/screen saver timeout as well as the screensaver you wish to run.
I don't know to much about Group Policy settings itself as that's not my area but i know thats where we manage it at work (as we do with many other desktop and user settings).
Regards,
Jamie
If you're on a domain, group policy is best. Otherwise, I'd write a script to activate the screensaver and lock the computer in the user's registry. I can't tell you what keys you'll need to edit right offhand, but it should be easy enough to sort out by making the changes to your profile, then building the script according to the changes you see.
Have fun with it.