r/SCCM • u/Reaction-Consistent • 2d ago
Strange replication issues to pull/standard DPs - corruption?
Here's a quick example of what I'm seeing in my environment - I just packaged up Lenovo Commercial Vantage last night, new version-new files, pushed it out to our source DP's (regional standard DP's that server as the source for the region's pull DPs) all good...then, sent it out to the site DP's, all good...until it wasn't. about 45 DPs suddenly failed the content replication, after a couple hundred successful reps - and it's not just one region. The smsdpprov.log on the failed DPs look like this:
Failed to move file \\?\F:\SCCMContentLib\DataLib\12345.1.temp\sources\migapp.xml.INI.1d6bf5e2 to \\?\F:\SCCMContentLib\DataLib\12345.1.temp\sources\migapp.xml.INI, error = 183
GetPrivateProfileStringW failed for File, Hash, \\?\F:\SCCMContentLib\DataLib\12345.1\sources\migapp.xml.INI.1d6b.INI
ProfileReadStringEx failed; 0x80070002
CContentDefinition::GetFileTrueName failed; 0x80070002
CContentDefinition::PackSignatures failed; 0x80070002
CContentDefinition::CreatePackedSignature failed; 0x80070002
Failed to create packed signatures for content '12345.1' for package '12345'. Error code: 0X80070002
repeat for every file in the app...
I've removed AV from the DP in question, redistributed the app - just waiting for the results. Has anyone seen this happen on random servers, random apps? I have one server in particular that seems to have a large number of packages failed in this manner after a DP reinstall (in attempt to fix like one failed package with the above errors, after trying everything I could think of - I opted to reinstall the DP role in case there was some IIS corruption, in particular with the package signature website/app pool, whatever it's called). that usually works perfectly - the DP just runs a check on each package already in the local content library, and marks them green in the console after I reassociate the necessary DP groups.
well... as I was typing this..waiting for the content to update for the app I mentioned above - after having removed the AV program, guess what happened?
2
u/ReputationOld8053 2d ago
I have seen something similar when a client tried to get content. Issue that time was, someone modified the source package files -> the package hash changed, but never updated any DP.
Can you try to rebuild the package again (revision 2) and deploy it to this DP? Also compare the ini that is on the healthy DPs and the source Ini
1
u/stuartsmiles01 2d ago edited 2d ago
Check permissions on folders have seen issues writing signatures to the SMSSIG folder, and have seen av pick up pacjage files where av doesn't like some drivers that have later been found as vulnerable so the av doesn't like it in the package.
Review event log on the DP as well as smsdpmon.log, and the transfer logs on the management point, and you might see the files can't write to the folders. Also see if redistribute of the package makes a difference si you can try it and watch the lig files in real time to see the steps happening, ( perhaps also traffic via wireshark), or create the package again and see if that one distributes instead ?
Review AV logs to see if it identifies the files as being blocked, also note which owner is running the processes, then can confirm if the owner of the process [ be that the local system, local service, network service, computer account, or account for the management point computer], can write to where sccm is trying to put the files as well. The logs in defender or other AV should give you a clue as to which service or account needs permissions.
Also check for DCOM errors or permissions issues in event viewer and any old certificates or errors with certs for iis.
Let us know what you find.