Developing for Modern Windows

Tips, tricks, and guides for developing on modern Windows platforms

Issues Running Phone Emulator on Compressed or Encrypted Drives

I have recently had the following error when trying to debug my apps on the Windows phone emulators:


The error tells you what the problem is: “The emulator is unable to create a differencing disk”, and gives you the first part of the solution: “Virtual hard disk files must be uncompressed and unencrypted”, but doesn’t tell you which files need to be uncompressed and unencrypted.

In my case my C: drive is compressed.

The folder that needs to be uncompressed is:

C:\ Program Files (x86)\Microsoft SDKs\Windows Phone\

It contains the emulators for the different versions.

There is a thread over at Stack Overflow that gives a bit more info.

In my case I believe that I also had to make sure the following path was not compressed:

C:\Program Files (x86)\Windows Kits\10\Emulation\Mobile\[version]

(I can’t know for sure because I gave up and uncompressed the whole drive before I realised that folder might be the issue)!

Leave a Reply

Your email address will not be published.