win7获取sys权限 去快捷箭头 空主页 休眠下载 任务栏快捷键-窗口切换
win7获取管理员权限(保存为.reg文件)
-------------------------------------------------------------------------------------------------------------
Windows Registry Editor Version 5.00
"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}"
-------------------------------------------------------------------------------------------------------------
去快捷方式箭头(保存为.bat)
-------------------------------------------------------------------------------------------------------------
reg add
"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Icons" /v 29 /d "%systemroot%\system32\imageres.dll,196" /t reg_sz /f taskkill /f /im explorer.exe
attrib -s -r -h "%userprofile%\AppData\Local\iconcache.db"
del "%userprofile%\AppData\Local\iconcache.db" /f /q
start explorer
-------------------------------------------------------------------------------------------------------------
ie恶意修改后恢复空主页(保存为.reg)
-------------------------------------------------------------------------------------------------------------
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\CLSID\{871C5380-42A0-1069-A2EA-08002B30309D}\shell\OpenHomePage\Command]
@=hex(2):43,00,3a,00,5c,00,50,00,72,00,6f,00,67,00,72,00,61,00,6d,00,20,00,46,\
00,69,00,6c,00,65,00,73,00,5c,00,49,00,6e,00,74,00,65,00,72,00,6e,00,65,00,\
74,00,20,00,45,00,78,00,70,00,6c,00,6f,00,72,00,65,00,72,00,5c,00,69,00,65,\
00,78,00,70,00,6c,00,6f,00,72,00,65,00,2e,00,65,00,78,00,65,00,00,00 -------------------------------------------------------------------------------------------------------------
休眠状态后台下载(保存为.reg)
-------------------------------------------------------------------------------------------------------------
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Power] "AcPolicy"=hex:01,00,00,00,06,00,00,00,03,00,00,00,00,00,00,00,02,00,00,00,03,\
00,00,00,00,00,00,00,02,00,00,00,01,00,00,00,00,00,00,00,01,00,00,00,18,f5,\
06,00,02,00,00,00,01,00,00,00,00,00,00,00,00,00,00,00,32,00,00,00,02,00,00,\
00,04,00,00,00,02,00,00,00,01,00,00,00,34,00,37,00,00,00,00,00,03,00,00,00,\
01,00,00,00,03,00,00,00,02,00,00,00,00,00,00,c0,01,00,00,00,05,00,00,00,01,\
00,00,00,0a,00,00,00,00,00,00,00,03,00,00,00,01,00,01,00,01,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,02,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,03,00,00,00,00,00,b0,04,00,00,\
35,00,33,00,39,00,38,00,2d,00,31,00,35,00,38,00,00,00,00,00,01,64,64,32,02,\
00,00,00,04,00,00,c0,00,00,00,00
"DcPolicy"=hex:01,00,00,00,06,00,00,00,03,00,00,00,00,00,00,00,02,00,00,00,03,\
00,00,00,00,00,00,00,02,00,00,00,01,00,00,00,00,00,00,00,01,00,00,00,31,00,\
38,00,02,00,00,00,00,00,00,00,00,00,00,00,2c,01,00,00,32,03,30,00,04,00,00,\
00,04,00,00,00,02,00,00,00,01,00,00,00,00,00,90,19,84,03,00,00,03,00,00,00,\
01,00,00,00,03,00,00,00,02,00,00,00,00,00,00,c0,01,00,00,00,05,00,00,00,01,\
00,00,00,0a,00,00,00,00,00,00,00,03,00,00,00,01,00,01,00,01,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,02,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,03,00,00,00,00,00,2c,01,00,00,\
01,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,58,02,00,00,01,50,64,32,02,\
00,00,00,04,00,00,c0,00,00,00,00
"AcProcessorPolicy"=hex:01,00,00,00,00,00,00,00,00,00,00,00,03,00,00,00,a0,86,\
01,00,a0,86,01,00,a0,86,01,00,28,32,00,00,02,00,00,00,a0,86,01,00,a0,86,01,\
00,a0,86,01,00,28,3c,00,00,03,00,00,00,a0,86,01,00,a0,86,01,00,a0,86,01,00,\
28,50,00,00,01,00,00,00
"DcProcessorPolicy"=hex:01,00,00,00,03,00,00,00,00,00,00,00,03,00,00,00,a0,86,\
01,00,a0,86,01,00,a0,86,01,00,0a,14,00,00,02,00,00,00,a0,86,01,00,a0,86,01,\
00,a0,86,01,00,14,28,00,00,03,00,00,00,a0,86,01,00,a0,86,01,00,a0,86,01,00,\
14,46,00,00,01,00,00,00
"PowerSettingProfile"=dword:00000000
"SystemPowerPolicy"=hex:01,00,00,00,00,00,00,00,00,00,00,00,10,00,00,00,02,00,\
00,00,00,00,00,00,00,00,00,00,02,00,00,00,00,00,00,00,00,00,00,00,01,00,00,\
00,00,00,00,00,02,00,00,00,00,00,00,00,00,00,00,00,08,07,00,00,5a,00,00,00,\
02,00,00,00,02,00,00,00,01,00,00,00,01,00,00,00,00,00,00,00,00,00,00,00,01,\
00,00,00,00,00,00,00,05,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,01,00,\
00,00,00,00,00,00,0a,00,00,00,00,00,00,00,00,00,00,00,01,00,00,00,01,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,01,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,01,00,00,00,58,\
02,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,b0,04,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00
"AwayModeEnabled"=dword:00000001
-------------------------------------------------------------------------------------------------------------
任务栏快捷键-窗口切换(需开启aero效果,同win+tab)
-------------------------------------------------------------------------------------------------------------
新建快捷方式
键入对象的位置 :C:\Windows\System32\rundll32.exe DwmApi #105
下一步
名称:窗口切换
确定
右键点击快捷方式--属性
更改图标:%SystemRoot%\explorer.exe
选择第三行、第五个(看个人喜好)
确定
右键》锁定到任务栏
ok(任务栏生成快捷键后可删除快捷方式文件)
-------------------------------------------------------------------------------------------------------------