Archive for Microsoft Hyper-V

FIX for Hyper-V Windows 8 Error “Failed while adding virtual Ethernet switch connections”

Hyper-v_logoAs I am building my Windows 8 – Hyper V environment to support my various SharePoint servers, I ran into an issue while creating an External switch in my Hyper-V Switch Manager.  I ran into an issue while creating an External Switch and attaching it to my WiFi adapter on my laptop.

**Please note: I take no responsiblity for your computer/laptop if it breaks. I did this scenario on my work laptop to support my project work. Please follow my steps with caution.

Failed while adding virtual Ethernet switch connections.

So here was my work around:

  • Go to Control Panel
  • Go to Hardware and Sound
  • Go to Device Manager (Under Devices and Printers Tab) – Run as Administrator
  • Go to Network Adapters – Look for your WiFi adapter/device.
  • Next, right click on it and click uninstall. (Keep the driver.)
  • Next, right click on Network Adapters – Click SCAN FOR CHANGES

(Your WiFi adapter should reappear.)
Reboot your machine.

Next, when I rebooted my laptop; I had to resupply the WiFi password for my connection. I got back on the network.

Then when I create the External Network Switch; I did not receive an error.

If you want to follow a great guide on how to build a SharePoint Farm on Windows 8, please go to my good friend’s blog, SharePoint Ryan!

http://sharepointryan.com/2013/01/23/creating-an-awesome-development-environment-on-windows-8/

Tip: How to speed up a slow Virtual Server

If you have virtual servers (VMWare, Hyper-V, Virtual Box, etc.) running Windows operating system that does not have Internet connectivity; you will see the operating system services run slow. An example is opening up PowerShell command prompt. This could take up to 30 seconds at times. Open Internet Explorer. Then open an internal website. This could take some time.

Want to know why?

[box type=”info”]Here is the answer:

It’s a known issue with Windows. It’s trying to check certificates to see if they have been revoked. However, it slows down the operations within the operating system until the check times out. [/box]

To avoid this issue, you can fix the issue a couple of ways. Manual or script it with PowerShell.
[box]

Internet Explorer:

Go to Tools => Internet Options =>Advanced tab =>  Under Security: uncheck  “Check for Server Certificate Revocation(requires restart)[/box]

PowerShell Script:

[box]Set-ItemProperty -Path HKCU\software\microsoft\windows\currentversion\internet settings\ -Name “CertificateRevocation” -Value =”0″[/box]

[box type=”bio”]A special thank you to John Chism and his team for coming up with this solution.[/box]

Extending your Windows 2008 Activiation in a virtual environment

I live and die with my virtual servers on my local computers to test proof-of-concepts; PowerShell scripts, backup/recovery scenarios, and many other important aspects to my job as a Web and SharePoint Administrator.

But one aggrevating thing is the Windows 2008 Activation feature that creeps up if you do not manage it.

I found a great TechNet article on how to extended the grace period in Virtual Environments.  This will work with VMWare Workstation, VirtualBox, Virtual Server, and Hyper-V.  In theory, it should work in other virtual enviornments.

Here is a link to the entire article.