Помилка видалення програми PowerPath для Windows: 0x80070091 - Помилка видалення каталогу/помилки інсталяції PowerPath 0xe0000247: Проблема виникла під час спроби додати драйвер до магазину.
Summary: Помилка видалення програми PowerPath для Windows: 0x80070091 - Помилка видалення каталогу. Помилка інсталяції PowerPath 0xe0000247: Проблема виникла під час спроби додати драйвер до магазину. ...
Symptoms
1. Після успішного видалення PowerPath із засобу керування або програм і засобів під час інсталяції PowerPath повідомляється про наведену нижче помилку, і не вдається продовжити інсталяцію.

PowerPath 7.2 P02 installation Boot 2023-06-30 14:42:51.452 [UNK]: LIB: Event=0, Error=e0000247 (A problem was encountered while attempting to add the driver to the store.) Failed to copy OEM INF for driver package "C:\Program Files\EMC\PowerPath\Drivers\emcpclass.inf" 2023-06-30 14:42:51.452 [VER]: LIB: Event=3, In Limited retStatus= -1 reboot : 0 2023-06-30 14:42:51.453 [ERR]: EmcpWinInstallSetupDriver failed (0xe0000247). 2023-06-30 14:42:51.453 [ERR]: Command failed: error 2 (Generic failure).
### ppinstall_2023-06-30_XX-XX-XX_XXXXXX.log
PowerPath 7.2 P02 installation Boot 2023-06-30 14:42:51.452 [UNK]: LIB: Event=0, Error=e0000247 (A problem was encountered while attempting to add the driver to the store.) Failed to copy OEM INF for driver package "C:\Program Files\EMC\PowerPath\Drivers\emcpclass.inf" 2023-06-30 14:42:51.452 [VER]: LIB: Event=3, In Limited retStatus= -1 reboot : 0 2023-06-30 14:42:51.453 [ERR]: EmcpWinInstallSetupDriver failed (0xe0000247). 2023-06-30 14:42:51.453 [ERR]: Command failed: error 2 (Generic failure).
### SetupApi.Dev.log
>>> [SetupCopyOEMInf - C:\Program Files\EMC\PowerPath\Drivers\emcpclass.inf]
>>> Section start 2023/06/30 14:31:23.362
cmd: "C:\Program Files\EMC\PowerPath\ppinstall.exe" install -inf "C:\Program Files\EMC\PowerPath\Drivers\emcpclass.inf" -rootdevice default -force -limited -verbose -logfile "C:\ProgramData\EMC\PowerPath\logs\ppinstall_2023-06-30_14-30-59_29151.log"
sto: {Setup Import Driver Package: C:\Program Files\EMC\PowerPath\Drivers\emcpclass.inf} 14:31:23.362
inf: Provider: Dell Inc. or its subsidiaries.
inf: Class GUID: {4D36E967-E325-11CE-BFC1-08002BE10318}
inf: Driver Version: 08/11/2021,7.1.0.234
inf: Catalog File: EmcpClass.cat
pol: {Driver package policy check} 14:31:23.643
pol: {Driver package policy check - exit(0x00000000)} 14:31:23.643
sto: {Stage Driver Package: C:\Program Files\EMC\PowerPath\Drivers\emcpclass.inf} 14:31:23.643
inf: {Query Configurability: C:\Program Files\EMC\PowerPath\Drivers\emcpclass.inf} 14:31:23.659
inf: Driver package 'emcpclass.inf' is configurable.
inf: {Query Configurability: exit(0x00000000)} 14:31:23.659
flq: Copying 'C:\Program Files\EMC\PowerPath\Drivers\EmcpClass.cat' to 'C:\Windows\System32\DriverStore\Temp\{197cd00c-edd4-2c44-a211-61ae2c995147}\EmcpClass.cat'.
flq: Copying 'C:\Program Files\EMC\PowerPath\Drivers\emcpclass.inf' to 'C:\Windows\System32\DriverStore\Temp\{197cd00c-edd4-2c44-a211-61ae2c995147}\emcpclass.inf'.
flq: Copying 'C:\Program Files\EMC\PowerPath\Drivers\EmcpClass.sys' to 'C:\Windows\System32\DriverStore\Temp\{197cd00c-edd4-2c44-a211-61ae2c995147}\EmcpClass.sys'.
sto: {DRIVERSTORE IMPORT VALIDATE} 14:31:23.706
sig: {_VERIFY_FILE_SIGNATURE} 14:31:23.737
sig: Key = emcpclass.inf
sig: FilePath = C:\Windows\System32\DriverStore\Temp\{197cd00c-edd4-2c44-a211-61ae2c995147}\emcpclass.inf
sig: Catalog = C:\Windows\System32\DriverStore\Temp\{197cd00c-edd4-2c44-a211-61ae2c995147}\EmcpClass.cat
! sig: Verifying file against specific (valid) catalog failed! (0x800b0109)
! sig: Error 0x800b0109: A certificate chain processed, but terminated in a root certificate which is not trusted by the trust provider.
sig: {_VERIFY_FILE_SIGNATURE exit(0x800b0109)} 14:31:23.878
sig: {_VERIFY_FILE_SIGNATURE} 14:31:23.878
sig: Key = emcpclass.inf
sig: FilePath = C:\Windows\System32\DriverStore\Temp\{197cd00c-edd4-2c44-a211-61ae2c995147}\emcpclass.inf
sig: Catalog = C:\Windows\System32\DriverStore\Temp\{197cd00c-edd4-2c44-a211-61ae2c995147}\EmcpClass.cat
! sig: Verifying file against specific Authenticode(tm) catalog failed! (0x800b0109)
! sig: Error 0x800b0109: A certificate chain processed, but terminated in a root certificate which is not trusted by the trust provider.
sig: {_VERIFY_FILE_SIGNATURE exit(0x800b0109)} 14:31:23.956
!!! sig: Driver package catalog file certificate does not belong to Trusted Root Certificates, and Code Integrity is enforced.
!!! sig: Driver package failed signature validation. Error = 0xE0000247
sto: {DRIVERSTORE IMPORT VALIDATE: exit(0xe0000247)} 14:31:23.956
!!! sig: Driver package failed signature verification. Error = 0xE0000247
!!! sto: Failed to import driver package into Driver Store. Error = 0xE0000247
sto: {Stage Driver Package: exit(0xe0000247)} 14:31:23.972
sto: {Setup Import Driver Package - exit (0xe0000247)} 14:31:23.972
!!! inf: Failed to import driver package into driver store
!!! inf: Error 0xe0000247: A problem was encountered while attempting to add the driver to the store.
2. Під час запуску команди PowerPath RemoveAll "DellEMCPower.X64.Signed.7.1.b267.exe /r" Помилка: 0x80070091 - Повідомляється про помилку видалення каталогу.
### bootstrapper_2023-06-30_14-05-21_24128.log
2023-06-30 14:05:21 Extracting embedded files for component 'ppremoveall': 1 CAB(s)
2023-06-30 14:05:21 Resolved CAB path 'C:\administrator\AppData\Local\Temp\2\{3A4C2982-F5D1-4F5F-A0A6-69F376E72612}\current' for component 'PPREMOVEALL'
2023-06-30 14:05:21 Extracting 'SETUP_PPREMOVEALL_1.CAB' for component 'PPREMOVEALL'
2023-06-30 14:05:21 Extracting: C:\Users\administrator\AppData\Local\Temp\2\{3A4C2982-F5D1-4F5F-A0A6-69F376E72612}\current\ppRemoveAll.exe
2023-06-30 14:05:21 Done: C:\Users\administratorAppData\Local\Temp\2\{3A4C2982-F5D1-4F5F-A0A6-69F376E72612}\current\ppRemoveAll.exe
2023-06-30 14:05:21 -- Executable: C:\Users\administrator\AppData\Local\Temp\2\{3A4C2982-F5D1-4F5F-A0A6-69F376E72612}\current\PPRemoveAll.exe -no
2023-06-30 14:05:21 PPRemoveall started (C:\Users\administrator\AppData\Local\Temp\2\{3A4C2982-F5D1-4F5F-A0A6-69F376E72612}\current\PPRemoveAll.exe -no)
2023-06-30 14:05:27 PPRemoveall finished (0)
2023-06-30 14:05:27 Deleting temporary directory
2023-06-30 14:07:31 Error: 0x80070091 - Error deleting directory: C:\Users\administrator\AppData\Local\Temp\2\{3A4C2982-F5D1-4F5F-A0A6-69F376E72612}\current: The directory is not empty.
2023-06-30 14:07:31 EMC PowerPath installer finished, return code=-1
Cause
Resolution
Проблему можна вирішити, тимчасово вимкнувши перевірку підпису драйвера.
1. Вимкніть перевірку підпису на хості командою "bcdedit /set testsigning on".
2. Перезавантажте хост.
3. Інсталюйте програму PowerPath
4. Повторно увімкніть функцію перевірки підпису на хості командою "bcdedit /set testsignsignoff".
5. Перезавантажте хост.