Skip to content

Instantly share code, notes, and snippets.

@ruzfi
Created June 15, 2023 17:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ruzfi/0d8d656833bec07aba979f6a9e03fcbc to your computer and use it in GitHub Desktop.
Save ruzfi/0d8d656833bec07aba979f6a9e03fcbc 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