A bit of progress, but with a twist. after restarting the server tried installing snmp with dism as before, but failed:
Code:
dism /online /Enable-Feature /FeatureName:SNMP
Error: 0x800f0922
So I tried from the server manager, and also failed with the same error, so I did as with the other and run:
Code:
Install-WindowsFeature SNMP-Service -IncludeAllSubFeature -Verbose
That also failed but just as with the other one, the service remained created, changed it to manual, connected from another computer and set the values, but the service closed itself upon starting.
So I also tried:
Code:
dism /online /Enable-Feature /FeatureName:Server-RSAT-SNMP
which failed saying there was a restart pending, so I restarted and tried again, and got the same error, weird, caught my eye that the server manager showed an alert:
Roughly translates to "online: cannot get role and feature data" which also means I can't add or remove roles and features, but for the moment that's unimportant.
My best guess was a broken component from the failed installations so I tried to run sfc /scannow which refused due "a restart is pending", tried "DISM /Online /Cleanup-Image /RestoreHealth", it completed so I restarted, but nothing changed, server manager showed the same alert, "dism /online /Enable-Feature /FeatureName:Server-RSAT-SNMP" would refuse to run due the restart pending, so I restarted, waited 15 minutes, restarted again, run chkdsk, restarted again a couple more times waiting aprox 15 minutes in between, but nothing changed, sfc refuses to run, server manager shows the same alert, dism wont enable SNMP nor Server-RSAT-SNMP, and the installed but set on manual SNMP service won't start no matter what.
I'm about to give up on this and accept my faith that I'll hac e to schedule an in place reinstall, still, I can't complain, 2 out of 3 is not a bad result in my book.