![无法编辑受保护的工作表](https://i-blog.csdnimg.cn/blog_migrate/5699a4a5b2775451f478e280cd6167ed.png)
无法编辑受保护的工作表
![wrp_top](https://i-blog.csdnimg.cn/blog_migrate/10cd39d49f216cf264c099c9fcd58c8b.png)
We talk about a lot of cool things here at How-To Geek that you can do by editing the Windows Registry. Occasionally, though, you will run into a Registry key or value that you don’t have permission to edit. When you try, you’ll see an error message saying “Cannot edit _____: Error writing the value’s new contents.” Fortunately, just like in the Windows file system, the Registry provides tools that let you take ownership of and edit permissions for keys. Here’s how to do it.
我们在How-To Geek上讨论了很多很酷的事情,您可以通过编辑Windows注册表来完成。 但是,有时,您会遇到您没有编辑权限的注册表项或值。 尝试时,您会看到一条错误消息,内容为“无法编辑_____:写入值的新内容时出错。” 幸运的是,就像在Windows文件系统中一样,注册表提供了一些工具,可让您获得密钥的所有权并对其进行编辑。 这是操作方法。
Registry Editor is a powerful tool and misusing it can render your system unstable or even inoperable. So there’s a reason some of these Registry keys are protected. Editing a protected key can sometimes mess up Windows or the app the key relates to. We will never point you to any hacks that we haven’t tested ourselves, but it still pays to be careful. If you’ve never worked with the Registry before, consider reading about how to use the Registry Editor before you get started. And definitely back up the Registry (and your computer!) before making changes.
注册表编辑器是一个功能强大的工具,滥用它会使您的系统不稳定甚至无法运行。 因此,其中的某些注册表项受到保护是有原因的。 编辑受保护的密钥有时可能会使Windows或与该密钥有关的应用程序混乱。 我们绝不会向您指出任何尚未经过自我测试的骇客,但仍然值得谨慎。 如果您以前从未使用过注册表 ,请在开始之前考虑阅读有关如何使用注册表编辑器的信息 。 并在进行更改之前一定要备份注册表 (和您的计算机 !)。
In Registry Editor, right-click the key that you can’t edit (or the key that contains the value you can’t edit) and then choose “Permissions” from the context menu.
在注册表编辑器中,右键单击无法编辑的键(或包含无法编辑的值的键),然后从上下文菜单中选择“权限”。
![wrp_1](https://i-blog.csdnimg.cn/blog_migrate/15108e9d1194d2b08aa3e298a7945cde.png)
In the Permissions window that appears, click the “Advanced” button.
在出现的“权限”窗口中,单击“高级”按钮。
![wrp_2](https://i-blog.csdnimg.cn/blog_migrate/34eb10b29b286b3a93038a53359ebaf3.png)
Next, you’re going to take ownership of the Registry key. In the “Advanced Security Settings” window, next to the listed Owner, click the “Change” link.
接下来,您将拥有注册表项的所有权。 在“高级安全设置”窗口中,在列出的所有者旁边,单击“更改”链接。
![wrp_3](https://i-blog.csdnimg.cn/blog_migrate/74470fc37f054a9bc7fc5649a12a9bd9.png)
In the “Select User or Group” window, in the “Enter the object name to select” box, type the name of your Windows user account (or your email address if you have a Microsoft account) and then click the “Check Names” button to validate the account name. When that’s done, click OK to close the “Select User or Group” window and then click OK again to close the “Advanced Security Settings” window.
在“选择用户或组”窗口的“输入要选择的对象名称”框中,键入Windows用户帐户的名称(如果您有Microsoft帐户,则输入电子邮件地址),然后单击“检查名称”。按钮以验证帐户名称。 完成后,单击“确定”关闭“选择用户或组”窗口,然后再次单击“确定”关闭“高级安全设置”窗口。
![wrp_4](https://i-blog.csdnimg.cn/blog_migrate/b9d86c3ed8733a7bb989e02472d0065a.png)
Back at the regular Permissions window, select the Users group and then choose the “Allow” check box next to the “Full Control” permission. If you prefer, you can just give your user account full permissions rather than the Users group. To do that, click the Add button, walk through the steps to add your user account to the list, and then give that account the Full Control permission. Whichever method you choose, click OK when you’re done to return to Registry Editor.
返回常规权限窗口,选择“用户”组,然后选择“完全控制”权限旁边的“允许”复选框。 如果愿意,您可以只授予用户帐户完全权限,而不是Users组。 为此,请单击“添加”按钮,逐步执行将用户帐户添加到列表中的步骤,然后为该帐户授予“完全控制”权限。 无论选择哪种方法,完成后都单击“确定”以返回到注册表编辑器。
![wrp_5](https://i-blog.csdnimg.cn/blog_migrate/418fee7c34556d8f195f314e0b34070d.png)
Back in Registry Editor, you should now be able to make the changes to the key you’ve taken ownership of and given yourself full permissions to edit. You likely won’t run into protected keys that often when editing the Registry. We rarely come across them ourselves. Still, it’s good to know how to get around that protection when you need to.
回到注册表编辑器,您现在应该能够对已拥有的密钥进行更改,并赋予您完全的编辑权限。 在编辑注册表时,您可能不会经常遇到保护密钥。 我们很少亲自遇到他们。 尽管如此,还是很高兴知道在需要时如何避开该保护措施。
翻译自: https://www.howtogeek.com/262464/how-to-gain-full-permissions-to-edit-protected-registry-keys/
无法编辑受保护的工作表