切换Windows11右键菜单模式

moonjerx
2022-02-09 / 0 评论 / 38 阅读 / 正在检测是否收录...
echo off
color 1f
:start
cls
echo,
echo Modify right menu mode:1.Win10 mode 2.Win11 mode 0.Exist
echo,
choice /c:120 /n /m:"Please choose mode!"
if %errorlevel%==0 exit
if %errorlevel%==2 goto cmd2
if %errorlevel%==1 goto cmd1
exit

:cmd1
reg.exe add "HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32" /f /ve
shutdown -l
exit

:cmd2
reg.exe delete "HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}" /f
shutdown -l
exit
0

评论 (0)

取消

您的IP: