Win11 正式版如何讓鼠標右鍵菜單默認“顯示更多選項”。


把以下代碼貼入記事本,然后另存為“xxx.bat”。

 

警告一旦運行,Win10 默認會注銷,然后重新登陸,輸入密碼。這時候你之前打開的所有應用程序(APP)會退出,比如:Chrome 瀏覽器、Visual Studio 2022、記事本等等。

 

@echo off
color 1f
:start
cls
echo,
echo     修改右鍵菜單模式
echo,
echo   1 Windows 10 傳統模式
echo,
echo   2 Windows 11 默認模式
echo,
echo,
echo,
echo   0 放棄修改,退出
echo,
echo,
choice /c:120 /n /m:"請選擇要使用的模式"
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

 

謝謝瀏覽!


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM