File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ reg add "HKCR\DesktopBackground\Shell\NVIDIAContainer" /v "Position" /t REG_SZ /
2929reg add " HKCR\DesktopBackground\Shell\NVIDIAContainer" /v " SubCommands" /t REG_SZ /d " " /f > nul
3030reg add " HKCR\DesktopBackground\shell\NVIDIAContainer\shell\NVIDIAContainer001" /v " HasLUAShield" /t REG_SZ /d " " /f > nul
3131reg add " HKCR\DesktopBackground\shell\NVIDIAContainer\shell\NVIDIAContainer001" /v " MUIVerb" /t REG_SZ /d " Enable NVIDIA Display Container LS" /f > nul
32- reg add " HKCR\DesktopBackground\shell\NVIDIAContainer\shell\NVIDIAContainer001\command" /ve /t REG_SZ /d " \" %windir% \AtlasDesktop\6. Advanced Configuration\Services\NVIDIA Display Container\Enable NVIDIA Display Container LS.cmd (default)" " /f > nul
32+ reg add " HKCR\DesktopBackground\shell\NVIDIAContainer\shell\NVIDIAContainer001\command" /ve /t REG_SZ /d " \" %windir% \AtlasDesktop\6. Advanced Configuration\Services\NVIDIA Display Container\Enable NVIDIA Display Container LS (default).cmd " " /f > nul
3333reg add " HKCR\DesktopBackground\shell\NVIDIAContainer\shell\NVIDIAContainer002" /v " HasLUAShield" /t REG_SZ /d " " /f > nul
3434reg add " HKCR\DesktopBackground\shell\NVIDIAContainer\shell\NVIDIAContainer002" /v " MUIVerb" /t REG_SZ /d " Disable NVIDIA Display Container LS" /f > nul
3535reg add " HKCR\DesktopBackground\shell\NVIDIAContainer\shell\NVIDIAContainer002\command" /ve /t REG_SZ /d " \" %windir% \AtlasDesktop\6. Advanced Configuration\Services\NVIDIA Display Container\Disable NVIDIA Display Container LS.cmd" " /f > nul
Original file line number Diff line number Diff line change @@ -13,11 +13,10 @@ fltmc > nul 2>&1 || (
1313 exit /b
1414)
1515
16- :main
1716:: check if the service exists
1817reg query " HKCR\DesktopBackground\shell\NVIDIAContainer" > nul 2 >& 1 || (
19- if " %~1 " == " /silent" exit /b
2018 echo The context menu does not exist, thus you cannot continue.
19+ if " %~1 " == " /silent" exit /b
2120 echo]
2221 pause
2322 exit /b 1
@@ -26,6 +25,7 @@ reg query "HKCR\DesktopBackground\shell\NVIDIAContainer" > nul 2>&1 || (
2625echo Explorer will be restarted to ensure that the context menu is removed.
2726pause
2827
28+ :main
2929reg delete " HKCR\DesktopBackground\Shell\NVIDIAContainer" /f > nul 2 >& 1
3030
3131:: delete icon exe
You can’t perform that action at this time.
0 commit comments