Unexpected error calling routine

Исправление ошибки VSS EventID 8193 в Windows Server 2016

Система мониторинга с одного из серверов с Windows Server 2016 при каждой загрузке сервера стала слать события с ошибкой службы теневого копирования томов в журнале Application с EventID 8193 от источника VSS:

При этом сервер работает нормально, каких-то видимых проблем со службами нет. В списке модулей VSS также нет ошибок для ID этого экземпляра VSS Writer:

vss list writers

Данная ошибка довольно старая и обычно связана с установкой DHCP роли на сервер Windows Server 2008 (и выше), после которого у учетной записи Network Service пропадают права на ветку реестра HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\VSS\Diag.

Проблема связана с установкой модуля теневого копирования VSS — DHCP Jet Writer, отвечающего за корректное создание теневых копий DHCP службы, который изменяет права на ветку.

Чтобы исправить ошибку нужно вручную с помощью редактора реестра предоставить полные права для Network Service на указанную ветку.

  1. Запустите regedit.exe;
  2. Перейдите к ветке HKLM\SYSTEM\CurrentControlSet\services\VSS\Diag и откройте окно с правами на ветку реестра (пункт Permissions в контекстном меню);
  3. В списке разрешений найдите Network Service и в разрешениях предоставьте полный доступ (Full Control).

Вместо ручной правки реестра более правильнее было бы восстановить стандартные права на нее с помощью утилиты командной строки SubInACL. Скачайте и установите утилиту, (если это еще не сделано) и выполните следующие команды:

В Windows Server 2008 R2 команда будет такая (согласно KB Microsoft):

Затем в редакторе реестра нужно выполнить замену разрешений на вложенные объекты. Для этого откройте свойства ключа Diag и выполните “Permissions” -> “Advanced” -> “Replace all child object permissions ….».

Осталось перезагрузить Windows.

PS. Уже в процесса написания статьи обнаружил что существует еще одна ошибка VSS с таким же (. ) EventID 8193 с описанием:

Чтобы статья была более полной, оставлю тут метод решения и этой ошибки.

Данная ошибка препятствует выполнению резервному копирования системы (System State Backup) с помощь Windows Server Backup, который завершается с ошибкой “0x80042308: The specified object was not found ».

Проблема решается по другому и связана с наличием некорректной записи в ветке реестра с профилями пользователей HKLM\Software\Microsoft\Windows NT\CurrentVersion\ProfileList. Связано с тем, что служба VSS (компонент Shadow Copy Optimization Writer ) не может найти профиль пользователя с SID, оканчивающимся на .bak и выпадает в ошибку. Нужно удалить ключ реестра, который указан в описании события ConvertStringSidToSid(S-1-5-21-2470146651-3958396388-212345117-21232.bak).

  1. Откройте regedit.exe;
  2. Перейдите в ветку HKLM\Software\Microsoft\Windows NT\CurrentVersion\ProfileList;
  3. Найдите и удалите ветку реестра с суффиксом .bak;
  4. Перезагрузите сервер и попробуйте выполнить резервное копирование.

Источник

Unexpected error calling routine

This forum has migrated to Microsoft Q&A. Visit Microsoft Q&A to post new questions.

Asked by:

Question

WIndows 2008 R2

Читайте также:  Error loading plugins spueternal dll

I am receiving error when typing vssadmin list writers

Error: A Volume Shadow Copy Service component encountered an unexpected error.
Check the Application event log for more information.

I have tried the artile which says .bak profile and did worked. also tried article which says that regedit and correct the location of file(in my case the location was correct)

also receiving event id 22 and 8193

Volume Shadow Copy Service error: A critical component required by the Volume Shadow Copy service is not registered. This might happened if an error occurred during Windows setup or during installation of a Shadow Copy provider. The error returned from CoCreateInstance on class with CLSID and Name IVssCoordinatorEx2 is [0x80040154, Class not registered

All replies

Thank you for posting.

Could you please include a few more details to your issue. What are you doing when this error comes up?

Any 3rd party software on your server? Such as , SQL, exchange.

Run sfc /scannow command on the server, reboot it and then report back the result.

For more information regarding to sfc command, see the following link:

Please VOTE as HELPFUL if the post helps you and remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

Following were in log when run /verify only switch

2012-07-11 12:27:26, Info CBS Starting TrustedInstaller initialization.
2012-07-11 12:27:26, Info CBS Loaded Servicing Stack v6.1.7600.16385 with Core: C:\Windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_6.1.7600.16385_none_655452efe0fb810b\cbscore.dll
2012-07-11 12:27:30, Info CSI 00000001@2012/7/11:18:27:30.909 WcpInitialize (wcp.dll version 0.0.0.6) called (stack @0x7feebf8e9a1 @0x7feec6f8755 @0x7feec6c2ac7 @0xffd4e94c @0xffd4d769 @0xffd4daff)
2012-07-11 12:27:30, Info CBS Could not load SrClient DLL from path: SrClient.dll. Continuing without system restore points.
2012-07-11 12:27:30, Info CSI 00000002@2012/7/11:18:27:30.909 WcpInitialize (wcp.dll version 0.0.0.6) called (stack @0x7feebf8e9a1 @0x7feec74500e @0x7feec711504 @0x7feec6c2b9d @0xffd4e94c @0xffd4d769)
2012-07-11 12:27:30, Info CSI 00000003@2012/7/11:18:27:30.909 WcpInitialize (wcp.dll version 0.0.0.6) called (stack @0x7feebf8e9a1 @0x7fef2688728 @0x7fef2688856 @0xffd4e444 @0xffd4d7ae @0xffd4daff)
2012-07-11 12:27:30, Info CBS Ending TrustedInstaller initialization.
2012-07-11 12:27:30, Info CBS Starting the TrustedInstaller main loop.
2012-07-11 12:27:30, Info CBS TrustedInstaller service starts successfully.
2012-07-11 12:27:30, Info CBS SQM: Initializing online with Windows opt-in: False
2012-07-11 12:27:30, Info CBS SQM: Cleaning up report files older than 10 days.
2012-07-11 12:27:30, Info CBS SQM: Requesting upload of all unsent reports.
2012-07-11 12:27:30, Info CBS SQM: Failed to start upload with file pattern: C:\Windows\servicing\sqm\*_std.sqm, flags: 0x2 [HRESULT = 0x80004005 — E_FAIL]
2012-07-11 12:27:30, Info CBS SQM: Failed to start standard sample upload. [HRESULT = 0x80004005 — E_FAIL]
2012-07-11 12:27:30, Info CBS SQM: Queued 0 file(s) for upload with pattern: C:\Windows\servicing\sqm\*_all.sqm, flags: 0x6
2012-07-11 12:27:30, Info CBS SQM: Warning: Failed to upload all unsent reports. [HRESULT = 0x80004005 — E_FAIL]
2012-07-11 12:27:30, Info CBS No startup processing required, TrustedInstaller service was not set as autostart, or else a reboot is still pending.
2012-07-11 12:27:30, Info CBS NonStart: Checking to ensure startup processing was not required.
2012-07-11 12:27:30, Info CSI 00000004 IAdvancedInstallerAwareStore_ResolvePendingTransactions (call 1) (flags = 00000004, progress = NULL, phase = 0, pdwDisposition = @0xfcfe20
2012-07-11 12:27:30, Info CSI 00000005 Creating NT transaction (seq 1), objectname [6]»(null)»
2012-07-11 12:27:30, Info CSI 00000006 Created NT transaction (seq 1) result 0x00000000, handle @0x1c8
2012-07-11 12:27:30, Info CSI 00000007@2012/7/11:18:27:30.925 CSI perf trace:
CSIPERF:TXCOMMIT;2853
2012-07-11 12:27:30, Info CBS NonStart: Success, startup processing not required as expected.
2012-07-11 12:27:30, Info CBS Startup processing thread terminated normally

Читайте также:  Ошибка установки керио 28201

Did you execute the sfc /scannow command? If so, what was the result? Please update your post accordingly.

Please VOTE as HELPFUL if the post helps you and remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

Источник

Unexpected error calling routine

This forum has migrated to Microsoft Q&A. Visit Microsoft Q&A to post new questions.

Answered by:

Question

I’m seeing numerous events logged on our Windows Server 2012 R2 servers, relating to the Volume Shadow Copy Service. They only seem to occur on 2012 R2 servers with both Active Directory and DHCP roles installed. Seems to be a registry permissions problem, but the only solutions I can find via Google are for 2008 R2 servers and the solution doesn’t work on 2012 R2 servers.

«Volume Shadow Copy Service error: Unexpected error calling routine RegOpenKeyExW(-2147483646,SYSTEM\CurrentControlSet\Services\VSS\Diag. ). hr = 0x80070005, Access is denied.

Operation:
Initializing Writer

«Volume Shadow Copy Service error: Unexpected error calling routine RegOpenKeyExW(-2147483646,SYSTEM\CurrentControlSet\Services\VSS\Diag. ). hr = 0x80070005, Access is denied.

Operation:
Initializing Writer

«Volume Shadow Copy Service error: Unexpected error calling routine RegOpenKeyExW(-2147483646,SYSTEM\CurrentControlSet\Services\VSS\Diag. ). hr = 0x80070005, Access is denied.

Operation:
Initializing Writer

Is there a 2012 R2 solution to this problem?

Источник

Unexpected error calling routine

This forum has migrated to Microsoft Q&A. Visit Microsoft Q&A to post new questions.

Asked by:

Question

I have a problem and i cant fixed it, anyone can help me ?

Microsoft Windows Server 2012 R2 Standard

This is the issue what i have:

Log Name: Application
Source: VSS
Date: 20-3-2019 06:44:56
Event ID: 8193
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: xxxx.xxx.lan
Description:
Volume Shadow Copy Service error: Unexpected error calling routine CreateFileW(\\.\PHYSICALDRIVE1) — BuildLunInfoForDrive. hr = 0x80070020, The process cannot access the file because it is being used by another process.
.

How can i solve this issue.

All replies

Do you have any antivirus software installed? It sounds like something is blocking the file and the backup is failing because of it.

Читайте также:  Rendering thread exception fatal error outlast 2

Try disabling the antivirus software completely if you have any installed.

Best regards,
Leon

Thanks for posting in our forum!

Do you use build-in feature windows server backup ( WSB) to do the backup? If not, please disable 3rd party software, use windows server backup and check the results.

Please check if all your VSS writers are in stable state. You can run “Vssadmin list Writers”

Please uninstall all anti-virus software and try again 。

Please make sure VSS Service works properly

In addition, for more information about Event Id 8193, please see:

Hope this information can help you, if you have any question, please feel free to let me know.

Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

We are using VeeamBackup and Bitdefender.

VSS services are on manual state.

Try uninstalling Bitdefender and try again.

Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

  • Proposed as answer by Danie1zhou Microsoft contingent staff Tuesday, March 26, 2019 7:25 AM

Since you are using a third party backup software, I would suggest you check in the Veeam Backup forums, you can find the forums in the link below:

By the way, BitDefender is known to cause locking issues, I would first suggest you test by disabling it or temporarily uninstall it to check if it helps, if it doesn’t help, try asking the experts over the Veeam forums.

Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

WS2016 with DPM2019 Connected via 2 x iSCSI to EQL SAN with backups on SAN.

Getting similar if the same as the above as below in Error log Event 8193.

No AV except the defualt Windows 2016.

Latest Dell / EQL Hit kit installed..

VSSadmin list writers reports no problems.

The DPM Volume is ReFS which might be a problem ? (but needed for DPM), will check with Dell / EQL support also.

Any ideas, error log below.

Volume Shadow Copy Service error: Unexpected error calling routine CreateFileW(\\.\PHYSICALDRIVE10) — BuildLunInfoForDrive. hr = 0xc03a001c, The requested operation cannot be performed on the virtual disk in its current state.
.

Operation:
Check If Volume Is Supported by Provider
Check If Volume Is Supported by Provider

Context:
Device: \\.\PHYSICALDRIVE10
Device: \\?\Volume
Execution Context: Provider
Provider Name: Dell EqualLogic VSS HW Provider
Provider Version: 5.1.0
Provider ID:
Volume Name: \\?\Volume\
Snapshot Context: -1
Execution Context: Coordinator
Provider ID:
Volume Name: \\?\Volume\

Источник

Smartadm.ru
Adblock
detector