Solved

Script to Change Screen Timeout

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

[Webinar] Disaster Recovery and Cloud Management

Learn from Unigma and CloudBerry industry veterans which providers are best for certain use cases and how to lower cloud costs, how to grow your Managed Services practice in IaaS clouds, and how to utilize public cloud for Disaster Recovery

Question has a verified solution.

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

Suggested Solutions

A quick step-by-step overview of installing and configuring Carbonite Server Backup.
Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
This Micro Tutorial will teach you the basics of configuring your computer to improve its speed. It will also teach you how to disable programs that are running in the background simultaneously. This will be demonstrated using Windows 7 operating…
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.

911 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now