Trending issue: Content deployment fails after installing December 2021 CU if temp folder points to non-default location

December CU shipped with a security fix which – by default – blocks deployments if the temporary storage location is not on the C-Drive.

To enable a different drive it is required enable it using powershell code like the following:

$farm = Get-SPFarm
# specify the drive which holds the tempory folder
$farm.AllowedContentDeploymentTempFolderDirectories = "X:\"

You can identify the configured temporary files folder path in the Content Deployment Settings page in the Central Administration or by running the following PowerShell command:



  1. I assume the default location is c:\ProgramData\ContentDeployment ? I ran the PowerShell command and got that.


    1. Yes. That’s correct.


Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.