-
-
Save steadfasterX/b77eae19e285ec155bd46d509f269dfd to your computer and use it in GitHub Desktop.
Hide Virtual Machine
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
rem Autorun script needed to run on every boot with admin perms! | |
rem Important: you need to use hideVBoxVM.py <name> on your VM as well, this cmd alone is not enough | |
@echo off | |
set TARGET="HPE" | |
@reg copy HKLM\HARDWARE\ACPI\DSDT\VBOX__ HKLM\HARDWARE\ACPI\DSDT\%TARGET%__ /s /f | |
@reg delete HKLM\HARDWARE\ACPI\DSDT\VBOX__ /f | |
@reg copy HKLM\HARDWARE\ACPI\FADT\VBOX__ HKLM\HARDWARE\ACPI\FADT\%TARGET%__ /s /f | |
@reg delete HKLM\HARDWARE\ACPI\FADT\VBOX__ /f | |
@reg copy HKLM\HARDWARE\ACPI\RSDT\VBOX__ HKLM\HARDWARE\ACPI\RSDT\%TARGET%__ /s /f | |
@reg delete HKLM\HARDWARE\ACPI\RSDT\VBOX__ /f | |
rem @reg add HKLM\HARDWARE\DESCRIPTION\System /v SystemBiosVersion /t REG_MULTI_SZ /d "%TARGET% - 1" /f | |
rem @reg add HKLM\HARDWARE\DESCRIPTION\System /v VideoBiosVersion /t REG_MULTI_SZ /d "%TARGET% - 1" /f | |
rem @reg add HKLM\HARDWARE\DESCRIPTION\System /v SystemBiosDate /t REG_MULTI_SZ /d "07/14/16" /f | |
@reg add "HKLM\HARDWARE\DEVICEMAP\Scsi\Scsi Port 0\Scsi Bus 0\Target Id 0\Logical Unit Id 0" /v Identifier /t REG_SZ /d "%TARGET% - 1" /f | |
@reg add "HKLM\SYSTEM\ControlSet001\Enum\USB\VID_80EE&PID_0030&MI_00\6&9592ecc&0&0000" /v FriendlyName /t REG_SZ /d "%TARGET% Webcam - USB2.0 HD UVC WebCam: USB2.0 HD" /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
sorry for the late reply. pls find all here: https://code.binbash.rocks:8443/nonpublic/scripts/src/branch/main/hideVM
note: this is not shared public so you need to register first
note2: the script is not the latest version, I will add the updated one next week