0x8024200D and 0x800f081f error when you are installing Windows 7 or Windows Server 2008 R2 SP1

Symptom:

=========

When you install Windows 7 or Windows Server 2008 R2 SP1 you may receive error 0x800f081f or 0x8024200D.

When you check the CBS log(C:\Windows\Logs\CBS\cbs.log), you will find the errors like below:

2011-03-03 21:38:06, Error CBS Exec: Failed to pre-stage package: Package_for_KB976933~31bf3856ad364e35~amd64~cs-CZ~6.1.7601.17514, file: TsUsbGD.sys, source: \\?\C:\Windows\Servicing\Packages\amd64_tsgenericusbdriver.inf_31bf3856ad364e35_6.1.7601.17514_none_9872c8452ac8f816\TsUsbGD.sys, sandbox: (null) [HRESULT = 0x800f081f - CBS_E_SOURCE_MISSING]
2011-03-03 21:38:06, Info CBS Failed to gather all required files. [HRESULT = 0x800f081f - CBS_E_SOURCE_MISSING]

Solution:

=======

Please use the following methods to resolve the issue:

1. Run System Update Readiness Tool (KB947821). It should resolve the error in most of cases.

2. This may be due to a pre-release version of the RSAT tools being installed on the system. To alleviate this failure, do the following:

Please see details at the blog https://blogs.technet.com/b/asiasupp/archive/2011/02/18/remote-administration-pack-cannot-install-on-windows-7-service-pack-1.aspx

3. Run a remove package command for offending package identified in the CBS log or in the system event log.

For example, you may find the following event in the system event log:

 The example command is like below:

dism /online /remove-package /packagename:Package_for_KB976932~31bf3856ad364e35~amd64~~6.1.1.17514

Reference:

==========

https://social.technet.microsoft.com/Forums/en-US/winserversetup/thread/59b95d2e-2ba9-4879-93c8-3e75d8da6e6a/

https://social.technet.microsoft.com/Forums/pt-BR/winvistapt/thread/dd35d043-1ad6-4de5-842d-0bd0798d0956

https://social.technet.microsoft.com/Forums/en-US/w7itproinstall/thread/593d9393-41f9-493a-92e1-34ef9f0b02bc/

https://social.technet.microsoft.com/Forums/en-CA/w7itproSP/thread/b9987c7c-ffe0-4497-b87b-b3e789a5fd16

https://blogs.technet.com/b/asiasupp/archive/2011/02/18/remote-administration-pack-cannot-install-on-windows-7-service-pack-1.aspx

https://support.microsoft.com/kb/947821