P
P
partisan422022-04-14 12:46:30
Windows Server
partisan42, 2022-04-14 12:46:30

How to restore a deleted service?

Good day.
With a perfect zaparka, out of the utmost stupidity, I removed the WinRM service on Windows Server 2019.
In this connection, I can not now install a graphical shell for Hyper-V.
I've been googling for an hour now, how this service can be restored, but so far I have not found anything.
sfc /scannow issued

C:\Users\Администратор>sfc /scannow

Начато сканирование системы.  Этот процесс может занять некоторое время.

Начало стадии проверки при сканировании системы.
Проверка 100% завершена.

Программа защиты ресурсов Windows обнаружила поврежденные файлы, но не
может восстановить некоторые из них.
Подробные сведения см. в файле CBS.Log, который находится по следующему пути:
windir\Logs\CBS\CBS.log. Например, C:\Windows\Logs\CBS\CBS.log. Подробные сведения
включены в файл журнала, предоставляемый флагом /OFFLOGFILE.

The winrm search log showed only this
2022-04-14 14:11:26, Info                  CBS    Appl:Forcing GE on revision on parent:Microsoft-Windows-WinRM-IIS-Extensions-Package~31bf3856ad364e35~amd64~~10.0.17763.1
2022-04-14 14:11:26, Info                  CBS    Enumerating Foundation package: Microsoft-Windows-Foundation-Package~31bf3856ad364e35~amd64~~10.0.17763.1, this could be slow
2022-04-14 14:11:26, Info                  CBS    Enumerating Foundation package: Microsoft-Windows-Foundation-Package~31bf3856ad364e35~amd64~~10.0.17763.1, this could be slow
2022-04-14 14:11:26, Info                  CBS    Enumerating Foundation package: Microsoft-Windows-Foundation-Package~31bf3856ad364e35~amd64~~10.0.17763.1, this could be slow

As if there is no mistake.
I would be very grateful for a hint.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry, 2022-04-15
@Mikeoldfield

In an hour, you would roll over the same Windows, in the form of an update. Everything will be restored.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question