Tuesday, April 1, 2014

Windows 8.1 in KVM

As Windows XP comes to its end of life, I have to get with the times and test my windows programs in Windows 8.1.

Naturally I am drawn to KVM which is where I run all my Windows instances.

Despite some initial concerns regarding the lack of the +sep flag (covered in my winpe pxe blog), installing Windows 8.1 turned out to be a breeze. I just used the settings for Windows 7 64bit.

After the install I was prompted to log. I have no interest in using a 'Microsoft Account' so I used the obscure procedure of 'Don't have an account' -> 'Sign in without a Microsoft account' which would be better described as 'Create local account'.

The next confronting issue was the start menu or whatever they call it these days. I worked out that I should not to look at it, just to start typing. That works more or less the same as the 'search' on Windows 7 (but possibly faster. It makes by mind boggle that it can take so long to run cmd.exe on Windows 7).

Once I had the basics under control, I set about installing the VirtIO & Spice drivers for extra performance and GUI features (like screen resizing). Alas, spice-guest-tools-0.74.exe does not support Windows 8 and fails during the install complaining about an unsupported version of Windows.

I know the virtio drivers work because I have used them in WinPE so I set about installing them manually. Although they are compatible, installing them is not straight forward.

The driver files are made available under Program Files (x86)\SPICE Guest Tools

The method I normally use is to use guestfish to install the driver file and configure it in the Critical Driver Data Base (CDDB) using a registry patch. Windows 8 no longer has a CDDB so this method does not work.

In the end I reverted to an old method:
  • Add a new (temporary) VirtIO disk to the VM
  • Boot into Windows
  • Install the drivers for VirtIO
  • Shut down windows
  • Remove the temporary disk
  • Change the main disk from IDE to VirtIO
This method works much like it has since Windows 7 allowed changing of the boot path.

The VirtIO network seems to work fine.

Talking to a Samba sever required adjusting some settings. First there are some updates which are apparently required (according to Microsoft) so I make sure all the OS patches were installed first.

Next I adjusted some policy settings under Administrative Tools -> Local Security Policy -> Local Policies -> Security Options:
  • Network security: LAN Manager authentication level = Send LM & NTLM - use NTLMv2 session security if negotiated
  • Network security: Minimum session security for NTLM SSP based (including secure RPC) clients = No Minimum
Then restart the workstation service or reboot.

Finally, the graphics drivers. For reasons which don't seem to be explained, the QXL video driver is not compatible with Windows 8.1. The performance of the 'Microsoft' driver is not too bad but it means no resizing which is annoying.

I am hoping that the spice people make their drivers and installer work soon.

One final observation is to do with the windows version number. Windows 8.1 is NT 6.3 but unless your program is manifested for windows 8.1, you will get the version number 6.2. This is by design. Some kind of new design which means the the GetVersion... API has been deprecated. What are they doing over at Microsoft???


  1. John,

    "For reasons which don't seem to be explained, the QXL video driver is not compatible with Windows 8.1."

    Windows 8.1 requires a WDDM driver, which is in the initial stages of development. More information available here: http://www.spice-space.org/page/WDDM

  2. There is a test driver available here
    The notes say that it is "not official, completely untested code. Use it on your own risk."
    I tried it out and it seems to work well for me as long as vdservice is not running. For more details see https://bugzilla.redhat.com/show_bug.cgi?id=895356

  3. http://people.redhat.com/~vrozenfe/qxlwddm/qxlwddm-0.7.zip

  4. Better yet, link the folder for latest binaries as previously posted comments are outdated: http://people.redhat.com/~vrozenfe/qxlwddm/

  5. Thanks for sharing this quality information with us. I really enjoyed reading

    basketball legends

  6. Thanks for the update. Your post helped me a lot. Each of your blog posts contains no fluff, just useful information which I like most about your website.
    Sage Support

  7. Our QuickBooks tech support staff provides the services like they maintain records, financial records, and general ledgers, analyze and prepare and prepare budgets and perform general bookkeeping. We give the best service in terms of accounting. If you have any issues regarding this service just go to our official website and talk to our professionals. Quickbooks enterprise support

  8. I think it is a good idea, I have thought of it but not as detailed as you. sushi cat 2

  9. Thanks for writing! It is very easy to understand and detail. I find it interesting play cool math games I hope you continue to have such good posts.

  10. Hello all, I'm trying to setup a windows 8.1 VM on kvm and it keeps on crashing.

    visit here

  11. Points you raised very valid points in your post. It really happened some person do not have the right idea. But with your awesome tips, one can easily identify it.This post is discussing in an outstanding way. I like your way yo discussed your valid points and facts about this. I really said you share more and more articles. QuickBooks Chat support

  12. quickbooks desktop support phone number is the here, if you have trouble in your quickbooks application in any type.

  13. quickbooks put your daily work safe and never get your business lost QuickBooks support number and if you think so
    QuickBooks customer support number

  14. I found a great y8 baixar gb whatsapp apkxyz on the net. I would recommend everyone surfing the site!

  15. Replacing a Circuit Breaker from a household electrical service panel doesn’t require a great deal of knowledge in electrical circuits. It takes just a few minutes to remove a damaged Circuit Breaker and put a new one in place of it. Here we discussed How to Replace a Circuit Breaker. How to Replace a Circuit Breaker

  16. If you want to save your precious conversations with your colleagues on your device, you can record your video calls. Here we discussed about How to Record FaceTime Video Call. How to Record FaceTime Video Call

  17. It is impossible to know each subject well and know it perfectly well, therefore, in some subjects this site https://payforessay.net/ helps me, which performs any written work to order.

  18. Quickbooks error 404 is a common error to occur in the Quickbooks system and can also be called by any of the following names:
    1. Quickbooks service messages update error 404
    2. QuickBooks update error #404
    3. Error 404 QuickBooks update
    4. Error 404 pages not found
    5. Intuit error 404.

  19. Thank you for your responses. Are you interested in crypto trading?
    I have a website where I post reviews of the best telegram channels with best crypto signals. You can also find crypto wallets, crypto bots, audits, reviews and interesting articles here.

  20. As soon as I noticed this internet site I went on reddit to share some of the love with them. 메이저안전놀이터

  21. Nice article I agree with this.Your blog really nice. Its sound really good. | 카지노사이트

  22. 슬롯머신777사이트
    I’ve a project that I am just now working on, and I have been on the look out for such information.

  23. I simply want to tell you 파친코 that I am just beginner to blogs and certainly enjoyed you’re web page. Almost certainly I’m want to bookmark your site .

  24. Actually Magnificent. I am also a specialist in this topic so I can understand your effort.

    Feel free to visit my website: 텍사스홀덤사이트

  25. Many thank's for writing this great content.High quality writing like yours nowadays. 룰렛사이트탑

  26. Aw, this was an extremely nice post. Taking a few minutes and actual effort to generate a top
    notch article.

  27. I wonder why the other experts of this sector don’t notice this. You must continue your writing. I’m sure, you’ve a huge readers’ base already! want to learn more? click the link here:

  28. That is a good tip especially to those new to the blogosphere. Brief but very accurate info… Many thanks for sharing this one. A must read article!

  29. ExpertOption Uygulamasına aşina mısınız? expertoption kendisini finansal piyasalardaki en iyi ticaret gelişmelerini ve yüksek kaliteli hizmeti birleştiren bir platform olarak konumlandırıyor.

  30. I will definitely recommend your website to everyone. You have a very good gloss. Write more high-quality articles. I support you.

  31. Thanks for sharing your thoughts on dobry fryzjer.

  32. Nice post. I used to be checking continuously this weblog and I am inspired! Extremely useful information particularly the final phase :)

  33. Thanks for sharing with us this important Content. I feel strongly about it and really enjoyed learning more about this topic.

  34. Your texts on this subject are correct, see how I wrote this site is really very good.


  35. Thanks a lot for keeping the great stuff. I am very much thankful for this site. Visit my site.


  36. This is very appealing, however , it is very important that will mouse click on the connection:


  37. Thanks in support of sharing such a good thought, piece of writing is
    fastidious, thats why i have read it entirely

    Also visit my web page - 강남오피