Add Custom Value Pairs for the Hyper-V Data Exchange

How to add custom value pairs for the Hyper-V data exchange.

John Savill

January 19, 2013

1 Min Read
Add Custom Value Pairs for the Hyper-V Data Exchange

Q. Can I add my own custom value pairs for the Hyper-V Data Exchange?

A: Yes. Create your own string values under the HKEY_LOCAL_MACHINESOFTWAREMicrosoftVirtual MachineGuest key, which can then be read from the Hyper-V host. You can add these values using the regedit.exe tool or from the command line using reg.exe

reg add "HKLMSOFTWAREMicrosoftVirtual MachineGuest" /v NewValueName /t REG_SZ /d TestValue

or by using Windows PowerShell and its New-ItemProperty:

New-ItemProperty -path "HKLM:SOFTWAREMicrosoftVirtual MachineGuest" -name NewValueName -value TestValue

 

About the Author

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like