This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: SFC : updating system regisry keys. Windows 7
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 29, 2010
07:18 AM
SFC : updating system regisry keys. Windows 7
Hi,
I want to install/update a registry key under hkcr\clsid\{guid}\InProcServer32
with New as Key and dummy as value. This is for Windows 7
I have added this key in component.
But I am not able to create the key.
The MSI log says.
SFC: The following entry was not added, because its key is protected by Windows: Key: \Software\Classes\CLSID\{EA502722-A23D-11D1-A7D3-0000F87571E3}\s
erver Name:
SFC: Cannot create the following key due to windows protection: \Software\Classes\CLSID\{EA502722-A23D-11D1-A7D3-0000F87571E3}
I there a way or some attributes so that i create the keys here ?
Does LockPermissions table help here ?
Please let me know.
I want to install/update a registry key under hkcr\clsid\{guid}\InProcServer32
with New as Key and dummy as value. This is for Windows 7
I have added this key in component.
But I am not able to create the key.
The MSI log says.
SFC: The following entry was not added, because its key is protected by Windows: Key: \Software\Classes\CLSID\{EA502722-A23D-11D1-A7D3-0000F87571E3}\s
erver Name:
SFC: Cannot create the following key due to windows protection: \Software\Classes\CLSID\{EA502722-A23D-11D1-A7D3-0000F87571E3}
I there a way or some attributes so that i create the keys here ?
Does LockPermissions table help here ?
Please let me know.
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 29, 2010
12:01 PM
Windows Vista and newer do not allow system resources protected with Windows Resource Protection to be modified by any method except those documented in the following article:
Supported Resource Replacement Mechanisms
The registry key you mentioned is part of the operating system Group Policy component and is therefore a protected key.
Supported Resource Replacement Mechanisms
The registry key you mentioned is part of the operating system Group Policy component and is therefore a protected key.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 01, 2010
02:10 AM
Thanks for your update.
Is there NO way to create the key?
Is there any kind of Hack ?
Is there NO way to create the key?
Is there any kind of Hack ?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 06, 2010
06:47 PM
The operating system is purposely preventing keys that it considers protected from being modified except by one of the update mechanisms listed in the MSDN article previously mentioned. This functionality is in place to prevent applications from breaking operating system components. As such, there is no way to work around this protection that we are aware of.
![](/skins/images/A5EADE085F77DE82FB3B14D6B307AE6A/responsive_peak/images/icon_anonymous_message.png)