Enjoy Sharing

Failed to Validate an MP from registry (8004005) and Failed to send Package State Messages to Site Server from Remote DP when running ExtractContent.exe for PrestageContent – SCCM 2012

So, I was trying to use the Prestaged Content File to send over a relatively large package over to a DP without transferring it over the wire. If you’ve done previous versions of SCCM, this is similar to courier sender. It enables administrators to send packages to a DP without using the any network bandwidth which is good for situations where bandwidth is scarce or if it takes too long to transfer it over a small bandwidth.

When I completed running the extractcontent.exe command line tool to decompress and extract my .PKGX file generated from my Primary Site server I get errors in my PrestageContent.log which is normally located at \SMS_DP$\sms\logs in the prestage DP itself.

 

Begin ====> Mon Dec 16 2013 18:17:36    PrestageContent    12/16/2013 6:17:36 PM    3248 (0x0CB0)
The following parameters were passed on command line:     PrestageContent    12/16/2013 6:17:36 PM    3248 (0x0CB0)
    /P – Full path to a prestaged file or to a folder containing one or more such files: ‘C:\Prestaged content file\Win7SP1x64.pkgx’    PrestageContent    12/16/2013 6:17:36 PM    3248 (0x0CB0)
    /F – Force prestaging of content even when it already exists on the site    PrestageContent    12/16/2013 6:17:36 PM    3248 (0x0CB0)
Detecting if a distribution point role exists on this machine    PrestageContent    12/16/2013 6:17:36 PM    3248 (0x0CB0)
Client is set to use HTTPS when available. The current state is 224.    PrestageContent    12/16/2013 6:17:36 PM    3248 (0x0CB0)
Set media certificate in transport    PrestageContent    12/16/2013 6:17:36 PM    3248 (0x0CB0)
Set authenticator in transport    PrestageContent    12/16/2013 6:17:36 PM    3248 (0x0CB0)
unknown host (gethostbyname failed)    PrestageContent    12/16/2013 6:17:36 PM    3248 (0x0CB0)
sending with winhttp failed; 80072ee7    PrestageContent    12/16/2013 6:17:36 PM    3248 (0x0CB0)
Failed to get information for MP: http://SetE-CM.SetE.local. 80072ee7.    PrestageContent    12/16/2013 6:17:36 PM    3248 (0x0CB0)
Failed to validate an MP from registry: http://SetE-CM.SetE.local. 80004005    PrestageContent    12/16/2013 6:17:36 PM    3248 (0x0CB0)
Checking content library on local DP    PrestageContent    12/16/2013 6:17:36 PM    3248 (0x0CB0)
Content library: path=’C:\SCCMContentLib’, usable drives=’C:\’    PrestageContent    12/16/2013 6:17:36 PM    3248 (0x0CB0)
============ Content meta data begin ===================    PrestageContent    12/16/2013 6:18:16 PM    3248 (0x0CB0)
File "C:\Prestaged content file\Win7SP1x64.pkgx"    PrestageContent    12/16/2013 6:18:16 PM    3248 (0x0CB0)
Content type: "Classic"    PrestageContent    12/16/2013 6:18:16 PM    3248 (0x0CB0)
Content modified: 16/12/2013 08:01:40    PrestageContent    12/16/2013 6:18:16 PM    3248 (0x0CB0)
Disk space required: 5021 MB    PrestageContent    12/16/2013 6:18:16 PM    3248 (0x0CB0)
Packages:     PrestageContent    12/16/2013 6:18:16 PM    3248 (0x0CB0)
  Package=MK200015.1, SMB=0    PrestageContent    12/16/2013 6:18:16 PM    3248 (0x0CB0)
Content Names:    PrestageContent    12/16/2013 6:18:16 PM    3248 (0x0CB0)
    "Win7SP1x64"    PrestageContent    12/16/2013 6:18:16 PM    3248 (0x0CB0)
============ Content meta data end =====================    PrestageContent    12/16/2013 6:18:16 PM    3248 (0x0CB0)
Content library already contains content MK200015.1    PrestageContent    12/16/2013 6:18:16 PM    3248 (0x0CB0)
Free space on the content library drive is 20286 MB    PrestageContent    12/16/2013 6:18:16 PM    3248 (0x0CB0)
The best drive on this remote DP is found to be C: (free space 20286 MB)    PrestageContent    12/16/2013 6:18:16 PM    3248 (0x0CB0)
No branch cache registry entries found.    PrestageContent    12/16/2013 6:18:16 PM    3248 (0x0CB0)
Uncompressing C:\Prestaged content file\Win7SP1x64.pkgx to C:\Prestaged content file\Win7SP1x64.pkgx.temp    PrestageContent    12/16/2013 6:18:16 PM    3248 (0x0CB0)
Content Library: C:\SCCMContentLib    PrestageContent    12/16/2013 6:19:16 PM    3248 (0x0CB0)
Extracting from C:\Prestaged content file\Win7SP1x64.pkgx.temp    PrestageContent    12/16/2013 6:19:16 PM    3248 (0x0CB0)
Extracting package MK200015    PrestageContent    12/16/2013 6:19:16 PM    3248 (0x0CB0)
Extracting content MK200015.1    PrestageContent    12/16/2013 6:19:16 PM    3248 (0x0CB0)
Content definition already exists: \\?\C:\SCCMContentLib\DataLib\MK200015.1    PrestageContent    12/16/2013 6:21:33 PM    3248 (0x0CB0)
Generating signature files to path C:\SMSSIG$    PrestageContent    12/16/2013 6:22:04 PM    3248 (0x0CB0)
Management point name is not defined    PrestageContent    12/16/2013 6:22:04 PM    3248 (0x0CB0)
Site Code: ‘MK2’    PrestageContent    12/16/2013 6:22:04 PM    3248 (0x0CB0)
DP server: ‘E-WIN7CMDP.SetE.local’    PrestageContent    12/16/2013 6:22:04 PM    3248 (0x0CB0)
NAL Path: ‘["Display=\\E-WIN7CMDP.SetE.local\"]MSWNET:["SMS_SITE=MK2"]\\E-WIN7CMDP.SetE.local\’    PrestageContent    12/16/2013 6:22:04 PM    3248 (0x0CB0)
some DP settings are not defined.    PrestageContent    12/16/2013 6:22:04 PM    3248 (0x0CB0)
Failed to send package state messages to site server from remote DP.    PrestageContent    12/16/2013 6:22:04 PM    3248 (0x0CB0)
End ====> Mon Dec 16 2013 18:22:04    PrestageContent    12/16/2013 6:22:04 PM    3248 (0x0CB0)

Solution:

The problem that I found was that my DP didn’t have access rights to my Site Server. What has to be done was to add the DP computer account as an administrator to my Site Server. I should have caught that earlier when I saw “Failed to validate an MP from registry: http://SetE-CM.SetE.local. 80004005”. The DP was not able to send package state messages to site server to tell it that the extraction was complete and that it can now use the content. Also to my oversight that 80004005 normally points to an “access denied” error.

 

 

 

Enjoy!!!

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s