Windows 10 Update KB3140768 fails to install

April 3, 2016

I finally had the time to check why the Updates on my Surface failed to install.

I started to troubleshoot the issue and found the solution in the CbsPersist_[Date and Time].log located in the C:\Windows\Logs\CBS folder.

WinUpdate Error

I have used my surface for testing purposes and had not entirely clean out the test user profiles. Doing so allowed the updates to install properly.

Advertisements

Nested virtualization why should I care?

November 11, 2015

One thing I get asked a lot, is why I care so much about nested virtualization and the use case of such technology.

To understand nested virtualization we first need to look at traditional server virtualization.

Traditional Virtualization overview

In a traditional virtualization solution, the physical hardware is abstracted and presented to a guest operating system. The Virtual Machines (VM) are guests of the physical server and communicates with the physical hardware via the hypervisor.

Image 1

clip_image001

One physical server, hosts isolated Guest VMs

To provide high availability to the virtualizations solution we add clustering, Storage Area Networks (SAN) and duplicate of dependent peripheral configurations like network hardware and its configuration etc. The physical servers and attached configurations becomes a virtual datacenter that hosts the virtual machines. If we transition from one hypervisor vendor to another we need to convert the workload VMs to fit the new hypervisor. The conversion is sometimes a time-consuming and an expensive job that involves a lot of coordination.

This is something that we nowadays are quite familiar with.

Why nested virtualization then?

What if you wanted a copy of that configuration for testing or development purposes? How do you evolve and enhance your implementation? Do you have the possibility to test changes without impact to your production environment?

To install a virtual datacenter involves quite a lot of hardware that can be expensive and hard to move around.

You might need different configurations, developers for instance often have the need for many isolated environments with different settings. Building physical environments for each could be really expensive.

Nested Virtualization overview

In a nested virtualization solution, the physical hardware is abstracted and presented to a guest hypervisor VM as configurations. The guest hypervisor VM is a guest of the physical server.

The Guest VMs within the Guest hypervisor is unaware of the fact that the hypervisor is virtual and acts in the same way as if the hypervisor was installed in physical hardware.

Image 2

clip_image002

One physical server, hosts two separate hypervisors with separate isolated Guest VMs

To provide high availability to the virtualizations solution we use the same setup as in a traditional virtualization solution but we are able to emulate quite a lot of the periferal solutions such as SAN, Networks etc

Further possibilities with nested hypervisors

In a cloud solution, if a cloud vendor supports nested virtualization the format of the workload VM becomes irrelevant.

In a DevOps world the need to quickly build entire configurations becomes even more necessary. No more we can’t afford to have an expensive test environment J

What If we could build those configurations in Azure! the possibilities involved becomes mind blowing.

Microsoft Nested Virtualization

Microsoft has released a preview of nested virtualization in Windows 10 Insider Preview Build 10565

At the moment only Windows 10, Hyper-V is possible to nest but I expect that to change in the near future. Imagine the Host Hypervisor in Image 2 as a Nano Server with Hyper-V. The Guest Workload VMs as Docker/Windows Containers and full OS VMs. The future looks really interesting J

How to get started

How do I start exploring the possibilities with nested virtualization?

First you need the Windows 10 Insider Preview Build 10565.

Once you have installed it you need to enable Hyper-V, if you are unfamiliar with Client Hyper-V check out this MSDN article Hyper-V on Windows 10

Once you are done check out the article on how to enable Windows Insider Preview: Nested Virtualization

Image 3

clip_image004 In my lab I installed a Windows 10 host hypervisor with two Windows 10 Guest Hypervisors. Within each guest hypervisor I installed a Guest VM workload with Windows Server 2016 Technical Preview 3

I tried to get the nesting to work in Windows Server 2016 Technical Preview 3 as well but I get an error message in the event log and the Hyper V Service wont start. “This device is not working properly because Windows cannot load the drivers required for this device. (Code 31)”

In a PPT from Microsoft https://t.co/ZqCkN16MIr the roadmap for System Center is reviled. The Windows Server 2016 Technical Previews has previously been released at the same time as System Center, so I hope I we will see Windows Server 2016 Technical Preview 4 in November as well.

clip_image006


How to disable Autocorrect in Windows 10

July 6, 2015

In 2013 i made a blog post covering how to disable autocorrect in Windows 8.1 and now it’s time to show how to do it in Windows 10.

Step 1: Left click on “Notification Center”

clip_image002

Step 2: Left click on “All settings” in “Action center”

clip_image004

Step 3: Left click on “Devices” in “Settings”

clip_image006

Step 4: Left click on “Typing” in “Settings”

clip_image008

Step 5: Toggle switch “Autocorrect misspelled words” in “Settings”

clip_image010

Return to top of page…


Windows 10: Falied to logon to the Spotify desktop client.

June 22, 2015

I recently experienced a issue with the Spotify client on my Windows 10 Build 10130.

I wasnt able to logon using my Facebook account and recived the following message.

image The only thing that worked was the tip “If you have a Facebook-connected Spotify account, you can also login using your Facebook email address and password as your Spotify username and password. (These won’t be stored.)”.

This is how you do that.

facebook-app-password1

  1. Go to Security Settings: https://www.facebook.com/settings?tab=security&vie​w
  2. Find App Passwords and click Edit
  3. Click the Generate App Passwords
  4. Click the Generate App Passwords (again 🙂 )

    FB-AppPW
  5. Enter a friendly name for the app, for instance: Spotify
  6. Click Generate Password
  7. Log on to Spotify using your Facebook Email as username with the password you just created.

Happy listening..


And so it begins…

June 1, 2015

Just received this popup on my Surface Ler Thanks for the heads up https://twitter.com/bduelund

image


Replace Command Prompt in Windows + X

April 13, 2015

If you haven’t already I would suggest that you change the Command Prompt to use PowerShell instead.

WinX

The replacement process is really straight forward, Right-click on Taskbar and select Properties option.

image

Choose the “Navigation” tab and check “Replace Command Prompt with Windows PowerShell in the menu when I right-click the lower-left corner or press Windows key+X

WinX-2


Fix broken Mail, Calendar, and People apps

April 13, 2015

I updated my Windows 10 build to Build 10049 a couple of days ago and realized that my Mail, Colander and People apps had stopped working again. The same happened with the 10041 update and a quick reinstall of the apps from the Store and the App was functional again.

This time I received an error message.

image This

To uninstall the app you need to use PowerShell,

Run PowerShell as Administrator and type the following command and then install the App from Store again.

Get-appxprovisionedpackage –online | where-object {$_.packagename –like “*windowscommunicationsapps*”} | remove-appxprovisionedpackage –online