管理员获得所有权_在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.mzph.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…