I’m currently spending some time build a test lab with System Center 2012 Configuration Manager Service Pack 1 (CM12 or SCCM 2012 if you like to shorten it) and during a build and came across a couple of errors (0x80070002 and during my first build and capture task sequence. I thought I’d just quickly document the error codes and fixes.
0x80070002
This one is due to the credentials being used to access the DP being incorrect – I’d got the password wrong!
To resolve this go to Administration, select Site Configuration> Sites and select the site you’re deploying from. Right click the site and select Configure Site Components> Software Distribution. Select the Network Access Account tab and click the Set… button to specify the account used for network access. Select New Account and correct the details for your network access account. Don't forget to verify the connection.
0x80070002
This error was much harder to find, but I spotted a post that referred to problems capturing a VM, it then occurred to me that you need a minimum of 1024mb of RAM on the machine you’re capturing. For me this was a quick dive into Hyper-V settings and upping the minimum ram to 1024 mb from 512mb. You’ll need a minimum of 1024 even if you have Dynamic Memory enabled for the machine as WinPE doesn’t do Dynamic Memory.