The deployment operation was blocked because Special profile deployment is not allowed
By default, Windows blocks deployment operations on special profiles. The term ‘special profile’ will cover roaming profiles, mandatory and super-mandatory profiles, temporary profiles and guest account profiles. Usually, it is recommended that you don’t allow deployment on such user profiles. However, in case if your environment badly needs to perform deployment on such profiles, you can allow deployment operations on Special Profiles via Local Group Policy Editor in Windows 10. Alternatively, you can allow deployment operations on Special Profiles via Registry Editor in Windows 10.
Here’s how: Since this is a registry operation, it is recommended that you back up the registry or create a system restore point as necessary precautionary measures. Once done, you can proceed as follows:
Press Windows key + R to invoke the Run dialog.In the Run dialog box, type regedit and hit Enter to open Registry Editor.Navigate or jump to the registry key path below:
At the location, right-click on the blank space on the right pane and then select New > DWORD (32-bit) Value.Rename the value name as AllowDeploymentInSpecialProfiles and hit Enter.Double-click on the new value to open it.Type 1 in the Value data box and press Enter to save the change.
You can now exit Registry Editor and restart your PC. That’s it!