Get-WindowsCapability -Name RSAT.ActiveDirectory* -Online | Add-WindowsCapability -Online Add-WindowsCapability : Сбой Add-WindowsCapability. Код ошибки: 0x800f0954 строка:1 знак:61
+ ... y -Name RSAT.ActiveDirectory* -Online | Add-WindowsCapability -Online
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Add-WindowsCapability], COMException
+ FullyQualifiedErrorId : Microsoft.Dism.Commands.AddWindowsCapabilityCommand
PS C:\Windows\system32>
PS C:\Windows\system32> net stop wuauserv
Служба "Центр обновления Windows" останавливается.
Служба "Центр обновления Windows" успешно остановлена.
PS C:\Windows\system32> regedit
PS C:\Windows\system32> net start wuauserv
Служба "Центр обновления Windows" запускается.
Служба "Центр обновления Windows" успешно запущена.
PS C:\Windows\system32> Get-WindowsCapability -Name RSAT.ActiveDirectory* -Online | Add-WindowsCapability -Online
Path :
Online : True
RestartNeeded : False
The 0x800f0954 error is that a WSUS server is in place without the packages needed to install this .NET 3.5 add-in.
The workaround is relatively simple:
Stopping the Windows Update service (command window)
net stop wuauserv
Then, edit the registry (via Regedit)
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU
Change UseWUServer that is 1 by 0
Restart the Windows Update service
net start wuauserv
Start the installation of the .NET 3.5 module
Once installed... we start again.
net stop wuauserv
Then, edit the registry
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU
Change UseWUServer that is 0 by 1
Restarting the Windows Update service
net start wuauserv
There you go!
Комментарии
Отправить комментарий