win8用户如何获得最高权限

时间:2022-04-11 04:03:30 

用win8的朋友再打开一些系统权限的时候,总是会遇到没权限访问的情况,或者在删除一些文件的时候,也会因为权限不足,而导致无法操作,那到底该怎么获得win8的最高权限呢?小编给你来支两招

win8用户如何获得最高权限
win8用户怎么获得最高权限

第一招
我们回到经典桌面,右击计算机---管理---本地用户和组---用户,这时候我们就能看见Administrator的身影了,然后右击Administrator属性,把账户已禁用的勾去掉就行了。

win8用户如何获得最高权限
win8用户怎么获得最高权限


这时候我们组合键CRTL+ALT+DEL,选择切换用户使用Administrator账户登录就行了。

win8用户如何获得最高权限
win8用户怎么获得最高权限

第二招
导入注册表,新建一个记事本,把下面的代码复制进去,然后把文件后缀名改为.reg,双击运行即可。

取得管理员权限


Windows Registry Editor Version 5.00

;取得文件修改权限

[HKEY_CLASSES_ROOT\*\shell\runas]

@="管理员权限"

"Icon"="C:\\Windows\\System32\\imageres.dll,102"

"NoWorkingDirectory"=""
[HKEY_CLASSES_ROOT\*\shell\runas\command]

@="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F"

"IsolatedCommand"="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F"
[HKEY_CLASSES_ROOT\exefile\shell\runas2]

@="管理员权限"

"Icon"="C:\\Windows\\System32\\imageres.dll,102"

"NoWorkingDirectory"=""
[HKEY_CLASSES_ROOT\exefile\shell\runas2\command]

@="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F"

"IsolatedCommand"="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F"
[HKEY_CLASSES_ROOT\Directory\shell\runas]

@="管理员权限"

"Icon"="C:\\Windows\\System32\\imageres.dll,102"

"NoWorkingDirectory"=""
[HKEY_CLASSES_ROOT\Directory\shell\runas\command]

@="cmd.exe /c takeown /f \"%1\" /r /d y && icacls \"%1\" /grant administrators:F /t"

"IsolatedCommand"="cmd.exe /c takeown /f \"%1\" /r /d y && icacls \"%1\" /grant administrators:F /t"

2、恢复原始权限:
Windows Registry Editor Version 5.00

;恢复原始权限

[HKEY_CLASSES_ROOT\*\shell\runas-]

@="恢复原始权限"

"Icon"="C:\\Windows\\System32\\imageres.dll,101"

"NoWorkingDirectory"=""

; && takeown /f \"%1\"

[HKEY_CLASSES_ROOT\*\shell\runas-\command]

@="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /reset && cacls \"%1\" /e /r \"%%USERNAME%%\""

"IsolatedCommand"="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /reset && cacls \"%1\" /e /r \"%%USERNAME%%\""
[HKEY_CLASSES_ROOT\exefile\shell\runas2-]

@="恢复原始权限"

"Icon"="C:\\Windows\\System32\\imageres.dll,101"

"NoWorkingDirectory"=""
[HKEY_CLASSES_ROOT\exefile\shell\runas2-\command]

@="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /reset && cacls \"%1\" /e /r \"%%USERNAME%%\""

"IsolatedCommand"="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /reset && cacls \"%1\" /e /r \"%%USERNAME%%\""
[HKEY_CLASSES_ROOT\Directory\shell\runas-]

@="恢复原始权限"

"Icon"="C:\\Windows\\System32\\imageres.dll,101"

"NoWorkingDirectory"=""
[HKEY_CLASSES_ROOT\Directory\shell\runas-\command]

@="cmd.exe /c takeown /f \"%1\" /r /d y && icacls \"%1\" /reset && cacls \"%1\" /e /r \"%%USERNAME%%\""

"IsolatedCommand"="cmd.exe /c takeown /f \"%1\" /r /d y && icacls \"%1\" /reset && cacls \"%1\" /e /r \"%%USERNAME%%\""

在双击运行这两个文件后,会自动把我们需要的功能注入到注册表里,然后右键菜单就会出现一个管理员权限和一个恢复原始权限的选项,想对什么文件执行操作,想必就不用小编在这里多嘴了吧。
win8用户如何获得最高权限

标签:win8,最高权限
0
投稿

猜你喜欢

  • Windows7找不到文件helpctr.exe如何解决?

    2023-04-11 11:29:48
  • Excel如何合并计算

    2022-09-19 10:11:26
  • Boom 3D如何使用?Boom 3D使用教程

    2022-01-18 11:10:03
  • 如何在MacOS 中控制哪些应用可以访问文件和文件夹?

    2022-07-13 02:37:16
  • mac终端怎么输入密码 mac终端输入密码教程

    2022-10-04 00:03:35
  • WPS如何移动表格边框

    2023-05-09 22:59:00
  • 为什么AirPods充不满电?AirPods只能充80%的电怎么办?

    2023-10-24 18:54:58
  • Win11无法启动浏览器 Win11自带浏览器打不开怎么办

    2022-04-30 13:48:23
  • Excel2010如何快速创建丰富的数据图表 视频教程

    2022-06-01 21:36:37
  • win11电脑不显示库怎么办? win11显示此电脑的库技巧

    2023-08-28 23:24:29
  • Win7系统U盘中毒后文件夹被病毒隐藏的解决方法

    2022-12-19 17:39:38
  • 取消Word2003自动更新功能避免样式发生变化

    2023-12-12 23:05:09
  • 就可以自动计算

    2023-09-07 14:59:47
  • 如何设置多页Excel表格自动打印统一表头

    2023-08-12 12:46:17
  • word2013字和字之间插入空格的二种方法

    2023-02-03 23:25:47
  • Spotlight-Mac上的查询利器

    2023-07-23 20:44:45
  • HomePod 更新 iOS 13.2.1 后,如何播放环境音?

    2023-07-04 07:25:32
  • ​电脑版wps如何设置文档样式风格

    2023-10-29 22:00:33
  • Word中一次性把数字格式进行修改的操作方法

    2022-12-17 09:30:52
  • 新14寸MacBook Pro有望今年3月发布:升级搭载12核苹果自研处理器

    2022-06-03 09:43:13
  • asp之家 电脑教程 m.aspxhome.com