When performing an Operating System Deployment (OSD) from Configuration Manager (CM), it is a common occurrence to encounter error 0x8007000F- Failed to Stage WinPE. WinPE is the Windows Preinstallation Environment in which one will authenticate and select the desired Task Sequence. In the case of this error, you are able to use WinPE to complete this process, but when you select your desired Task Sequence and begin the actual imaging process, it will be a non-starter.
You may have just used this exact same process to deploy an OS to another device, leaving you scratching your head as to why it did not work on this one. Well, most likely, this is due to your target machine not being a “clean slate.” If your environment is using Bitlocker Device Encryption (BDE), your disk will contain a small, hidden partition for use by BDE, and the remaining space will most likely be a single partition that is (currently) unusable due to encryption.
So, we are often left with a scenario in which the image file is larger than the available small, hidden partition; and it is certainly going to require more space to install. So we receive error 0x8007000F.
How do we go about turning the disk into a “clean slate” to resolve error 0x8007000F?
- To do so, open cmd using F8 and type the following commands:
- Diskpart
- Select disk 0
- Clean
- Convert gpt
- Create partition efi size=300
- Assign letter=(any available letter)
- Format quick fs=FAT32
- Create partition msr size=128
- Create partition primary
- Assign letter=c
- Format quick fs=NTFS
- Exit
- Then, reboot the device and attempt running your desired Task Sequence.