Saturday, March 26, 2016

How to determine Hyper-V hostname inside the guest VM

On Hyper-V virtual machine with integration services installed the host machine can be identified by reading HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Virtual Machine\Guest\Parameters\Hostname on the guest machine itself.

Reference(s):

No comments:

CPP Quick Guide

Basics Hello world User input While loop If statement For loop Switch statement Read file using ifstream Write to a file using ofstr...