add func for handle vhd and diskpart in windows platfrom