So I had implemented SCEP in Configmgr 2012 and enabled a Automatic Deployment Rule for my SCEP updates. When I tried to run it not much happen.
When i refreshed the (new awesome looking)console it updated the Las error Code field: 0X87D204174
So i continued my journey of troubleshooting and checked the ruleengine.log with CMtrace for further info.
It showed a lot of Error code = 5 which means access denied.
So i checked the security settings on the Package Source folder.( \cm01SourcefilesUpdates )
The system account already had full permission, But I had forgot to change the Share Permissions.
By default the group Everyone has “read” permissions on all created shares, So I changed it to “Full Control” and to restrict access I configure the NTFS Folder permissions determine the access.
Note: When you run download and distribute updates in the SCCM console manually it is using you credentials to download and copy the files to the Package Source, when you use an automatic rule the SCCM Site Server’s computer account is used.