Read/Write issues with specifiv registry keys
Hello, I'd like to change some specific registry keys but did not get write access. In my case I'd like to change the behavior of the Sleep button from S3 to S4, means value 2 to 3. The key is HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Power\User\PowerScheme\POWER_SCHEME_GUID\SUB_BUTTON_GUID\SBUTTONACTION_GUID and the values for ACSEttingIndex and DCSettingsIndex. I'd like to do this via a C# application but I ameven not able to change these calues using regedit.exe. Thanks, Eddie
May 29th, 2008 1:19pm

Hi, This is a Windows Vista registry permission issue. We can resolve this issue by assigning permission to the special key. I assume your current account user is ABC 1. Open Registry Editor. 2. Click the key to which you want to assign permissions. 3. On the Edit menu, click Permissions. 4. Click Add, then type ABC(without quote) and check name, click OK. 5. Under Permissions for ABC, select the Allow check box for full control. 6. Click Advanced. 7. Under the Owner tab, check "Replace owner on subcontainers and objects" 8. Apply the settings we have changed. 9. Try to change the registry key again. Note: Incorrectly editing the registry may severely damage your system. Before making changes to the registry, you should back up any valued data on your computer. For more information about registry: Windows registry information for advanced users http://support.microsoft.com/kb/256986 By the way, if you like to change registry via a C# application, I recommend you post this issue on MSDN. In this way, the issue will be addressed more efficiently.
Free Windows Admin Tool Kit Click here and download it now
May 30th, 2008 1:00pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics