Created
January 28, 2013 16:41
-
-
Save kemitchell/4657062 to your computer and use it in GitHub Desktop.
Script for resetting the bridge connection for VirtualBox virtual machines after putting the laptop to sleep
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
@echo off | |
Rem Reset the bridge connection for Virtual Box virtual hosts. | |
Rem Connection is often lost when the host machine is put to sleep. | |
netsh interface set interface name="VirtualBox Host-Only Network" admin=disabled | |
netsh interface set interface name="VirtualBox Host-Only Network" admin=enabled |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment