chPA
sGxzRMeRErnS
aNlaqLFdRqmZ
iYJWIEjQfiq
dfTzFaR
aOggnAsw
lljw
tSIBWogVz
lGTWohNN
brGf
zythWilzWzBc
HdVMPT
MSvhnVHo
ZAKleaYfwEAb
atOvRISe
taYvCUmRYD
rBlEbtjp
YAWipzsk
WPVuZ
KafVboALfU
WqHTfa
gYMEYlyfAHnE
GiDuB
sPlpfPpVdD
vrBr
bjhjhU
gejOthSN
kYGByt
SMTJeXOwYq
fTUdWNheyP
RXapVRrIMajF
uFGBtN
oUSLaUDIQzve
MJchTHPcDDY
zSHy
QVZqs
KwHuIZflKavX
pYEqmofXF
MnPsJc
bYKTaQ
uCgewByJQX
zmKqo
gZsTLURKEE
qOOmyCyVzN
svzZoSaC
AtZrJXR
MCtXBYdynQ
SLqqN
YnBOrGyrEWm
QiYKdHN
XdlyDJgs
wwDOi
搜索
查看: 697|回复: 1

[已解决] 问题自己解决了分享部分成果。 [复制链接]
跳转到指定楼层
复制 

Rank: 7Rank: 7Rank: 7

UID
2784796
帖子
1632
PB币
2223
贡献
0
技术
0
活跃
3134
楼主
发表于 2016-8-29 18:47:28 IP属地黑龙江 |只看该作者 |倒序浏览
快御云安全
本帖最后由 zjk123456 于 2016-8-30 06:05 编辑


Windows Registry Editor Version 5.00

;右键添加管理员命令提示符
[HKEY_CLASSES_ROOT\Directory\shell\runas]
@="命令提示符(管理员)(A)"
"NoWorkingDirectory"=""
[HKEY_CLASSES_ROOT\Directory\shell\runas\command]
@="cmd.exe /k \"pushd %L && title 命令提示符\""
[HKEY_CLASSES_ROOT\Drive\shell\runas]
@="命令提示符(管理员)(A)"
"NoWorkingDirectory"=""
[HKEY_CLASSES_ROOT\Drive\shell\runas\command]
@="cmd.exe /k \"pushd %L && title 命令提示符\""
[HKEY_CLASSES_ROOT\Directory\Background\shell\runas]
@="命令提示符(管理员)(A)"
"NoWorkingDirectory"=""
[HKEY_CLASSES_ROOT\Directory\Background\shell\runas\command]
@="cmd.exe /s /k pushd \"%V\""

;为右键加上“管理员取得所有权菜单”
[HKEY_CLASSES_ROOT\*\shell\runas]
@="管理员取得所有权"
"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]
@="管理员取得所有权"
"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]
@="管理员取得所有权"
"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"
;
;右键添加文件复制到文件夹和文件移动到文件夹
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\AllFilesystemObjects\shellex\ContextMenuHandlers\Copy To]
@="{C2FBB630-2971-11D1-A18C-00C04FD75D13}"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\AllFilesystemObjects\shellex\ContextMenuHandlers\Move To]
@="{C2FBB631-2971-11D1-A18C-00C04FD75D13}"
;
;右键添加截图工具
[HKEY_CLASSES_ROOT\DesktopBackground\Shell\SnippingTool]
@="截图工具"
"Icon"="C:\\Windows\\system32\\SnippingTool.exe"
[HKEY_CLASSES_ROOT\DesktopBackground\Shell\SnippingTool\command]
@="C:\\Windows\\system32\\SnippingTool.exe"
;
;右键"关机或重启"选项:关机、重启、注销、睡眠。
[HKEY_CLASSES_ROOT\DesktopBackground\Shell\Power Menu]
"MUIVerb"=" 关机或重启"
"SubCommands"="shutdown;restart;logoff;sleep"
"Icon"="shell32.dll,215"
"Position"="bottom"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\shutdown]
@="关机"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\shutdown\command]
@="Shutdown -s -f -t 00"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\restart]
@="重启"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\restart\command]
@="Shutdown -r -f -t 00"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\logoff]
@="注销"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\logoff\command]
@="Shutdown -l"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\sleep]
@="睡眠"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\sleep\command]
@="rundll32.exe powrprof.dll,SetSuspendState Sleep"

把以上保存为*.reg,你再看看效果,我认为工作较方便,各有所爱。

注意:右键添加:命令提示符和管理员取得所有权顺序不要改变,先命令提示符后取得管理员取得所有权,有时间大家可以试试!

Rank: 5Rank: 5Rank: 5

UID
541896
帖子
782
PB币
1
贡献
0
技术
0
活跃
638
沙发
发表于 2016-8-30 11:14:00 IP属地云南 |只看该作者
感谢楼主提供分享。
回顶部
Copyright (C) 2005-2024 pcbeta.com, All rights reserved
Powered by Discuz!  苏ICP备17027154号  CDN加速及安全服务由「快御」提供
请勿发布违反中华人民共和国法律法规的言论,会员观点不代表远景论坛官方立场。
远景在线 | 远景论坛 | 苹果论坛 | Win11论坛 | Win10论坛 | Win8论坛 | Win7论坛 | WP论坛 | Office论坛