Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Script to Change Screen Timeout

Posted on 2014-04-11
3
Medium Priority
?
462 Views
Last Modified: 2014-04-11
Good morning,

So, I need my laptops' screen lock (screensaver) timeout to extend from the 15 minutes domain policy gives it, to 60 minutes when off the network. How can I achieve this?

Thanks!
0
Comment
Question by:Michael L
  • 2
3 Comments
 
LVL 56

Accepted Solution

by:
Joe Winograd, EE MVE 2015&2016 earned 2000 total points
ID: 39994484
Hi Michael,
I'm a huge fan of NirSoft's (free!) utilities, which I've been using for many years:
http://www.nirsoft.net/

One of them is NirCmd:
http://www.nirsoft.net/utils/nircmd.html

Scroll down to the bottom for the download links. Note that there are separate ones for 32-bit and 64-bit.

There are many things you can do with this. One of them is to set the screensaver timeout. The parameter is the number of seconds, so the command to set it to 60 minutes is:

nircmd.exe screensavertimeout 3600

Put that in a batch file, or make a shortcut to it on your desktop or Start menu, or whatever you'd prefer to execute it. Regards, Joe
0
 

Author Closing Comment

by:Michael L
ID: 39994527
Awesome! Thanks!
0
 
LVL 56

Expert Comment

by:Joe Winograd, EE MVE 2015&2016
ID: 39994576
You're welcome!
0

Featured Post

Veeam and MySQL: How to Perform Backup & Recovery

MySQL and the MariaDB variant are among the most used databases in Linux environments, and many critical applications support their data on them. Watch this recorded webinar to find out how Veeam Backup & Replication allows you to get consistent backups of MySQL databases.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
IF you are either unfamiliar with rootkits, or want to know more about them, read on ....
This Micro Tutorial will go in depth within Systems and Security in Windows 7 and will go into detail regarding Action Center, Windows Firewall, System, etc. This will be demonstrated using Windows 7 operating system.
This Micro Tutorial will give you a basic overview of Windows Live Photo Gallery and show you various editing filters and touches to photos you can apply. This will be demonstrated using Windows Live Photo Gallery on Windows 7 operating system.

916 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question