In order to setup and install the Windows image onto Intel Galileo Gen 2, the best way is to follow the setup instructions in the Windows Developer Program for IoT.
Please be very careful with the folder where you will save the .cmd and .wim file. The best is to store the downloaded files in a simple to find folder, and a folder without any space in its name. Otherwise the .cmd file will not execute properly.
You may also want to rename the .wim file to a simpler name like galileo_v2.wim. When the .cmd file executes correctly, you should see the following:
C:\Temp>apply-BootMedia.cmd -image galileo_v2.wim -destination D:\ -hostname galileofai -password xxxxxx C:\Temp>rem ************************************************************************** C:\Temp>rem ** Copyright (c) Microsoft Open Technologies, Inc. All rights reser ved. C:\Temp>rem ** Licensed under the BSD 2-Clause License. C:\Temp>rem ** See License.txt in the project root for license information. C:\Temp>rem ************************************************************************** **** Temporary changing time zone to 'Pacific Standard Time' **** Fat32 is local time based, and the images are created in a pacific time zone. If there is a mismatch Windows will bug check after 5 minutes. **** Set-up work folder: C:\Users\hoongfai\AppData\Local\Temp\apply-BootMedia-15483 **** Retrieveing C:\Temp\galileo_v2.wim **** to C:\Users\hoongfai\AppData\Local\Temp\apply-BootMedia-15483 Deployment Image Servicing and Management tool Version: 6.3.9600.17031 Mounting image [==========================100.0%==========================] The operation completed successfully. **** Customizing image C:\Users\hoongfai\AppData\Local\Temp\apply-BootMedia-15483\galileo_v2.wim **** mounted at C:\Users\hoongfai\AppData\Local\Temp\apply-BootMedia-15483\galileo_v2.wim.mount Deployment Image Servicing and Management tool Version: 6.3.9600.17031 Saving image [==========================100.0%==========================] Unmounting image [==========================100.0%==========================] The operation completed successfully. **** Applying image C:\Users\hoongfai\AppData\Local\Temp\apply-BootMedia-15483\galileo_v2.wim **** to D:\ Deployment Image Servicing and Management tool Version: 6.3.9600.17031 Applying image [==========================100.0%==========================] The operation completed successfully. **** Mounting D:\\Windows\System32\config\SYSTEM **** to HKEY_USERS\Galileo-15483-SYSTEM **** Setting hostname to galileofai **** Restoring time zone to 'Pacific Standard Time' **** **** Successfully applied C:\Temp\galileo_v2.wim **** to D:\ **** **** hostname: galileofai **** timezone: Pacific Standard Time **** Username: Administrator **** Password: xxxxxxxxxx **** **** Done.