Friday, June 28, 2013

Register or Restore a Hyper-V VM?

When you import a Hyper-V VM, the import wizard will ask if you want to register, restore or copy the VM. I always need to refresh my memory on whether I need to register or restore. This blog post explains the difference:
 
http://blogs.msdn.com/b/virtual_pc_guy/archive/2012/06/26/registering-a-virtual-machine-with-hyper-v-in-windows-8-windows-server-2012.aspx

Since I make sure that the files are exactly where I want them, with the corresponding changes in the config.xml file, I usually go with the register option.

Thursday, June 27, 2013

Fixing a Windows 8 network issue

Recently, OneNote 2013 on my Windows 8 VHD was refusing to sync with SkyDrive. It complained that I was not connected to the internet - even though I was able to access skydrive.com or any web site without any issues.

The problem seemed to related to my LAN connection showing an exclamation mark and also falsely indicating that I was not connected to the internet. Restarting did not fix the problem and I'm not sure how it got into this confused state.

Here is what I did to fix that:

1. Open CMD.exe as an Admin
2. Run the following command: netsh winsock reset
3. Restart the OS