
管理員獲得所有權

We have previously written about how to take ownership of files and folders in Windows 7, but there may be times when you need to take ownership of or assign full permission for certain registry keys. This article shows you how to do this.
先前我們已經寫過關于如何在Windows 7中獲得文件和文件夾所有權的信息,但是有時您可能需要獲得某些注冊表項的所有權或為其分配完全權限。 本文介紹了如何執行此操作。
NOTE: Before making changes to the registry, be sure you back up the registry. We also recommend creating a restore point you can use to restore your system if something goes wrong.
注意:在更改注冊表之前,請確保您備份了注冊表。 我們還建議您創建一個還原點,以便在出現問題時用于還原系統。
To take ownership of a registry key, open the registry editor, if it is not already open. Type “regedit” in the Search box on the Start menu and pressing enter when regedit.exe is highlighted in the search results. You can also click on the regedit.exe link to open the registry editor.
要獲得注冊表項的所有權,請打開注冊表編輯器(如果尚未打開)。 在“開始”菜單上的“搜索”框中鍵入“ regedit”,然后在搜索結果中突出顯示regedit.exe時按Enter。 您也可以單擊regedit.exe鏈接打開注冊表編輯器。

If the User Account Control dialog box displays, click Yes to continue.
如果顯示“用戶帳戶控制”對話框,請單擊“是”繼續。
NOTE: You may not see this dialog box, depending on your User Account Control settings.
注意:根據您的“用戶帳戶控制”設置,您可能看不到此對話框。

Navigate to the key you want to take ownership of. For this example, we chose the following key:
導航到您要擁有所有權的密鑰。 對于此示例,我們選擇以下鍵:
HKEY_CLASSES_ROOT\DesktopBackground\Shell\Display
HKEY_CLASSES_ROOT \ DesktopBackground \ Shell \ Display
Right-click on the desired key and select Permissions from the popup menu.
右鍵單擊所需的鍵,然后從彈出菜單中選擇“權限”。

On the Permissions dialog box, click Advanced.
在“權限”對話框中,單擊“高級”。

Click the Owner tab on the Advanced Security settings dialog box. Select the owner name in the Change owner to list box. If you want to take ownership of all the subcontainers and objects, select the Replace owner on subcontainers and objects check box.
單擊高級安全設置對話框上的所有者選項卡。 在將所有者更改為列表框中選擇所有者名稱。 如果要擁有所有子容器和對象的所有權,請選中“替換子容器和對象的所有者”復選框。

If you want each child object (subkeys) of the selected parent object to have permissions inherited from its parent object, select the Include inheritable permissions from this object’s parent check box. If you want the permissions on the selected parent object to replace those on its descendant objects, select the Replace all child object permissions with inheritable permissions from this object check box. Click Apply to apply your changes.
如果希望所選父對象的每個子對象(子項)都具有從其父對象繼承的權限,請選中“包括從該對象的父對象繼承的權限”復選框。 如果希望所選父對象的權限替換其后代對象的權限,請選中“使用可繼承的對象替換所有子對象權限”復選框。 單擊“應用”應用更改。

A dialog box displays warning you that all subkeys of the object, in this case the Display key, will inherit permissions from the object. Click Yes if you want to accept this and continue.
將顯示一個對話框,警告您該對象的所有子鍵(在本例中為Display鍵)將繼承該對象的權限。 如果要接受此操作,請單擊“是”,然后繼續。

Click OK to close the Advanced Security Settings dialog box.
單擊“確定”關閉“高級安全設置”對話框。

You are returned to the Permissions dialog box. Select the desired user name from the Group or user names list and select the check box under the Allow column for the Full Control row. Click OK.
您將返回到“權限”對話框。 從“組或用戶名”列表中選擇所需的用戶名,然后選中“完全控制”行的“允許”列下的復選框。 單擊確定。

To close the Registry Editor, select Exit from the File menu.
若要關閉注冊表編輯器,請從“文件”菜單中選擇“退出”。

NOTE: Be careful when taking ownership of registry keys and changing them. If you are not sure what you are doing in the registry, it is best not to experiment with changing registry keys.
注意:擁有并更改注冊表項的所有權時要小心。 如果不確定在注冊表中正在做什么,最好不要嘗試更改注冊表項。
翻譯自: https://www.howtogeek.com/77878/take-ownership-of-or-assign-full-permission-for-a-registry-key-in-windows-7/
管理員獲得所有權