Skip to content

Instantly share code, notes, and snippets.

@mattmattox
Forked from LiamKarlMitchell/HideVirtualBox.bat
Created July 29, 2020 22:15
Show Gist options
  • Save mattmattox/59c20d42595b33686fed50e7551e647b to your computer and use it in GitHub Desktop.
Save mattmattox/59c20d42595b33686fed50e7551e647b to your computer and use it in GitHub Desktop.
Hide Virtual Machine.
@echo off
@reg copy HKLM\HARDWARE\ACPI\DSDT\VBOX__ HKLM\HARDWARE\ACPI\DSDT\NOBOX__ /s /f
@reg delete HKLM\HARDWARE\ACPI\DSDT\VBOX__ /f
@reg add HKLM\HARDWARE\DESCRIPTION\System /v SystemBiosVersion /t REG_MULTI_SZ /d "NOBOX - 1" /f
@reg add HKLM\HARDWARE\DESCRIPTION\System /v VideoBiosVersion /t REG_MULTI_SZ /d "NOBOX - 1" /f
@taskkill /f /im VBoxTray.exe
@exit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment