How to convert physical Windows PC into a virtual machine

After 10 years of running my main desktop computer on Windows 7 – time has finally come to upgrade it to Windows 10. Along with some hardware upgrades that my computer needed, I also wanted to move to the Windows 10 since the support and updates for Windows 7 will be discontinued on January 14th 2020.

Also, my 10 year old Windows 7 PC had a lot of settings and pieces of data that I didn’t want to give up that easily, so I got an idea to make a copy of the current Windows 7 as a virtual machine, so in case I need anything I could just boot the virtual machine and within seconds go back to my Windows 7 setup with all access all data and settings.

Making the virtual machine out of my Windows 7 PC

First step was to make a bootable copy of my computer’s hard drive partitions. For this purpose I used Disk2vhd tool made by Microsoft. It’s a free tool and all I needed to do is just pick partitions I want to backup and tell it where to back that up.

Disk2vhd

Ideally, you would want back this up on another drive (so the backup process is quicker since one drive just reads, while other one is just writing). My C: partition was 250gb and it was roughly 45% full and the result was a Windows7.vhdx file of roughly 100 GB in size. That was copy of my Windows 7 PC installation in one big file.

Continue Reading

How to fix multi-line editing “Control + Shift + L” not working in Sublime

I use Sublime Text on both Windows and Mac and I love it. Recently I discovered that for some reason multi line editing wont work. This is very handy feature that allows you to edit more than one line at the same time and I use it quite often.

The easiest way to enter multi-line editing mode, is by pressing Control + Shift + L simultaneously, but for some reason it wont work anymore.

Apparently, the problem is caused after I upgraded my AMD Drivers and I got that Radeon thing sitting in my task-bar (that I didn’t had before or I have disabled it previously). This tool uses exactly the same hot-key combo as Sublime and it prevents sublime from functioning.

Here’s how you can fix this. First start AMD Radeon utility, click on Gaming tab and then click on Global Settings.

Next click on Performance Monitoring tab and there you have it, the first item on the list called Toggle Performance Logging Hotkey is using the hotkey CTRL+Shift+L hotkey. Click on it to change it and press Delete key to remove hotkey for that function, and the value will change from Ctrl+Shift+L to None.

At this point your Sublime multi-line editing tool is working again and you may close this AMD Radeon thing.

Tags: multiline tab fix in sublime

How to view HEIC images on Windows

Since iOS 11 your images that you shoot with your iPhone can now be saved in two formats:

  • High Efficiency (the new HEIC format)
  • Most Compatible (standard JPEG format)

If you go to Settings -> Camera -> Formats you’ll see these two options. On all iPhone 7 or newer devices High Efficiency format is enabled by default.

New High Efficiency (HEIC) format

Most people are familiar with JPEG format since it’s been around for ages. But what’s that new High Efficiency (HEIC) format all about?

Continue Reading

How to DNS cache on Windows or macOS?

Almost all operating systems cache DNS records to improve the performance of applications and speed up internet access. Browsers do cache DNS records too and to flush these the easiest way is just to close the browser and start ti again. But sometimes there is a need to flush operating system DNS cache. Here’s how you can do that easily.

How to flush DNS cache on Windows XP / Windows Vista?

  • Step 1: Open the Command Prompt
    • Click on the Start Menu and click Run. Type in cmd and hit Enter.
  • Step 2: Flush DNS
    • Type ipconfig /flushdns and hit Enter.

 

How to flush DNS cache on Windows Vista or Windows 7?

  • Step 1: Open the Command Prompt
    • Click on the Start Menu and type cmd in the search bar and hit Enter.
  • Step 2: Flush DNS
    • Type ipconfig /flushdns and hit Enter.

Continue Reading

How to fix 0x0000007b blue screen (BSOD) ?

Are you getting that blue screen (BSOD) with error message 0x0000007b when booting your computer or trying to install a new Windows operating system (on a computer with SSD drive)?

0x0000007b blue screen BSOD

The¬†problem is that in BIOS your SATA is set to AHCI instead of ATA. To fix this problem you’ll have to enter the BIOS and change it back and your system will function normally. This can happen if your BIOS data is lost or in some cases the BIOS batter is empty, or if you cleared bios by hand. Don’t worry none of your data is damaged in any of these cases.

Here’s how to fix this problem:

  1. Reboot your computer and keep pressing F12 to enter BIOS. On some laptops ¬†it’s F2 or F8 (it should be shown on your screen)
  2. Go to Advanced tab and change ACHI to ATA option under SATA Operation (it might have a different name depending on your BIOS).
  3. Save the changes and reboot.

That’s it!