Server 2012 R2 roles are not installed or removed. Error: 0x80073701

eduard_rogov

Active member
Joined
Mar 31, 2020
Posts
35
Good afternoon.
When I try to install (remove) the role, I see an error:
The request to add or remove components on the specified server failed. Failed to install one or more roles, role services, or features. The referenced assembly was not found. Error: 0x80073701.

He performed almost everything he found on the Internet. Can there be any other assumptions? I don’t feel like demolishing the domain controller at all.

Framework'i, judging by the snap-in of the server manager, are installed. But they are not deleted with the same error 0x80073701

The path to the SxS assembly pointed. Update Center starts, updates are all installed.

DISM.exe / Online / Cleanup-image / Scanhealth
DISM.exe / Online / Cleanup-image / Restorehealth (each time it says that the damaged storage is fixed)
sfc / scannow does not produce any errors anywhere.
Language packs are not installed - it hangs in the process, and after that it says that the time has run out.


CBS logs (CBS.log) and DISM (dism.log).
 
2020-03-31 08:10:29, Info CBS Exec: Resolving Package: Microsoft-Windows-TerminalServices-Gateway-Package~31bf3856ad364e35~amd64~~6.3.9600.16384, Update: Gateway, PinDeployment: amd64_microsoft-windows-t..gmttools-deployment_31bf3856ad364e35_6.3.9600.16384_none_86653201172556dc
2020-03-31 08:10:29, Info CBS Exec: 3 deployments need bulk staging
2020-03-31 08:10:30, Error CSI 0000000c@2020/3/31:05:10:30.07 (F) base\wcp\componentstore\csd_locking.cpp(216): Error STATUS_SXS_ASSEMBLY_MISSING originated in function CCSDirectTransaction::LockComponent expression: (null)
[gle=0x80004005]
2020-03-31 08:10:30, Error CSI 0000000d (F) STATUS_SXS_ASSEMBLY_MISSING #280871# from CCSDirectTransaction::OperateEnding at index 0 of 1 operations, disposition 2[gle=0xd015000c]
2020-03-31 08:10:30, Error CSI 0000000e (F) HRESULT_FROM_WIN32(ERROR_SXS_ASSEMBLY_MISSING) #280754# from Windows::ServicingAPI::CCSITransaction::ICSITransaction_PinDeployment(Flags = 0, a = Microsoft-Windows-TSProxy-WMIProvider-Deployment, Version = 6.3.9600.16384, pA = PROCESSOR_ARCHITECTURE_AMD64 (9), Culture neutral, VersionScope = 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, Type neutral, TypeName neutral, PublicKey neutral, cb = (null), s = (null), rid = [97]"Microsoft-Windows-TerminalServices-Gateway-Package~31bf3856ad364e35~amd64~~6.3.9600.16384.Gateway", rah = (null), manpath = (null), catpath = (null), ed = 0, disp = 0)[gle=0x80073701]
2020-03-31 08:10:30, Info CBS Failed to pin deployment while resolving Update: Microsoft-Windows-TerminalServices-Gateway-Package~31bf3856ad364e35~amd64~~6.3.9600.16384.Gateway from file: (null) [HRESULT = 0x80073701 - ERROR_SXS_ASSEMBLY_MISSING]
2020-03-31 08:10:30, Info CBS Failed to bulk stage deployment manifest and pin deployment for package:Microsoft-Windows-TerminalServices-Gateway-Package~31bf3856ad364e35~amd64~~6.3.9600.16384 [HRESULT = 0x80073701 - ERROR_SXS_ASSEMBLY_MISSING]
2020-03-31 08:10:30, Info CBS CommitPackagesState: Started persisting state of packages
2020-03-31 08:10:30, Info CBS CommitPackagesState: Completed persisting state of packages
2020-03-31 08:10:30, Info CSI 0000000f@2020/3/31:05:10:30.022 CSI Transaction @0x945735e1b0 destroyed
2020-03-31 08:10:30, Info CBS Perf: Resolve chain complete.
2020-03-31 08:10:30, Info CBS Failed to resolve execution chain. [HRESULT = 0x80073701 - ERROR_SXS_ASSEMBLY_MISSING]
2020-03-31 08:10:30, Error CBS Failed to process single phase execution. [HRESULT = 0x80073701 - ERROR_SXS_ASSEMBLY_MISSING]
2020-03-31 08:10:30, Info CBS WER: Generating failure report for package: Microsoft-Windows-ServerCore-Package~31bf3856ad364e35~amd64~~6.3.9600.16384, status: 0x80073701, failure source: Resolve, start state: Installed, target state: Installed, client id: DISM Package Manager Provider
2020-03-31 08:10:30, Info CBS WER: Reporting disabled for testing purposes. Not submitting report: CbsPackageServicingFailure2
2020-03-31 08:10:30, Info CBS Reboot mark cleared
2020-03-31 08:10:30, Info CBS Winlogon: Deregistering for CreateSession notifications
2020-03-31 08:10:30, Info CBS Winlogon: Stopping notify server



I am inclined by logs to problems in the selected package. how to fix it?
 
Hi!

Step#1 - Capture Process Monitor Trace
1. Download and run Process Monitor. Leave this running while you perform the next steps.
2. Try enabling a role just like you have in the past.
3. Stop Process Monitor as soon as it fails. You can simply do this by clicking the magnifying glass on the toolbar as shown below.
i3yiUac.png


4. Select the File menu...Save... and save the file to your desktop. This is likely the default location. The name (unless changed) will be LogFile.PML. This is fine.
5. Zip up and provide the link to the LogFile.PML file as well as your CBS.log Examples of services to upload to are Dropbox or OneDrive or SendSpace.
 
When checking for updates does not find. Last time updates were put about two weeks ago. Installed normally. When installing the role through the server manager, the error described above is issued.
 
Are there additional language packs installed? If so, which?
Installed ONLY Russian (ru) package. English is not installed. For a very long time he tried to install the package (KB3012997) (en-US), but then he wrote that the package was not installed.
 
Please navigate to HKEY_LOCAL_MACHINE\SOFTWARE\MICROSOFT\WINDOWS\CurrentVersion\Component Based Servicing\PackageDetect and let me know if any other language codes are present besides Russian.
 
Please navigate to HKEY_LOCAL_MACHINE\SOFTWARE\MICROSOFT\WINDOWS\CurrentVersion\Component Based Servicing\PackageDetect and let me know if any other language codes are present besides Russian.
there are VERY many folders in the indicated section. I do not quite understand what I need to express specifically from them for you? I exported this folder to a .reg file and a .txt file. Will it come in handy?
rar
 
Hi!

Can you do the following instead?

Step#1 - Export CBS hive
  • Click on the Start button and in the search box, type regedit
  • When you see regedit on the list, right-click on it and select Run as administrator.
  • When regedit opens, using the left pane, navigate to the following registry key and select it by clicking on it once.

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing
  • Once selected, click File > Export....
  • Change the Save as type: to Registry Hive Files (.).
  • Name this file ComponentBasedServicing (with no file extension) and save it to your Desktop.
  • Right-click on the saved file and choose Send To -> Compressed (zipped) Folder.
  • Attach the .ZIP file to your next post.
  • If the file is too large to upload here, upload to Dropbox or OneDrive or SendSpace and just provide the link here.
 

Has Sysnative Forums helped you? Please consider donating to help us support the site!

Back
Top