Hyper-V server Event ID 3112: The virtual machine could not be started because the hypervisor is not running – How to fix

Featured

Today I was encountered with a problem with one of the computers that was running Windows Server 2008 R2 with Hyper-V. When I would try to start any of the virtual machines installed on it I would get the following error:

The virtual machine could not be started because the hypervisor is not running

I instinctively checked the BIOS if VT is enabled and it was.

When looking in the Event Viewer I would see Event ID 3112 so I started looking the Technet for other possible errors on that ID.

The problem for me was in BCD (Boot Configuration Data) and Intel VT-d (Intel Virtualization Technology for Directed I/O), I needed to enable VT-d and put hypervisor in Boot Configuration Data to autolaunch with the following command (you need to run cmd as an Administrator with elevated privileges):

bcdedit /set hypervisorlaunchtype auto

Here is a little checklist if you get this kind of error:

  1. Check if Intel VT or AMD-V hardware extensions are supported on your CPU and are enabled in BIOS
  2. Check if No eXecute (NX) for AMD and eXecute Disable (XD) for Intel CPU are enabled in BIOS
  3. Check your BCD with bcdedit (the problem for me was, that it was a classroom computer with dual boot Windows 7/Server 2008, and the BCD was changed with Win 7 reinstallation)
  4. Check if Intel VT-d and Trusted Execution are enabled/disabled (This one is little strange to me, because if you look here it states it needs to be disabled, but for me I had to enable VT-d in BIOS)
  5. Check if you enabled Hibernation or Sleep on your server, it changes your “hvboot” registry value. Try to start it in elevated Command Prompt with command:
    net start hvboot

 

Hope this helps somebody, because I got a little frustrated with this error today

Blue squares and bars when connected with remote desktop

Sometimes when you connect to the remote machine using a remote desktop connection you might get blue or black bars, stripes, squares or boxes on the white spaces of the screen of the remote machine. This issue is more often on thin client then other machines.

blus stripes

This issue can be resolved by disabling bitmap caching on the RDP client machine.

disable bitmap caching_new

Bitmap caching is by default enabled for all remote desktop connections and it is used for enhancing the user experience on slow links by storing the often used images locally on the client machine.

 

Enhanced by Zemanta

Remote desktop scanning software

I am sure many of you have heard for Microsoft RemoteFX USB Redirection which allows you to redirect your local USB devices like scanners to you Terminal Server, or some other remote machine on Windows, through the Remote Desktop connection.

But what if your client or remote machine doesn’t support RemoteFX, or if you are unable to install the drivers for your scanner on the remote machine.

In that case you can use third-party software like Terminal Works TSScan.

TSScan_Download

It works by installing the Server and the Client side of the install packages on the local and remote machine.

You install the client package on the local machine where you have scanner drivers installed, and you install the server package to the Terminal Server or some other remote Windows machine which is at the end of your remote desktop connection.

Once you have installed the client on the local machine and the server package on your remote desktop server you will get a new application TSScan on your desktop and in your Start Menu which should give you the selection of the locally installed scanners that you have on the client machine. You should also be able to see all of your client scanners directly in any kind of image acquiring software that you might have installed on your server.

Operating Systems that are supported for TSScan Server are Windows 2008 R2 Server, Windows 2008 Server, Windows 2003 Server, Windows 8, Windows 7, Windows Vista, Windows XP.
Operating Systems that are supported for TSScan Client are Windows 8, Windows 7, Windows Vista, Windows XP, Windows 2000, Windows Embedded.

 

Enhanced by Zemanta

A Review on Latest Laptops of 2013

It’s the beginning of the year and already we are analyzing what technology is going to be the best and most influential improvement to our lives. Laptops have begun changing quite drastically in the recent years, especially with the introduction of the tablet device. Laptops had to change to compete in this increasingly mobile and cloud based ecosystem that is popping up. These introductions have made the latest laptops include some new and interesting features that make them a little more enticing than your average, run of the mill computer.

Dell XPS 12

First up is the XPS 12 from Dell. This laptop has adopted the new ultra book, ultra-thin design that was popularized by Apple’s MacBook Air. However there is a catch. The XPS 12 has a rotating touch screen that, when rotated and laid flat, will function just like a tablet.
Windows 8 is the latest version of windows to come out. This version comes with a touch friendly interface that works with both PCs and tablets. Microsoft hopes to bridge the gap between these two devises with their operating system. Not they can truly make a hybrid between the two.
The device itself is actually quite fast. With a 128 GB SSD, 4 GB of RAM, and an i5 processor you will be opening a dozen apps without seeing a dip in performance. The computer starts up in seconds due to these latest additions and you’ll have a hard time going back to a traditional computer. It will also be difficult using other tablets due to their limitations with PC like functions. Windows 8 eliminates this function and the XPS 12 gives you the best of both worlds.

Acer C7 Chromebook

The Acer C7 Chromebook is probably like nothing you’ve ever seen before. This laptop takes the cloud to the extreme. Every function that you use on this laptop is done through a browser and is instantly stored there. Chrome book have all the functions that any basic laptop has, except it is all done through the browser. The only problem with this is that it requires an almost constant internet connection to use. If you have no Internet, then the computer system is basically useless.

The C7 is also easily upgradable. The computer only comes with 2 GB of RAM, but there is an extra empty slot available. Theoretically you can have 32 GB of Ram, even though it is a bit of overkill. The 320 GB HDD can also be removed and replaced with a SSD to increase boot up speed. If you think this is a little too much for a laptop then consider this. The C7 is only 199£.

The above mentioned are the latest in the market, hope you fancied any of them. They might be a bit hefty on the pockets, so gear up to spend a good chunk on these devices. You can afford them provided you start saving. Don’t lag behind, enjoy the interesting features!

Author Bio:
Hi I am Karen Ford, a blogger and writer from Manchester, UK. I am working for ppi claims. I love to write articles reviewing latest, mobiles, laptops and various tech gadgets. Find out more about my finance related blogs. Catch me on twitter at @financeport.

How to export WordPress comments to csv, xls, or some other file format

Here is a short tutorial on how to export WordPress comments to an excel .xls file, but you can also export them to PDF, Word or some other file type if you want.

You can export your comments either through the phpMyAdmin which most web hosting providers today have or by connecting to your MySQL server some other way and using a SQL query. The both are nothing else then just exporting the wp_comments table to a file

In both cases you will need to have a username and password for your MySQL server, to connect with.

There is also a plugin called Export comments to export comments to a csv file, which seems to be working with WordPress 3.4.2, but the file you get this way is pretty messy, you will get much more structured data by exporting directly from the MySQL.

Export through phpMyAdmin web interface

Connect to your phpMyAdmin and login with you username and password.

On home screen, click the plus sign by the database for your WordPress blog and select the wp_comments table. Then click on the export tab and select the format of the file you want to export to. Press the Go button and download the file to your computer. (The procedure might be a little different for you, depending on which version of phpMyAdmin you have installed)

phpMyAdmin export interface

You can then edit your .xls file further to contain only the information you need.

 

Enhanced by Zemanta

How to setup FortiGate to use 3G USB mobile internet modem as the WAN connection

I was setting up a FortiGate device today to use a 3G modem as an Internet connection instead of a standard WAN interface so here is a little tutorial how to do it.

I was using:

  • FortiGate 50B device with FortiOS v4.0,build0320,110419 (MR2 Patch 6)
  • Huawei Mobile Connect E169 HSDPA USB stick with a SIM card for a Vodafone Mobile Connect services

Configuration steps:

  • connect the modem in the USB port on the FortiGate device and enable the modem with the following command:
    config system modem
        set status enable
    end
  • Detect the custom vendor and product ID of the USB modem with the following command:
    diagnose sys modem wireless-id

    you should get something like this:
    vendor: 0x12d1, product: 0×1003, registered: yes

    0x12d1 is the vendor ID for the Huawei, and 0×1003 is the product ID for Huawei E169, for Huawei E367a the product ID should be 0×1446 and for Huawei E367b 0×1506

  • Configure your modem interface with the following commands:
    config system modem
        set status enable
        set pin-init "at+cpin=YOUR_SIM_CARD_PIN#"
        set auto-dial enable
        set wireless-custom-vendor-id 0x12d1 (HUAWEI ID)
        set wireless-custom-product-id 0x1003 (E169 ID)
        set phone1 "*99***1#"(VODAFONE NUMBER)
        set extra-init1 "at+cgdcont=1,\"ip\",\"data.vip.hr(YOUR APN)\""
    end
  • Dial the modem with:
    execute modem dial

If you are using the web interface of your FortiGate device, when you enable the modem interface you will get Modem option under System > Network section on the left side menu. You can set up some of the options, like phone or Extra Initialization String there too. Also you can condial or hang-up your 3g connection from there too.

Web interface for modem connection

 

These are the pages I referenced when I was setting up my modem connection: