安裝文件服務器資源管理器
安裝文件服務器資源管理器,出錯,主要查 CBS.log,在 \Windows\Logs 目錄下;如果重啟出錯,還要查 setupapi.dev.log,在 \Windows\inf 目錄下。
如果無法讀取配置注冊表項,是由於有一些先決的組件沒有安裝或啟用。可以在日志中找到 Intended State: Staged 或 Intended State: Resolved。有些組件安裝了就啟用了,而有些還需要強制啟用。
如果組件存儲已損壞,則有可能是缺少文件,也有可能是缺少注冊表中有關鍵值。
Enable-WindowsOptionalFeature -Online -FeatureName FSRM-management
Enable-WindowsOptionalFeature: 無法讀取配置注冊表項。
1
File-Services,Intended State: Staged
Enable-WindowsOptionalFeature -Online -FeatureName File-Services
2
ServerCore-WOW64,Intended State: Resolved
Install-Package Microsoft-Windows-ServerCore-WOW64-Package~31bf3856ad364e35~amd64~~6.3.9600.16384.mum
Install-Package Microsoft-Windows-ServerCore-WOW64-Package~31bf3856ad364e35~amd64~zh-CN~6.3.9600.16384.mum
2.1
Microsoft-Windows-Networking-Singulus-ServerCore-Package~31bf3856ad364e35~amd64~~6.3.9600.16384,state: Resolved
Install-Package Microsoft-Windows-Networking-Singulus-ServerCore-Package~31bf3856ad364e35~amd64~~6.3.9600.16384
Install-Package Microsoft-Windows-Networking-Singulus-ServerCore-Package~31bf3856ad364e35~amd64~zh-CN~6.3.9600.16384
2.1.1
MissingWinningComponentKeyon resource[101]"amd64_microsoft-windows-s..oyment-languagepack_31bf3856ad364e35_6.3.9600.16384_zh-cn_61a4dc3627401f00"
手工在 組件中添加 identity,在 分發中添加 appid:
Microsoft-Windows-Singulus-ServerCore-Tapi-Deployment-LanguagePack,Culture=zh-CN, Version=6.3.9600.16384, PublicKeyToken=31bf3856ad364e35,ProcessorArchitecture=amd64, versionScope=NonSxS
分發的值是什么呢?
縮短幾位。但實際,居然沒有要填分發的值,可能已經有了。
HKLM\COMPONENTS\CanonicalData\Deployments\microsoft-w..anguagepack_31bf3856ad364e35_6.3.9600.16384_61a4dc3627401f00
原來是在安裝時,自動建好了。
且分發中的內容也有了。
2.2
Microsoft-Windows-iSCSITarget-PowerShell-Package~31bf3856ad364e35~amd64~~6.3.9600.16384,state: Resolved
Install-Package Microsoft-Windows-iSCSITarget-PowerShell-Package~31bf3856ad364e35~amd64~~6.3.9600.16384
Install-Package Microsoft-Windows-iSCSITarget-PowerShell-Package~31bf3856ad364e35~amd64~zh-CN~6.3.9600.16384
2.3
Install-Package Microsoft-Windows-SecureStartup-OC-SC-Package~31bf3856ad364e35~amd64~~6.3.9600.16384
Install-Package Microsoft-Windows-SecureStartup-OC-SC-Package~31bf3856ad364e35~amd64~zh-CN~6.3.9600.16384
2.4
Install-Package Microsoft-Windows-BiometricFramework-Package~31bf3856ad364e35~amd64~~6.3.9600.16384
Install-Package Microsoft-Windows-BiometricFramework-Package~31bf3856ad364e35~amd64~zh-CN~6.3.9600.16384
2.5
Install-Package Microsoft-Windows-ServerCore-SKU-Foundation-Package~31bf3856ad364e35~amd64~~6.3.9600.16384
Install-Package Microsoft-Windows-ServerCore-SKU-Foundation-Package~31bf3856ad364e35~amd64~zh-CN~6.3.9600.16384
2.5.1
msdelta amd64_microsoft-windows-t..-remoteapplications_31bf3856ad364e35_6.3.9600.17415_none_331b34f1701f0480\.\amd64_microsoft-windows-t..-remoteapplications_31bf3856ad364e35_6.3.9600.16384_none_32ce9a15705897f8
Copy-Manifest amd64_microsoft-windows-t..-remoteapplications_31bf3856ad364e35_6.3.9600.16384_none_32ce9a15705897f8
重啟,失敗。
Reporting packagechange completion for package:Microsoft-Windows-ServerCore-SKU-Foundation-Package~31bf3856ad364e35~amd64~~6.3.9600.16384,current: Staged, original: Staged, target: Installed, status: 0x8004400a,failure source: AI, failure details: "Mof 8004400a 32 Install(firstinstall) Microsoft-Windows-TerminalServices-Publishing-WMIProvider,Culture=neutral, PublicKeyToken=31bf3856ad364e35, ProcessorArchitecture=amd64,versionScope=NonSxS ",client id: DISM Package Manager Provider, initiated offline: False, executionsequence: 14511, first merged sequence: 14511, pending decision: Unknown,primitive execution context: Shutdown
2.5.1.1
Install-Package Microsoft-Windows-ServerDesktopExperience-drivers~31bf3856ad364e35~amd64~~6.3.9600.16384
Install-Package Microsoft-Windows-ServerDesktopExperience-drivers~31bf3856ad364e35~amd64~zh-CN~6.3.9600.16384
2.5.1.2
Install-Package Microsoft-Windows-ServerDesktopExperience-multimedia~31bf3856ad364e35~amd64~~6.3.9600.16384
Install-Package Microsoft-Windows-ServerDesktopExperience-multimedia~31bf3856ad364e35~amd64~zh-CN~6.3.9600.16384
2.5.1.3
Install-Package Microsoft-Windows-ServerDesktopExperience~31bf3856ad364e35~amd64~~6.3.9600.16384.mum
Install-Package Microsoft-Windows-ServerDesktopExperience~31bf3856ad364e35~amd64~zh-CN~6.3.9600.16384.mum
2.5.1.3.1
Install-Package Microsoft-Windows-WIA-Server-Drivers-Package~31bf3856ad364e35~amd64~~6.3.9600.16384
Install-Package Microsoft-Windows-WIA-Server-Drivers-Package~31bf3856ad364e35~amd64~zh-CN~6.3.9600.16384
2.5.1.3.2
Install-Package Microsoft-Windows-ServerDesktopExperience-shell~31bf3856ad364e35~amd64~~6.3.9600.16384
Install-Package Microsoft-Windows-ServerDesktopExperience-shell~31bf3856ad364e35~amd64~zh-CN~6.3.9600.16384
(到底是要先裝功能,還是先裝語言?我也糊塗了。)
2.5.1.3.3
(dirMicrosoft-Windows-ServerDesktopExperience*.mum ).BaseName | %{ Install-Package$_ }
2.5.1.3.4
Install-Package Microsoft-Windows-Portable-Devices-Package~31bf3856ad364e35~amd64~zh-CN~6.3.9600.16384
Install-Package Microsoft-Windows-Portable-Devices-Package~31bf3856ad364e35~amd64~zh-CN~6.3.9600.16384
2.5.1.3.5
Microsoft-Windows-Portable-Devices-Package-windows~31bf3856ad364e35~amd64~~6.3.9600.16384
Copy-Manifest amd64_microsoft-windows-w..extension.resources_31bf3856ad364e35_6.3.9600.16384_zh-cn_9b9936c317051b12
Copy-Manifest amd64_microsoft-windows-w..deviceapi.resources_31bf3856ad364e35_6.3.9600.16384_zh-cn_464ed7eccd16d494
Copy-Manifest amd64_microsoft.windows.h..iverclass.resources_31bf3856ad364e35_6.3.9600.16384_zh-cn_caa5a26b19155908
amd64_wpdfs.inf.resources_31bf3856ad364e35_6.3.9600.16384_zh-cn_0895a688bef5caf3
amd64_wpdcomp.inf.resources_31bf3856ad364e35_6.3.9600.16384_zh-cn_20f92977e664dacb
x86_microsoft-windows-w..deviceapi.resources_31bf3856ad364e35_6.3.9600.16384_zh-cn_ea303c6914b9635e
amd64_microsoft-windows-wpd-status.resources_31bf3856ad364e35_6.3.9600.16384_zh-cn_58bcdc877caa2cc9
amd64_bthmtpenum.inf-languagepack_31bf3856ad364e35_6.3.9600.16384_zh-cn_97e54d25b7683884
amd64_wpdmtp.inf-languagepack_31bf3856ad364e35_6.3.9600.16384_zh-cn_3aaf8028726b7484
amd64_c_wpd.inf-languagepack_31bf3856ad364e35_6.3.9600.16384_zh-cn_cb9ced6e19006de9
x86_microsoft-windows-w..extension.resources_31bf3856ad364e35_6.3.9600.16384_zh-cn_3f7a9b3f5ea7a9dc
Install-Package Microsoft-Windows-Portable-Devices-Package~31bf3856ad364e35~amd64~~6.3.9600.16384
Install-Package Microsoft-Windows-Portable-Devices-Package~31bf3856ad364e35~amd64~zh-CN~6.3.9600.16384
2.5.1.3.6
amd64_microsoft-windows-o..efiles-ui.resources_31bf3856ad364e35_6.3.9600.16384_zh-cn_b120dc5a1c8edfea
Install-Package Microsoft-Windows-OfflineFiles-UI-Package~31bf3856ad364e35~amd64~~6.3.9600.16384
Install-Package Microsoft-Windows-OfflineFiles-UI-Package~31bf3856ad364e35~amd64~zh-CN~6.3.9600.16384
3
Microsoft-Windows-FSRM-All-Package~31bf3856ad364e35~amd64~~6.3.9600.16384,Remote Parent: RSAT, Intended State: Staged
Install-package Microsoft-Windows-FSRM-All-Package~31bf3856ad364e35~amd64~~6.3.9600.16384
Install-package Microsoft-Windows-FSRM-All-Package~31bf3856ad364e35~amd64~zh-CN~6.3.9600.16384
Enable-WindowsOptionalFeature -Online -FeatureName RSAT
重啟
3.1
未能安裝成功:
! inf: Unable to load INF:'C:\WINDOWS\System32\DriverStore\FileRepository\sti.inf_amd64_6a56d10033d8a3cb\sti.inf'(e0000100)
被壓縮了,解壓縮:
Msdelta.exeC:\WINDOWS\System32\DriverStore\FileRepository\sti.inf_amd64_6a56d10033d8a3cb
改了以后,再啟用 RSAT 功能,不需要重啟了。
0.1
系統找不到指定的文件。
amd64_microsoft-windows-fsrm-ui_31bf3856ad364e35_6.3.9600.16384_none_bbb9b073fb9233a3
Copy-Manifestamd64_microsoft-windows-fsrm-ui_31bf3856ad364e35_6.3.9600.16384_none_bbb9b073fb9233a3
0.2
系統找不到指定的文件。
msil_cfscommonuifx.resources_31bf3856ad364e35_6.3.9600.16384_zh-cn_186def1bc0d95c56
但這里的文件被壓縮了,要先解壓:
msdelt amsil_cfscommonuifx.resources_31bf3856ad364e35_6.3.9600.16384_zh-cn_186def1bc0d95c56
Copy-Manifest msil_cfscommonuifx.resources_31bf3856ad364e35_6.3.9600.16384_zh-cn_186def1bc0d95c56
0.3
msil_cfscommonuifx_31bf3856ad364e35_6.3.9600.16384_none_f45fcc7985ded0dd
同上。
應該還有幾個,上次復制完了,就感覺不對的,因為有許多 16384 的目錄被復制到組件庫中了,而這些是以前未用到過的,應該沒有解壓過。
但實際上就這幾個。
不過最終結果依然是不能運行。
FX:{f8abd46c-1297-4474-9cdf-831ebb245f49}
調用的目標發生了異常。
FX:{f8abd46c-1297-4474-9cdf-831ebb245f49} | |
故障轉移群集管理器 | FX:{d2779945-405b-4ace-8618-508f3e3054ac} |
打印管理 | 無法初始化管理單元 |
本地備份 | FX:{811FD892-5EB4-4E73-A147-F1E079E36C4D} |
Windows Server Backup | FX:{122ebc48-bf89-429e-8535-1c46393bdfa8} |
IIS6 管理器 | |
ADSIEdit | |
AD 域和信任 | |
AD 站點和服務 | |
AD 站點和服務擴展 |
0.4
找一個有關 mmc 的文件夾:
msil_mmcex.resources_31bf3856ad364e35_6.3.9600.16384_zh-cn_7582e75d0207509b | mmcex.resources.dll |
其他所有語言的都是正常的,但,這個目錄下的文件只有 12 個字節。
要用新版本的代替一下吧。
msil_mmcex.resources_31bf3856ad364e35_6.3.9600.17031_zh-cn_75b5d9a101e19b0d
copy msil_mmcex.resources_31bf3856ad364e35_6.3.9600.17031_zh-cn_75b5d9a101e19b0d\*msil_mmcex.resources_31bf3856ad364e35_6.3.9600.16384_zh-cn_7582e75d0207509b
Copy-Manifest msil_mmcex.resources_31bf3856ad364e35_6.3.9600.16384_zh-cn_7582e75d0207509b
0.5
msil_wsbmmc.resources_31bf3856ad364e35_6.3.9600.16384_zh-cn_17980dca3d6d10ee | msil_wsbmmc.resources_31bf3856ad364e35_6.3.9600.17031_zh-cn_17cb000e3d475b60 | wsbmmc.resources.dll |
msil_mmcfxcommon.resources_31bf3856ad364e35_6.3.9600.16384_zh-cn_473b847e6db720a9 | msil_mmcfxcommon.resources_31bf3856ad364e35_6.3.9600.17031_zh-cn_476e76c26d916b1b | mmcfxcommon.resources.dll |
msil_blbmmc.resources_31bf3856ad364e35_6.3.9600.16384_zh-cn_ada7f7987d90f474 | msil_blbmmc.resources_31bf3856ad364e35_6.3.9600.17031_zh-cn_addae9dc7d6b3ee6 | blbmmc.resources.dll |
也是 12 字節
0.6
C:\Windows\assembly\GAC_64\srmlib\1.0.0.0__31bf3856ad364e35\srmlib.dll
這個文件怎么是壓縮的?
有兩個目錄:
amd64_srmlib_31bf3856ad364e35_6.3.9600.16384_none_f2c70cfa3ad86c10
x86_srmlib_31bf3856ad364e35_6.3.9600.16384_none_96a87176827afada
它與第一個目錄下的文件一致。
msdelta amd64_srmlib_31bf3856ad364e35_6.3.9600.16384_none_f2c70cfa3ad86c10
Copy-Manifest amd64_srmlib_31bf3856ad364e35_6.3.9600.16384_none_f2c70cfa3ad86c10
Msdelta.exe x86_srmlib_31bf3856ad364e35_6.3.9600.16384_none_96a87176827afada
Copy-Manifest x86_srmlib_31bf3856ad364e35_6.3.9600.16384_none_96a87176827afada
找一下,它是由哪一個包安裝的?
有四個入口
sharemgmt-r..ent-tools-d_31bf3856ad364e35_6.3.9600.16384_ddf10ca19eddeb1e | microsoft-windows-server-gui-rsat-package-base |
microsoft-w..-deployment_31bf3856ad364e35_6.3.9600.16384_c37ac4c205c6c124 | microsoft-windows-fsrm-all-package~31bf3856ad364e35~amd64 microsoft-windows-fsrm-all-package~31bf3856ad364e35~amd64 microsoft-windows-fsrm-infrastructure-package |
microsoft-w..-deployment_31bf3856ad364e35_6.3.9600.16384_973bf5c551efdc02 | microsoft-windows-fci-client-package~31bf3856ad364e35~amd64 |
microsoft-w..-deployment_31bf3856ad364e35_6.3.9600.16384_378e830d460f2bc0 | microsoft-windows-businessscanning-scanrepository-package-ba |
0.6.1
處理 microsoft-windows-fci-client-package
先卸載,再安裝
Remove-Package Microsoft-Windows-FCI-Client-Package~31bf3856ad364e35~amd64~zh-CN~6.3.9600.16384
Remove-Package Microsoft-Windows-FCI-Client-Package~31bf3856ad364e35~amd64~~6.3.9600.16384
Install-Package Microsoft-Windows-FCI-Client-Package~31bf3856ad364e35~amd64~~6.3.9600.16384
Install-Package Microsoft-Windows-FCI-Client-Package~31bf3856ad364e35~amd64~zh-CN~6.3.9600.16384
盡管安裝成功,並未能復制到GAC 中,只能手工再解壓了。
Cd C:\Windows\assembly\GAC_64\srmlib\1.0.0.0__31bf3856ad364e35
Cd C:\Windows\assembly\GAC_32\srmlib\1.0.0.0__31bf3856ad364e35
rd .\srmlib.dll
ren.\srmlib.dll.Apply .\srmlib.dll
現在,可以打開了,但是,有新的問題:
無法加載 WMI 對象,可能原因:
文件服務器資源管理器服務未運行
未正確配置防火牆以允許 WMI 通信
沒有對命令空間的足夠權限:Root\Microsoft\Windows\Fsrm
把服務重啟一下,即可。
終於看到親切的界面了。
推荐本站淘宝优惠价购买喜欢的宝贝:
本文链接:https://hqyman.cn/post/2603.html 非本站原创文章欢迎转载,原创文章需保留本站地址!
休息一下~~