Noktomezo

Disable HDCP

Feb 1st, 2025 (edited)
26
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Winbatch 2.82 KB | Source Code | 0 0
  1. :: ─────────────────────────────────────────────────────────────────────────────
  2. :: 📺 DISABLE HDCP
  3. :: ─────────────────────────────────────────────────────────────────────────────
  4. :: 📖 Disable copy protection technology that prevents unauthorized copying of digital content
  5. :: ─────────────────────────────────────────────────────────────────────────────
  6. :: ⚠️ For NVIDIA graphics card owners only
  7. :: ─────────────────────────────────────────────────────────────────────────────
  8. :: ©️ Copy & Paste it to your own .cmd/.bat file
  9. :: ─────────────────────────────────────────────────────────────────────────────
  10.  
  11.  
  12.  
  13. :: 📜 SCRIPT
  14. :: ─────────────────────────────────────────────────────────────────────────────
  15.  
  16. for /f %%a in ('reg query "HKLM\System\CurrentControlSet\Control\Class\{4d36e968-e325-11ce-bfc1-08002be10318}" /t REG_SZ /s /e /f "NVIDIA" ^| findstr "HKEY"') do (
  17.     reg add "%%a" /v "RMHdcpKeyglobZero" /t REG_DWORD /d "1" /f
  18. ) >nul 2>&1
  19.  
  20. :: ─────────────────────────────────────────────────────────────────────────────
  21.  
  22.  
  23.  
  24. :: 🔁 RESTORE DEFAULT VALUES
  25. :: ─────────────────────────────────────────────────────────────────────────────
  26.  
  27. for /f %%a in ('reg query "HKLM\System\CurrentControlSet\Control\Class\{4d36e968-e325-11ce-bfc1-08002be10318}" /t REG_SZ /s /e /f "NVIDIA" ^| findstr "HKEY"') do (
  28.     reg add "%%a" /v "RMHdcpKeyglobZero" /t REG_DWORD /d "0" /f
  29. ) >nul 2>&1
  30.  
  31. :: ─────────────────────────────────────────────────────────────────────────────
Advertisement
Add Comment
Please, Sign In to add comment