Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save gambe/8b63fa14542a0e18e0d47dfa97fc298e to your computer and use it in GitHub Desktop.

Select an option

Save gambe/8b63fa14542a0e18e0d47dfa97fc298e to your computer and use it in GitHub Desktop.
@echo off
REM // This batch will help frustrated AMD Ryzen user for being unable to normally use adb fastboot from Windows OS
REM // I found this script on forum, I don't know who is the original creator of this registry hack, thank you very much
REM // Credit belongs to the original creator
REM // Just simply Run as Administrator
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\usbflags\18D1D00D0100" /v "osvc" /t REG_BINARY /d "0000" /f
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\usbflags\18D1D00D0100" /v "SkipContainerIdQuery" /t REG_BINARY /d "01000000" /f
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\usbflags\18D1D00D0100" /v "SkipBOSDescriptorQuery" /t REG_BINARY /d "01000000" /f
pause
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment