LaDEEKill3R

Classic Explorer Ribbon Toggle by IT Groceries Co.,Ltd

Aug 11th, 2021
2,376
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. @echo off & Title Classic Explorer Ribbon Toggle by IT Groceries Co.,Ltd. & Color A1
  2. @pushd %~dp0 & fltmc | find "." && (powershell start '%~f0' ' %*' -verb runas 2>nul && exit /b)
  3. REG QUERY "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Blocked" /v {e2bf9676-5f8f-435c-97eb-11607a5bedf7} && REG QUERY "HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Shell Extensions\Blocked" /v {e2bf9676-5f8f-435c-97eb-11607a5bedf7}
  4. if %errorlevel% equ 0 ( REG DELETE "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Blocked" /v {e2bf9676-5f8f-435c-97eb-11607a5bedf7} /f && REG Delete "HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Shell Extensions\Blocked" /v {e2bf9676-5f8f-435c-97eb-11607a5bedf7} /f
  5. ) ELSE (
  6.     REG ADD "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Blocked" /v {e2bf9676-5f8f-435c-97eb-11607a5bedf7} /f && REG ADD "HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Shell Extensions\Blocked" /v {e2bf9676-5f8f-435c-97eb-11607a5bedf7} /f
  7. )
  8. taskkill /f /im Explorer.exe && start Explorer.exe
  9. cls
  10. echo.
  11. echo.
  12. echo ____Your Classic Explorer Ribbon Toggle Complete!!!!!!____
  13. timeout /t 4 >nul
  14. start .
RAW Paste Data