Installing Windows10 Core on RaspberryPI 2 with DISM

This morning I was playing around with my new RaspberryPI 2 getting ready for the Seattle Mini Maker Faire coming up in September. I followed the instructions which were available online for installing Windows 10 Core. To my dismay, the WindowsiotImageHelper didn’t detect my SD Card reader built into the Mac Book Pro I was using. So I went digging into the install directory for the IoT tools and found that the Image Helper is just using DISM under the covers.

This wasn’t super scary considering I actually prefer using the command line to do things, so I started playing around and was able to see a full list of commands to my disposal including the /Apply-Image switch which surprise surprise will apply the Windows 10 image on the SD card as long as I reference the right physical drive on my system.

Finding a disk is easy to do in Windows, call DISKPART from an elevated command prompt (or a regular command prompt and it will open a new command window with a UAC prompt to run in administrator mode). Then issue a LIST DISK command, look in the list for the properly sized drive for your SD card and note the Physical Drive number.

Then run the following command in DISM:

dism.exe /Apply-Image /ImageFile:flash.ffu /ApplyDrive:\\.\PhysicalDriveN /SkipPlatformCheck

And Vola! Windows 10 core starts installing from the command line.

If you want a concise instruction set on the above, there is actually an article about installing Windows 10 Core with DISM on the Windows IoT Github page.

Happy Coding!