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%

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.