管理員獲得所有權_在Windows 7中獲得注冊表項的所有權

管理員獲得所有權

管理員獲得所有權

00_taking_ownership_of_key

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鏈接打開注冊表編輯器。

01_opening_registry_editor

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.

注意:根據您的“用戶帳戶控制”設置,您可能看不到此對話框。

02_uac_dialog

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.

右鍵單擊所需的鍵,然后從彈出菜單中選擇“權限”。

03_selecting_permissions_for_a_key

On the Permissions dialog box, click Advanced.

在“權限”對話框中,單擊“高級”。

04_clicking_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.

單擊高級安全設置對話框上的所有者選項卡。 在將所有者更改為列表框中選擇所有者名稱。 如果要擁有所有子容器和對象的所有權,請選中“替換子容器和對象的所有者”復選框。

05_selecting_owner

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.

如果希望所選父對象的每個子對象(子項)都具有從其父對象繼承的權限,請選中“包括從該對象的父對象繼承的權限”復選框。 如果希望所選父對象的權限替換其后代對象的權限,請選中“使用可繼承的對象替換所有子對象權限”復選框。 單擊“應用”應用更改。

06_selecting_inherit_permission_options

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鍵)將繼承該對象的權限。 如果要接受此操作,請單擊“是”,然后繼續。

07_do_you_wish_to_continue

Click OK to close the Advanced Security Settings dialog box.

單擊“確定”關閉“高級安全設置”對話框。

07a_clicking_ok

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.

您將返回到“權限”對話框。 從“組或用戶名”列表中選擇所需的用戶名,然后選中“完全控制”行的“允許”列下的復選框。 單擊確定。

08_selecting_full_control

To close the Registry Editor, select Exit from the File menu.

若要關閉注冊表編輯器,請從“文件”菜單中選擇“退出”。

09_closing_registry_editor

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/

管理員獲得所有權

本文來自互聯網用戶投稿,該文觀點僅代表作者本人,不代表本站立場。本站僅提供信息存儲空間服務,不擁有所有權,不承擔相關法律責任。
如若轉載,請注明出處:http://www.pswp.cn/news/280760.shtml
繁體地址,請注明出處:http://hk.pswp.cn/news/280760.shtml
英文地址,請注明出處:http://en.pswp.cn/news/280760.shtml

如若內容造成侵權/違法違規/事實不符,請聯系多彩編程網進行投訴反饋email:809451989@qq.com,一經查實,立即刪除!

相關文章

Dojo QuickStart 快速入門教程 (2) 基本框架

下載庫 首先,下載 Dojo 庫:http://www.dojotoolkit.org/downloads 放了方便測試,我將文件將解壓到 Web Server 的 "js/dojotoolkit" 文件夾中,如果你愿意,也可以綴上版本號。最后的目錄結構應該像下圖這樣&a…

攤牌了,.NET開發者,準備賦能未來

hi,這里是桑小榆。一名.net開發,從19年畢業至今一直從事相關技術已近4年。發展至今,很有必要分享分享我的經歷以及對于.net開發的看法和見解。篇幅有些長,無論你是學生,職業人,.NET開發者還是其他語言開發者…

網絡爬蟲練習

1.利用requests.get(url)獲取網頁頁面的html文件 import requests newsurlhttp://news.gzcc.cn/html/xiaoyuanxinwen/ res requests.get(newsurl) #返回response對象 res.encodingutf-8 print(res.text) 2.利用BeautifulSoup的HTML解析器,生成結構樹 import reques…

BZOJ 3434 時空穿梭

題目鏈接:http://www.lydsy.com/JudgeOnline/problem.php?id3434 題意: 思路: const int mod10007; const int N100005;int g[22][N]; int C[N][22],mou[N]; int h[22][N][13];int prime[N],cnt; int tag[N];void init() {int i,j;mou[1]1;f…

powershell /遍歷/psobject/字符串轉換Json/json數組操作

讀取json文檔 $json (Get-Content "C:\HDDList.json" -Raw) | ConvertFrom-Json $select$json.Content.selected[0] $HddCoun$json.Content.normal.Count 遍歷數組 foreach($str in $json.versions) { echo "value: $str" } json數據轉換psobject.pro…

plex實現流媒體服務器_如何從Plex Media Server離線查看下載和同步媒體

plex實現流媒體服務器Streaming content from your Plex Media Server is great, but sometimes—like when you’re going to be offline or stuck with cruddy internet speeds while traveling—there’s no substitution for having a copy of the media stored on your de…

.NET Conf 2022?大會日程全曝光!!前沿、硬核、創意.....精彩就等你來!!

倒計時2天一場規模宏大,內容硬核,大咖齊聚的.NET 領域年度最大的盛會即將開幕.NET Conf 2022 12月3日-12月4日開源 安全 賦能誠邀您的加入立即掃碼預約加入.NET年度盛宴!!.NET Conf China 2022.NET Conf China 2022是面向開發人員…

SpringMVC 數據的格式化、JSR 303數據校驗和國際化

SpringMVC 數據的格式化、JSR 303數據校驗和國際化轉載于:https://www.cnblogs.com/lusufei/p/7400963.html

C# 對程序窗口進程和進程ID

獲取當前激活窗口(頂置) GetForegroundWindow() [DllImport("user32.dll")]public static extern IntPtr GetForegroundWindow();[DllImport("user32.dll", EntryPoint "GetWindowText")]public static extern int GetW…

Linux下SSH遠程連接斷開后讓程序繼續運行解決辦法

screen -S yourname #新建一個叫yourname的sessionscreen -r yourname #回到yourname這個sessionscreen -X -S [yourname # you want to kill]quit #刪除無用的screen,使用時不用加中括號 screen -ls #列出當前所有的session screen -d yourname #遠程detach某個ses…

網游的服務器瓶頸

1.服務器的數量。 2.服務器的I/O瓶頸。 3.游戲當中的突發性高并發量。 4.CPU主頻。

誰說.NET沒有GC調優,只改一行代碼就讓程序不再占用內存

經常看到有群友調侃“為什么搞Java的總在學習JVM調優?那是因為Java爛!我們.NET就不需要搞這些!”真的是這樣嗎?今天我就用一個案例來分析一下。昨天,一位學生問了我一個問題:他建了一個默認的ASP.NET Core …

wmi服務或wmi提供程序_什么是WMI提供程序主機(WmiPrvSE.exe),為什么使用那么多的CPU?...

wmi服務或wmi提供程序The WMI Provider Host process is an important part of Windows, and often runs in the background. It allows other applications on your computer to request information about your system. This process shouldn’t normally use many system re…

C# 快捷鍵/hotkey簡單例子

1.導入dll [System.Runtime.InteropServices.DllImport("user32.dll")] //申明API函數public static extern bool RegisterHotKey(IntPtr hWnd, // handle to windowint id, // hot key identifieruint fsModifiers, // key-modifier optionsKeys vk // virtual-key …

POJ 3233

矩陣分治 注意不要用 (*this) 會改變原值 #include <iostream> #include <cstdio> #include <cstring> #include <cmath> #include <algorithm> #include <cstdlib> using namespace std; int n, p, k; struct Matrix{int num[35][35];voi…

zookeeper和etcd有狀態服務部署

zookeeper和etcd有狀態服務部署實踐 docker etcd zookeeper kubernetes 4k 次閱讀 讀完需要 78 分鐘 0 一. 概述 kubernetes通過statefulset為zookeeper、etcd等這類有狀態的應用程序提供完善支持&#xff0c;statefulset具備以下特性&#xff1a; 為pod提供穩定的唯一…

正在創建系統還原點_如何使Windows在啟動時自動創建系統還原點

正在創建系統還原點By default, System Restore automatically creates a restore point once per week and also before major events like an app or driver installation. If you want even more protection, you can force Windows to create a restore point automaticall…

WinForm(十六)綁定

在WinForm中&#xff0c;有很多添加和修改數據的場景&#xff0c;一般的做法是當點擊“添加”按鈕時&#xff0c;收集各控件的值&#xff0c;然后賦值給實體類的各個屬性&#xff0c;然后再完成保存工作。在修改時&#xff0c;首先把實體的原值&#xff0c;一個個賦值給控件&am…

在ubuntu 16.04里使用python—scrapy將爬取到的數據存到mysql數據庫中的一些隨筆

一、將爬取的數據保存到mysql數據庫的代碼&#xff08;已經能將爬取的數據保存到json文件&#xff09; &#xff08;1&#xff09;編輯Pipeline.py文件 &#xff08;2&#xff09;編輯settings.py文件 二、將數據保存至mysql數據庫出現的問題 &#xff08;1&#xff09;在將數據…

powershell XML操作

1.直接加入xml結構 加入<title>是為了后續能直接添加其他node&#xff0c;否則&#xff0c;后續操作可能無法AppendChild $xml "<?xml version1.0 encodingUTF-8?><case><title>please check each point</title></case>"$xm…