Solved

Script to Change Screen Timeout

Posted on 2014-04-11
3
423 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 52

Accepted Solution

by:
Joe Winograd, EE MVE earned 500 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 52

Expert Comment

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

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Learn about cloud computing and its benefits for small business owners.
By default the complete memory dump option is disabled in windows . If we want to enable the complete memory dump for a diagnostic purpose, we have a solution for it. here we are using the registry method to enable this.
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
This Micro Tutorial will give you a introduction in two parts how to utilize Windows Live Movie Maker to its maximum capability. This will be demonstrated using Windows Live Movie Maker on Windows 7 operating system.

770 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