Reset the Network Stack in a Windows Virtual Machine Using netsh
When you change network settings in a Windows virtual machine, you must reset the network stack of the virtual NIC to adopt the new settings. For a Windows guest, you must disable and re-enable the network connection so it adopts a new MAC address. To perform this task, run netsh with interface command.
Run the following commands in a command prompt (Run > cmd).