Add Windows Defender Options as Cascading Right-Click Menu in Desktop

The content below is taken from the original ( Add Windows Defender Options as Cascading Right-Click Menu in Desktop), to continue reading please visit the site. Remember to respect the Author & Copyright.

@Echo Off Cls & Color 1A Cd %systemroot%\system32 :: Add Windows Defender Options as Cascading Right-Click Menu in Desktop REM --> Check for permissions Reg query "HKU\S-1-5-19\Environment" REM --> If error flag set, we do not have admin. if %errorlevel% NEQ 0 ( ECHO ************************************** ECHO Running Admin shell... Please wait... ECHO ************************************** goto UACPrompt ) else ( goto gotAdmin ) :UACPrompt echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs" set params = "%*:"="" echo UAC.ShellExecute "cmd.exe", "/c ""%~s0"" %params%", "", "runas", 1 >> "%temp%\getadmin.vbs" "%temp%\getadmin.vbs" del "%temp%\getadmin.vbs" exit /B :gotAdmin Cls & Mode CON LINES=11 COLS=80 & Color 0D & Title Created By FreeBooter Echo. Echo. Echo. Echo Add Cascading Windows Defender Options in Desktop Context Menu (Y/N)? Echo. Echo. Echo. Set /p input= RESPONSE: If /i Not %input%==Y (Goto :_Ex) Else (Goto :_Start) :_Ex If /i Not %input%==N (Goto :EOF) Else (Goto :_RegRestore) :_Start Reg.exe add "HKCR\DesktopBackground\Shell\WindowsDefender" /v "Icon" /t REG_SZ /d "C:\Program Files\Windows Defender\EppManifest.dll" /f > Nul Reg.exe add "HKCR\DesktopBackground\Shell\WindowsDefender" /v "SubCommands" /t REG_SZ /d "WD-Open;WD-Settings;WD-Update;WD-QuickScan;WD-FullScan" /f > Nul Reg.exe add "HKCR\DesktopBackground\Shell\WindowsDefender" /v "Muiverb" /t REG_SZ /d "Windows Defender" /f > Nul Reg.exe add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\WD-FullScan" /ve /t REG_SZ /d "Full Scan" /f > Nul Reg.exe add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\WD-FullScan" /v "Icon" /t REG_SZ /d "C:\Program Files\Windows Defender\EppManifest.dll" /f > Nul Reg.exe add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\WD-FullScan\command" /ve /t REG_SZ /d "\"C:\Program Files\Windows Defender\MSASCui.exe\" -FullScan" /f > Nul Reg.exe add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\WD-Open" /ve /t REG_SZ /d "Open" /f > Nul Reg.exe add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\WD-Open" /v "Icon" /t REG_SZ /d "C:\Program Files\Windows Defender\EppManifest.dll" /f > Nul Reg.exe add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\WD-Open\command" /ve /t REG_SZ /d "C:\Program Files\Windows Defender\MSASCui.exe" /f > Nul Reg.exe add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\WD-QuickScan" /ve /t REG_SZ /d "Quick Scan" /f > Nul Reg.exe add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\WD-QuickScan" /v "Icon" /t REG_SZ /d "C:\Program Files\Windows Defender\EppManifest.dll" /f > Nul Reg.exe add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\WD-QuickScan\command" /ve /t REG_SZ /d "\"C:\Program Files\Windows Defender\MSASCui.exe\" -QuickScan" /f > Nul Reg.exe add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\WD-Settings" /ve /t REG_SZ /d "Settings" /f > Nul Reg.exe add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\WD-Settings" /v "Icon" /t REG_SZ /d "C:\Program Files\Windows Defender\EppManifest.dll" /f > Nul Reg.exe add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\WD-Settings\command" /ve /t REG_SZ /d "explorer.exe ms-settings:" /f > Nul Reg.exe add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\WD-Update" /ve /t REG_SZ /d "Update" /f > Nul Reg.exe add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\WD-Update" /v "Icon" /t REG_SZ /d "C:\Program Files\Windows Defender\EppManifest.dll" /f > Nul Reg.exe add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\WD-Update\command" /ve /t REG_SZ /d "\"C:\Program Files\Windows Defender\MSASCui.exe\" -Update" /f > Nul Cls & Mode CON LINES=11 COLS=60 & Color 0D & Title Created By FreeBooter Echo. Echo. Echo. Echo. Echo Adding Cascading Windows Defender Options Echo. Echo. Echo. Ping -n 6 localhost >Nul Exit :_RegRestore Reg.exe delete "HKCR\DesktopBackground\Shell\WindowsDefender" /f > Nul Reg.exe delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\WD-FullScan" /f > Nul Reg.exe delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\WD-Open" /f > Nul Reg.exe delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\WD-QuickScan" /f > Nul Reg.exe delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\WD-Settings" /f > Nul Reg.exe delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\WD-Update" /f > Nul Cls & Mode CON LINES=11 COLS=60 & Color 0D & Title Created By FreeBooter Echo. Echo. Echo. Echo. Echo Removing Cascading Windows Defender Options Echo. Echo. Echo. Ping -n 6 localhost >Nul Exit 

submitted by /u/FreeBooter_ to r/usefulscripts
[link] [comments]