[SOLVED] Unable to install SNMP on Windows server 2012/2012 R2

Well, finally managed to convince my boss to have a backup-exec license for that server so I can make a full backup and restore it to a VM where I can try things without affecting the production server (took some doing)
So with the server faithfully replicated in a (way faster) VM, y think I solved it with your suggestion:
- Started in recovery mode, deleted the pending* files in C:\Windows\WinSxS
- run "DISM /Image:C:\ /Cleanup-Image /RevertPendingActions /ScratchDir:C:\Temp" successfully
- restarted in normal mode, installed with 'Install-WindowsFeature SNMP-Service -IncludeAllSubFeature -Verbose' which of course failed, but left the service created
- changed the service to manual
- run a reg file with the [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SNMP] from another identical server
- restarted and run "dism /online /Enable-Feature /FeatureName:Server-RSAT-SNMP"
- restarted again and voila, everything working as it should
I'm sure I did one or two unnecessary steps, but I don't think anything I did was potentially harmful and it all worked up correctly. I'm waiting for the weekend to try it on the production server, with the peace of mind that I have a full image ready to be recovered if I screw up...
I'll update next week when (hopefully) it's working
 
That's great news, it did seem like there was a broken pending transaction somewhere then, hopefully you won't have any issues when you attempt to do the same steps on the production server.
 
Well, I'm closing this chapter:
- Started in recovery mode, deleted the pending* file in C:\Windows\WinSxS
- run "DISM /Image:C:\ /Cleanup-Image /RevertPendingActions /ScratchDir:C:\Temp" but it failed.
Restarted, and SNMP service works, if I connect from another server I can set it up and it's now reporting, judging by the missing tabs in the service 'Server-RSAT-SNMP' is missing, and installation fails with error 3017 (restart missing, despite having restarted several times), also Server Manager shows "online; cannot get role and feature data" but at this point honestly I don't care anymore, we'll never instal another role in this server anyway and I'll never change SNMP settings, and if that need arises, I can do it remotely from another computer anyway.
In any case this seems like it'll prevent windows update, so I might open a new thread for that specific problem, the "install SNMP service" goal for this thread is fulfilled.
Thank you very much for your help and patience!
 
Glad you managed to get the desired service installed in the end, please create a new thread if you require any assistance with the other issues.
 

Has Sysnative Forums helped you? Please consider donating to help us support the site!

Back
Top