Scar_UY
Well-known member
- Oct 2, 2019
- 77
We've been using Librenms for a while now and I've enabled and configured SNMP in every computer/server/switch/etc in the company with no problems, except the only 3 windows server 2012 / 2012 R2 machines.
On everything else (windows 7 / 10, Server 2008, 2016, 2019, linux, etc) worked like a charm, however in this 3 2012 machines seems impossible, this is what I've tried:
- Server Manager > Manage > Add roles and features > SNMP service > Next > long wait while seems to be installing > fails with error 0x800f0922
- Powershell (as admin):
dism /online /Enable-Feature /FeatureName:SNMP
reachers 96% then: "Error: 0x800f0922"
gpedit.msc > Download repair content and optional features directly from Windows Update instead of Windows Server Update Services (WSUS)
gpupdate /force
dism /online /Enable-Feature /FeatureName:SNMP
Error: 0x800f0922
dism /mount-image /imageFile:E:\w2012\install.wim /index:2 /mountDir:E:\2012 /readonly (originall installation media)
dism /online /Enable-Feature /FeatureName:SNMP /source:E:\2012\windows\
Error: 0x800f0922
Install-WindowsFeature SNMP-Service -IncludeAllSubFeature -Verbose
Exit Code Failed
Install-WindowsFeature SNMP-Service -IncludeAllSubFeature -Verbose -Source wim:E:\w2012\install.wim:2
Exit Code Failed
Restarted the server, tried again only with dism, same error.
Restarted and tried again only with Install-WindowsFeature, same error.
I'm out of options, it'll take years to move those servers to a newer version, attached are the CBS and dism logs in case they are of any help.
Thank you in advance for your time.
On everything else (windows 7 / 10, Server 2008, 2016, 2019, linux, etc) worked like a charm, however in this 3 2012 machines seems impossible, this is what I've tried:
- Server Manager > Manage > Add roles and features > SNMP service > Next > long wait while seems to be installing > fails with error 0x800f0922
- Powershell (as admin):
dism /online /Enable-Feature /FeatureName:SNMP
reachers 96% then: "Error: 0x800f0922"
gpedit.msc > Download repair content and optional features directly from Windows Update instead of Windows Server Update Services (WSUS)
gpupdate /force
dism /online /Enable-Feature /FeatureName:SNMP
Error: 0x800f0922
dism /mount-image /imageFile:E:\w2012\install.wim /index:2 /mountDir:E:\2012 /readonly (originall installation media)
dism /online /Enable-Feature /FeatureName:SNMP /source:E:\2012\windows\
Error: 0x800f0922
Install-WindowsFeature SNMP-Service -IncludeAllSubFeature -Verbose
Exit Code Failed
Install-WindowsFeature SNMP-Service -IncludeAllSubFeature -Verbose -Source wim:E:\w2012\install.wim:2
Exit Code Failed
Restarted the server, tried again only with dism, same error.
Restarted and tried again only with Install-WindowsFeature, same error.
I'm out of options, it'll take years to move those servers to a newer version, attached are the CBS and dism logs in case they are of any help.
Thank you in advance for your time.