Created
September 14, 2020 20:18
-
-
Save downthecrop/1a28d885e1e8143512932d271274e6a9 to your computer and use it in GitHub Desktop.
Windows True Headless VBox (No Console)
This file contains hidden or 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
Dim WshShell | |
Dim obj | |
Set WshShell = WScript.CreateObject("WScript.Shell") | |
obj = WshShell.Run("START /MIN CMD.EXE /C "C:\Program Files\Oracle\VirtualBox\VBoxHeadless.exe" --startvm Ubuntu", 0) | |
set WshShell = Nothing |
Update: use nircmd or write something like this in 2 minutes. nircmd.exe exec hide "C:\Program Files\Oracle\VirtualBox\VBoxHeadless.exe" --startvm Ubuntu
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To auto start just copy a shortcut to %appdata%\Microsoft\Windows\Start Menu\Programs\Startup