Hacker News new | past | comments | ask | show | jobs | submit login

If you have a Pro or Enterprise edition of Windows, you can configure this:

1) Launch mmc (Win+R, "mmc")

2) File -> Add/Remove Snap-In

3) Group Policy Object Editor -> Add -> Local Computer -> Ok

4) Expand Local Computer Policy -> Computer Configuration -> Administrative Templates -> Windows Components -> Search

5) Find "Prevent indexing when running on battery power to conserve energy"

6) Enable -> OK -> Close

If you're on Home Edition then make a new *.reg file with the following content:

     Windows Registry Editor Version 5.00

     [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Windows Search]
     "PreventIndexOnBattery"=dword:00000001
And run it.



You can change steps 1-3 to just "Win+R, gpmc.msc"... which will take you straight to the group policy editor.


You have to install Group Policy Tools for Windows in order to have gpmc.msc on Windows 7 work from the run box.

Going through MMC works even on virgin Windows 7 pro/ent without installing anything.


1-2 steps, Windows key, type gpmc.msc and it will be the first result in the prog search. I think this assumes the index is enabled, but since we are here ...


I'm giving this a try, and I'm having trouble following step 4. Once I add the Group Policy Object Editor to the right side of the GUI, I can click on it and get a pop-up, but I can't seem to find the expansion option.


Are you still in the "Add and Remove Snap-Ins" dialog by any chance? If you click ok on that dialog after having added the snap-in, it should appear in the main mmc UI on the left hand side.

https://i.imgur.com/ZHzEDrC.png

I've updated the original instructions a little to be more clear.


I feel very silly -- thank you very much for the help!




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: