Created
October 26, 2020 11:38
-
-
Save mattcuk/98fcfeec9be55ec50aa49dc3a1b2af57 to your computer and use it in GitHub Desktop.
Example multi-line registry entry file for USB Detect & Launch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Windows Registry Editor Version 5.00 | |
[HKEY_CURRENT_USER\Software\VB and VBA Program Settings] | |
[HKEY_CURRENT_USER\Software\VB and VBA Program Settings\USBDetector] | |
[HKEY_CURRENT_USER\Software\VB and VBA Program Settings\USBDetector\Settings] | |
"Interval"="10" | |
"Advanced"=hex(1):6c,00,61,00,62,00,65,00,6c,00,3a,00,28,00,61,00,6e,00,79,00,29,00,0a,00,65,00,78,00,65,00,63,00,3a,00,22,00,43,00,3a,00,5c,00,41,00,70,00,70,00,5c,00,55,00,53,00,42,00,2d,00,57,00,61,00,72,00,6e,00,69,00,6e,00,67,00,2e,00,62,00,61,00,74,00,22,00,20,00,22,00,25,00,31,00,22,00,0a,00,69,00,67,00,6e,00,6f,00,72,00,65,00,3a,00,63,00,3a,00,5c,00,\ | |
00,00 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To create the main hex string, I used this online tool to help.. https://www.rapidtables.com/convert/number/ascii-to-hex.html
For registry entries set it to 'UTF-16', and 'Comma' separated. Always end the string with 00,00 which signifies end of string.