Help with adding registry data, please? [NOT SOLVED! I thought it was, but it isn't]

t4akawolf

Distinguished
Feb 12, 2013
96
0
18,660
While hunting around for a solution to the "Do nothing" power option for when the laptop lid is closed being absent, I came across this:

By adding the registry keys:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Power\PowerSettings\4f971e89-eebd-4455-a8de-9e59040e7347\5ca83367-6e45-459f-a27b-476b1d01c936\3] "Description"=hex(2):40,00,25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,\ 00,6f,00,74,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,\ 5c,00,70,00,6f,00,77,00,72,00,70,00,72,00,6f,00,66,00,2e,00,64,00,6c,00,6c,\ 00,2c,00,2d,00,35,00,30,00,2c,00,54,00,61,00,6b,00,65,00,20,00,6e,00,6f,00,\ 20,00,61,00,63,00,74,00,69,00,6f,00,6e,00,00,00 "FriendlyName"=hex(2):40,00,25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,\ 00,6f,00,74,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,\ 5c,00,70,00,6f,00,77,00,72,00,70,00,72,00,6f,00,66,00,2e,00,64,00,6c,00,6c,\ 00,2c,00,2d,00,35,00,31,00,2c,00,54,00,61,00,6b,00,65,00,20,00,6e,00,6f,00,\ 20,00,61,00,63,00,74,00,69,00,6f,00,6e,00,00,00

"SettingValue"=dword:00000000

the missing 'no action' option was available again (no reboot required)!!!

The value for 'Description' is: @%SystemRoot%\system32\powrprof.dll,-50,Take no action

The value for 'FriendlyName' is: @%SystemRoot%\system32\powrprof.dll,-51,Take no action

But I have no idea how to do this. I have done some minor registry tweaking before, but they were for existing registry keys; this is adding new data, and I'm lost.

Can someone help, please?

- Nick
 
Solution
Open notepad and paste that into a new document from the W in windows down to the last 0 in the SettingValue line.

Press ctrl+s to save then type laptoplid.reg for the filename. Select all files from the filetype box and save on your desktop.

Then double click this file.

This will result in a UAC dialogue followed by a warning. Accept both and the keys will be merged.

Jason Light

Honorable
Jul 23, 2013
103
0
10,710
Open notepad and paste that into a new document from the W in windows down to the last 0 in the SettingValue line.

Press ctrl+s to save then type laptoplid.reg for the filename. Select all files from the filetype box and save on your desktop.

Then double click this file.

This will result in a UAC dialogue followed by a warning. Accept both and the keys will be merged.
 
Solution

t4akawolf

Distinguished
Feb 12, 2013
96
0
18,660


Okay, I'll try that.

The code does look safe, right? No bad stuff in there?

- Nick
 

t4akawolf

Distinguished
Feb 12, 2013
96
0
18,660


Lol, okay. Thanks for putting your own neck (your PC's neck?) on the line for me.

- Nick

UPDATE: Oh, wait, no, that didn't work.
 

Latest posts