Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: change power settings based on location

16 Apr 2013   #1
lpoulter

Windows 7 Home Premium 64bit.
 
 
change power settings based on location

Hi is there anyway to automatically switch power setting based on my location. Say if I'm connected to my home network be in high performance mode. Or perhaps a program that does this? If not does anyone know how I might go about creating one ( I'm a computer science student) thanks, Laurie


My System SpecsSystem Spec
.

16 Apr 2013   #2
Amingst

Windows 7 Home Premium 64bit
 
 

No, i do not think that there is a way to do that.
My System SpecsSystem Spec
16 Apr 2013   #3
UsernameIssues

W7 Pro SP1 64bit
 
 

Quote   Quote: Originally Posted by lpoulter View Post
Hi is there anyway to automatically switch power setting based on my location. Say if I'm connected to my home network be in high performance mode. Or perhaps a program that does this? If not does anyone know how I might go about creating one ( I'm a computer science student) thanks, Laurie
Welcome to the Seven Forums.

What a great opportunity to write your own tool to do this. Even if you found one that someone else wrote, chances are, it would not function exactly the way you want it to.

You can use the info here...
Powercfg Command-Line Options
...to change the power settings.

To automatically detect when you are home, look* for your router. If your router is found, then change to the desired power configuration. If your router is not found (e.g. you are not home), have your app sleep for a few minutes, then ping again. Or, if you have a file server at home, look for a certain file (perhaps via UNC).

*Set the router to an unusual IP address and ping that. Pick an IP that you would have little chance encountering elsewhere. Or even better, look for the mac address of the router:
Code:
arp -a 192.168.0.1
(where 192.168.0.1 is your router's IP address)


You can write this all using Windows PowerShell or a tool like AutoIt3 or AutoHotKey or .....

Let us know how it goes.
My System SpecsSystem Spec
.


16 Apr 2013   #4
Brink
Microsoft MVP

64-bit Windows 10 build 10159
 
 

Hello lpoulter, and welcome to Seven Forums.

If you like, you could use either tutorial below to make it easy to manually switch between power plans at will with a single click.

Power Plan - Choose from Desktop Context Menu in Windows

and/or

Power Plan - Create Shortcut to Change Power Plan

Hope this helps,
Shawn
My System SpecsSystem Spec
Reply

 change power settings based on location




Thread Tools





Similar help and support threads
Thread Forum
Power Plan Settings - Change
How to Change Power Plan Settings in Windows 7 This will show you how to change the settings for the power plan that you have selected to reflect how you want your Windows 7 computer to manage power usage. Here's How: 1. Open the Start Menu, and type powercfg.cpl in the search...
Tutorials
How can I change power plan and run scripts based on power state?
I overclock my CPU by changing its FSB and I have scheduled (Task Scheduler) this script to run every time I logon to Windows. But I would like to schedule it to downclock when I pull the power cord and then overclock as I plug it back in. Is this possible? It would also be nice if Windows changed...
General Discussion
Unable to change Power settings
Hi, I have been having some issues changing the power settings on my Dell desktop running Windows 7 Ultimate. When i go into Control Panel and then into Power settings all i get is a little red circle with a x in it. Any ideas? Untitled | Flickr - Photo Sharing!
Performance & Maintenance
Script to change power settings
Greetings, I am attempting to temporarily disable hibernate and make sure the monitor doesn't go off while I am running a script to complete system configuration. control powercfg.cpl -monitor-timeout-ac 30 control powercfg.cpl -monitor-timeout-dc 30 control powercfg.cpl /hibernate off
Performance & Maintenance
Power settings don't really change anything?
Hi. I had previously set my system to "Do nothing" when I physically press the power button, to avoid accidental manual shutdown. Well I was doing something and accidentaly pressed the button. The computer shutdown. I checked again under power settings, and the "Do nothing" option was indeed...
General Discussion
Change power settings based on a schedule?
Say you want the computer automatically to go into Power Saver mode at night, High Performance during 9-5pm hours, and then Balanced at other times. Is there a way to do this? It might be doable using task scheduler and the powercfg command, but the main issue with that is if you computer is...
Performance & Maintenance

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 15:45.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App