本帖最后由 smss 于 2020-6-9 12:34 编辑
::以管理员权限远行- %1 mshta vbscript:CreateObject("Shell.Application").ShellExecute("cmd.exe","/c %~s0 ::","","runas",1)(window.close)&&exit
复制代码 ::关闭UAC提示框重启生效- reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v EnableLUA /t REG_DWORD /d 0 /f
复制代码 : E刷系统时挂载单元修改一劳永逸- for %%i in (C D E F G H I J K L) do if exist %%i:\Windows\system32\cmd.exe set n=%%i:
- reg load HKLM\PE_Software %n%\windows\system32\config\Software
- reg add HKLM\PE_SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v EnableLUA /t REG_DWORD /d 0 /f
- reg unload "hklm\PE_Software"
- del /ah/f/s/q "%n%\windows\system32\config"
复制代码
|