Advertisement
Takiry

Windows11_Kontextmenue

Mar 14th, 2024
814
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 0.51 KB | Source Code | 0 0
  1. @echo off
  2. set /p sid=SID des Nutzers:
  3. echo.
  4.  
  5. echo Wie soll das Kontextmenue aussehen?
  6. echo 1 = Wie bei Windows 10
  7. echo 2 = Wie bei Windows 11
  8. echo.
  9. set /p ausw=Auswahl:
  10.  
  11. if %ausw% EQU 1 (
  12. reg.exe add "HKEY_USERS\%sid%_Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32" /f /ve
  13. goto restart
  14. )
  15.  
  16. if %ausw% EQU 2 (
  17. reg.exe delete "HKEY_USERS\%sid%_Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32" /f /ve
  18. goto restart
  19. )
  20. else (
  21. exit
  22. )
  23.  
  24. :restart
  25. shutdown.exe -r -f -t 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement