Scar_UY
Well-known member
- Oct 2, 2019
- 77
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
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