Impossible to delete Print-Scan-Server role

Profwalken 20 Reputation points
2023-02-26T15:56:41.9133333+00:00

Hi,

on a fresh installed WSE16, I'm stuck with a role impossible to delete.

The one concerned is Print-Scan-Server only (all others are working fine and able to be added or deleted)

Have tried with server manager first, then it hang up at 58%

Then tried with Powershell same hang at 60%

erreur suppression role

Here is an extract of the CBS log

2023-02-26 16:18:18, Info                  CBS    TI: CBS has queried the current reboot required state: 0
2023-02-26 16:18:18, Info                  CBS    Reporting selectable update change for package: Microsoft-Windows-Printing-Server-Role-Package~31bf3856ad364e35~amd64~~10.0.14393.0, update: BusScan-ScanServer, start: Installed, applicable: Staged, target: Staged, client id: DISM Package Manager Provider, initiated offline: False, execution sequence: 165, first merged sequence: 165, download source: 0, download time (secs): 4294967295, download status: 0x0 (S_OK),reboot required: False, overall result:0x8000ffff (E_UNEXPECTED)
2023-02-26 16:18:18, Info                  CBS    SQM: Update change report datapoints not populated because SQM is not initialized or not running online.
2023-02-26 16:18:18, Info                  CBS    Reporting package change for package: Microsoft-Windows-Printing-Server-Role-Package~31bf3856ad364e35~amd64~~10.0.14393.0, current: Installed, pending: Default, start: Installed, applicable: Installed, target: Installed, limit: Installed, hotpatch status: StillGoing, status: 0x0, failure source: Execute, reboot required: False, client id: DISM Package Manager Provider, initiated offline: False, execution sequence: 165, first merged sequence: 165, reboot reason: REBOOT_NOT_REQUIRED, RM App session: -1, RM App name: N/A, FileName in use: N/A, release type: Feature Pack, release quality: final, OC operation: True, download source: 0, download time (secs): 4294967295, download status: 0x0 (S_OK), Express download: False, Download Size: 0
2023-02-26 16:18:18, Info                  CBS    SQM: Package change report datapoints not populated because SQM is not initialized or not running online.
2023-02-26 16:18:18, Info                  CBS    Reporting package change completion for package: Microsoft-Windows-Printing-Server-Role-Package~31bf3856ad364e35~amd64~~10.0.14393.0, current: Installed, original: Installed, target: Installed, status: 0x8000ffff, failure source: Execute, failure details: "(null)", client id: DISM Package Manager Provider, initiated offline: False, execution sequence: 165, first merged sequence: 165, pending decision: InteractiveInstallFailed, primitive execution context: Interactive Flight: False
2023-02-26 16:18:18, Info                  CBS    The store corruption status report is incomplete. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2023-02-26 16:18:18, Info                  CBS    Execute time performance datapoint is invalid. [HRESULT = 0x80070490 - ERROR_NOT_FOUND]
2023-02-26 16:18:18, Info                  CBS    SQM: Package change report datapoints not populated because SQM is not initialized or not running online.
2023-02-26 16:18:18, Info                  CBS    TI: CBS has queried the current reboot required state: 0
2023-02-26 16:18:18, Info                  CBS    Reporting selectable update change for package: Microsoft-Windows-Printing-Server-Role-Core-Package~31bf3856ad364e35~amd64~~10.0.14393.0, update: Printing-Server-Foundation-Features, start: Installed, applicable: Staged, target: Staged, client id: DISM Package Manager Provider, initiated offline: False, execution sequence: 165, first merged sequence: 165, download source: 0, download time (secs): 4294967295, download status: 0x0 (S_OK),reboot required: False, overall result:0x8000ffff (E_UNEXPECTED)
2023-02-26 16:18:18, Info                  CBS    SQM: Update change report datapoints not populated because SQM is not initialized or not running online.
2023-02-26 16:18:18, Info                  CBS    Reporting package change for package: Microsoft-Windows-Printing-Server-Role-Core-Package~31bf3856ad364e35~amd64~~10.0.14393.0, current: Installed, pending: Default, start: Installed, applicable: Installed, target: Installed, limit: Installed, hotpatch status: StillGoing, status: 0x0, failure source: Execute, reboot required: False, client id: DISM Package Manager Provider, initiated offline: False, execution sequence: 165, first merged sequence: 165, reboot reason: REBOOT_NOT_REQUIRED, RM App session: -1, RM App name: N/A, FileName in use: N/A, release type: Feature Pack, release quality: final, OC operation: True, download source: 0, download time (secs): 4294967295, download status: 0x0 (S_OK), Express download: False, Download Size: 0
2023-02-26 16:18:18, Info                  CBS    SQM: Package change report datapoints not populated because SQM is not initialized or not running online.
2023-02-26 16:18:18, Info                  CBS    Reporting package change completion for package: Microsoft-Windows-Printing-Server-Role-Core-Package~31bf3856ad364e35~amd64~~10.0.14393.0, current: Installed, original: Installed, target: Installed, status: 0x8000ffff, failure source: Execute, failure details: "(null)", client id: DISM Package Manager Provider, initiated offline: False, execution sequence: 165, first merged sequence: 165, pending decision: InteractiveInstallFailed, primitive execution context: Interactive Flight: False
2023-02-26 16:18:18, Info                  CBS    The store corruption status report is incomplete. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2023-02-26 16:18:18, Info                  CBS    Execute time performance datapoint is invalid. [HRESULT = 0x80070490 - ERROR_NOT_FOUND]
2023-02-26 16:18:18, Info                  CBS    SQM: Package change report datapoints not populated because SQM is not initialized or not running online.
2023-02-26 16:18:18, Info                  CBS    TI: CBS has queried the current reboot required state: 0
2023-02-26 16:18:18, Info                  CBS    Reporting selectable update change for package: Microsoft-Windows-FSRM-Infrastructure-Package~31bf3856ad364e35~amd64~~10.0.14393.0, update: FSRM-Infrastructure-Services, start: Installed, applicable: Staged, target: Staged, client id: DISM Package Manager Provider, initiated offline: False, execution sequence: 165, first merged sequence: 165, download source: 0, download time (secs): 4294967295, download status: 0x0 (S_OK),reboot required: False, overall result:0x8000ffff (E_UNEXPECTED)
2023-02-26 16:18:18, Info                  CBS    SQM: Update change report datapoints not populated because SQM is not initialized or not running online.
2023-02-26 16:18:18, Info                  CBS    Reporting package change for package: Microsoft-Windows-FSRM-Infrastructure-Package~31bf3856ad364e35~amd64~~10.0.14393.0, current: Installed, pending: Default, start: Installed, applicable: Installed, target: Installed, limit: Installed, hotpatch status: StillGoing, status: 0x0, failure source: Execute, reboot required: False, client id: DISM Package Manager Provider, initiated offline: False, execution sequence: 165, first merged sequence: 165, reboot reason: REBOOT_NOT_REQUIRED, RM App session: -1, RM App name: N/A, FileName in use: N/A, release type: Feature Pack, release quality: final, OC operation: True, download source: 0, download time (secs): 4294967295, download status: 0x0 (S_OK), Express download: False, Download Size: 0
2023-02-26 16:18:18, Info                  CBS    SQM: Package change report datapoints not populated because SQM is not initialized or not running online.
2023-02-26 16:18:18, Info                  CBS    Reporting package change completion for package: Microsoft-Windows-FSRM-Infrastructure-Package~31bf3856ad364e35~amd64~~10.0.14393.0, current: Installed, original: Installed, target: Installed, status: 0x8000ffff, failure source: Execute, failure details: "(null)", client id: DISM Package Manager Provider, initiated offline: False, execution sequence: 165, first merged sequence: 165, pending decision: InteractiveInstallFailed, primitive execution context: Interactive Flight: False
2023-02-26 16:18:18, Info                  CBS    The store corruption status report is incomplete. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2023-02-26 16:18:18, Info                  CBS    Execute time performance datapoint is invalid. [HRESULT = 0x80070490 - ERROR_NOT_FOUND]
2023-02-26 16:18:18, Info                  CBS    SQM: Package change report datapoints not populated because SQM is not initialized or not running online.
2023-02-26 16:18:18, Info                  CBS    FinalCommitPackagesState: Completed persisting state of packages
2023-02-26 16:18:18, Info                  CBS    Enabling LKG boot option
2023-02-26 16:18:18, Info                  CBS    Exec: Processing complete.  Session: 31017461_2080961597, Package: Microsoft-Windows-Foundation-Package~31bf3856ad364e35~amd64~~10.0.14393.0 [HRESULT = 0x8000ffff - E_UNEXPECTED]
2023-02-26 16:18:18, Error                 CBS    Failed to perform operation.  [HRESULT = 0x8000ffff - E_UNEXPECTED]

Server Boot system is on a Raid0 SSD 2*1TB, Server is running on HP Z230 hardware and with 32 ECC GB RAM.

I did a SFC /scannow (with nothing seen corrupted)

I did also a DISM /online /cleanup-image /restorehealth (without any problem displayed)

I'm out of ideas in my surface knowledge about WS16, so if you have some lights into that kind of behavior and want to share, you are welcome.

Windows Server 2016
Windows Server 2016
A Microsoft server operating system that supports enterprise-level management updated to data storage.
2,368 questions
0 comments No comments
{count} votes

Accepted answer
  1. Dave Patrick 426K Reputation points MVP
    2023-02-26T16:10:57.38+00:00

    You can also try a repair install by running setup.exe from the root of the install media but time may be better spent standing up a new one, patch fully, migrate roles over and move on.

    -

    --please don't forget to upvote and Accept as answer if the reply is helpful--


1 additional answer

Sort by: Most helpful
  1. Profwalken 20 Reputation points
    2023-02-28T14:07:11.8266667+00:00

    Thanks Dave,

    Finally I did a complete reinstall, one more, and now all seems to work fine, until the next buggy problem.

    It seems to me MS servers are really easily subject to problems you never understand where they come from, even with fresh install.

    I need to use this for work but how far it is from my expectations. Nearly every small change need to reboot.

    I'm asking if Microsoft gave server OS DEV project to junior unpaid trainees, when you get something fine on the first try it seems more a random exception than the default way.

    I'm really not impressed .