Fixed issues on HyperV Agent code for  shared network VR issues