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

Scar_UY

Well-known member
Joined
Oct 2, 2019
Posts
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.
 

Attachments

Please reboot the system to ensure there is no pending rollbacks to be completed. Once completed, then please follow these instructions:

Capture Process Monitor Trace
1. Download and run Process Monitor. Leave this running while you perform the next steps.
2. Try DISM /Online /Enable-Feature /FeatureName:SNMP just like you have in the past.
3. Stop Process Monitor as soon as it fails. You can simply do this by clicking the square icon on the toolbar as shown below.
j8MhY5V.png

4. Select the File menu...Save... and save the file to your desktop. This is likely the default location. The name (unless changed) will be LogFile.PML. This is fine.
5. Zip up and provide the link to the LogFile.PML file as well as your CBS.log Examples of services to upload to are Dropbox or OneDrive or WeTransfer.
 
Here is the result for the server running as fileserver:
CBS.log CBS.log
Logfile.PML Logfile.zip

Result for the server running as sql server, among other things:
CBS.log CBS.log
Logfile.PML Logfile.zip

Thank you for your time, let me know if there's anything else I can do on my side.
 
Thank you, let's work on one server at a time so we don't make any mistakes. Could you please provide the following from the machine acting as file server:

Retrieve Components Hive
1. Navigate to C:\Windows\System32\Config and locate the COMPONENTS file.
2. Please copy this file to your desktop.
Note: If you receive an error that this file is in-use, simply reboot your computer and try again.
3. Right-click on this file on your desktop and select Send To...Compressed (zipped) folder. This will create a file named COMPONENTS.ZIP on your desktop.
4. The file will likely be too large to upload here so please upload to a file sharing service. Examples of services to upload to are Dropbox or OneDrive or WeTransfer and then just provide the link in your reply.

Export CBS hive
  • Click on the Start button and in the search box, type regedit
  • When you see regedit on the list, right-click on it and select Run as administrator.
  • When regedit opens, using the left pane, navigate to the following registry key and select it by clicking on it once.

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing
  • Once selected, click File > Export....
  • Change the Save as type: to Registry Hive Files (.).
  • Name this file ComponentBasedServicing (with no file extension) and save it to your Desktop.
  • Right-click on the saved file and choose Send To -> Compressed (zipped) Folder.
  • Attach the .ZIP file to your next post.
  • If the file is too large to upload here, upload to Dropbox or OneDrive or SendSpace and just provide the link here.

Please make sure that the CBS subkey is exported a registry hive file.
 
Could you please provide the following:

Export SideBySide
  1. Click on the Start button and in the search box, type regedit
  2. When you see regedit on the list, right-click on it and select Run as administrator
  3. When regedit opens, using the left pane, navigate to the following registry key and select it by clicking on it once.

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide
  4. Once selected, click File > Export....
  5. Change the Save as type: to Registry Hive Files (.)
  6. Name this file SxS (with no file extension) and save it to your Desktop.


Once done please upload this file via Dropbox or OneDrive or SendSpace.

Just something I want to check because it seems that your system is querying different subkeys to mine.
 
Thank you, I'll take a look through and see what I can find. I believe I may have found the problem. Have you run the standard DISM /RestoreHealth command by any chance?

This one:

Rich (BB code):
DISM /Online /Cleanup-Image /RestoreHealth

If you already have, and it reported no component store corruption, then this would make perfect sense.
 
SFCFixScript.txt

Warning: this fix is specific to the user in this thread. No one else should follow these instructions as it may cause more harm than good. If you are after assistance, please start a thread of your own.

  1. Download SFCFix.exe (by niemiro) and save this to your Desktop.
  2. Download the attached file, SFCFixScript.txt, and save this to your Desktop. Ensure that this file is named SFCFixScript.txt - do not rename it.
  3. Save any open documents and close all open windows.
  4. On your Desktop, you should see two files: SFCFix.exe and SFCFixScript.txt.
  5. Drag the file SFCFixScript.txt onto the file SFCFix.exe and release it.
  6. SFCFix will now process the script.
  7. Upon completion, a log should be created on your Desktop: SFCFix.txt.
  8. Copy (Ctrl+C) and Paste (Ctrl+V) the contents of this into your next post for me to analyse please - put [CODE][/CODE] tags around the log to break up the text.[/list]

    Afterwards, please try and enable the same feature as you did before with a Process Monitor trace running, if it fails then please simply provide the Process Monitor trace log only.
 

Attachments

Code:
SFCFix version 3.0.2.1 by niemiro.
Start time: 2022-07-27 21:20:26.413
Microsoft Windows Server 2012 R2 Update 3 - amd64
Using .txt script file at C:\Users\administrator\Desktop\SFCFixScript.txt [0]




RegistryScript::
Successfully took ownership and permissions for registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-s..gnt-extension-agent_31bf3856ad364e35_none_cd850aba4943a9e2.
Successfully took ownership and permissions for registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-s..ib1-extension-agent_31bf3856ad364e35_none_d2cf8370ffdef09c.
Successfully took ownership and permissions for registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-s..ib2-extension-agent_31bf3856ad364e35_none_91b2a8e4b0a9722c.
Successfully took ownership and permissions for registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-s..mib-extension-agent_31bf3856ad364e35_none_0aa2f387b939d89d.
Successfully took ownership and permissions for registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-s..mib-extension-agent_31bf3856ad364e35_none_18f42668051fc953.
Successfully took ownership and permissions for registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners.
Successfully took ownership and permissions for registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners.
Successfully took ownership and permissions for registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-s..oxy-extension-agent_31bf3856ad364e35_none_682a405869aa15ca.
Successfully took ownership and permissions for registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-s..re-extension-agents_31bf3856ad364e35_none_3ed5ce9c2db14bcf.
Successfully took ownership and permissions for registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-snmp-agent-service_31bf3856ad364e35_none_849d7da5a8f684f4.
Successfully took ownership and permissions for registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-snmp-evntcmd.resources_31bf3856ad364e35_es-es_91144094cf9da518.
Successfully took ownership and permissions for registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-snmp-evntcmd_31bf3856ad364e35_none_f2bda49d796f276c.
Successfully took ownership and permissions for registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-snmp-evntwin.resources_31bf3856ad364e35_es-es_52dbd4398ab791d2.
Successfully took ownership and permissions for registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-snmp-evntwin_31bf3856ad364e35_none_f2f30d2979457c1a.
Successfully took ownership and permissions for registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-snmp-mib-files_31bf3856ad364e35_none_75066f92eec82aad.
Successfully took ownership and permissions for registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-snmp-sc-deployment_31bf3856ad364e35_none_3714917d5c94dc69.
Successfully took ownership and permissions for registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\wow64_microsoft-windows-snmp-agent-service_31bf3856ad364e35_none_8ef227f7dd5746ef.
Successfully took ownership and permissions for registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\wow64_microsoft-windows-snmp-sc-deployment_31bf3856ad364e35_none_41693bcf90f59e64.
Successfully took ownership and permissions for registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\x86_microsoft-windows-s..gnt-extension-agent_31bf3856ad364e35_none_71666f3690e638ac.
Successfully took ownership and permissions for registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\x86_microsoft-windows-s..ib1-extension-agent_31bf3856ad364e35_none_76b0e7ed47817f66.
Successfully took ownership and permissions for registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\x86_microsoft-windows-s..ib2-extension-agent_31bf3856ad364e35_none_35940d60f84c00f6.
Successfully took ownership and permissions for registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\x86_microsoft-windows-s..mib-extension-agent_31bf3856ad364e35_none_ae84580400dc6767.
Successfully took ownership and permissions for registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\x86_microsoft-windows-s..mib-extension-agent_31bf3856ad364e35_none_bcd58ae44cc2581d.
Successfully took ownership and permissions for registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners.
Successfully took ownership and permissions for registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners.
Successfully took ownership and permissions for registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\x86_microsoft-windows-s..re-extension-agents_31bf3856ad364e35_none_e2b733187553da99.
Successfully took ownership and permissions for registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\x86_microsoft-windows-snmp-evntcmd.resources_31bf3856ad364e35_es-es_34f5a511174033e2.
Successfully took ownership and permissions for registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\x86_microsoft-windows-snmp-evntcmd_31bf3856ad364e35_none_969f0919c111b636.
Successfully took ownership and permissions for registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\x86_microsoft-windows-snmp-evntwin.resources_31bf3856ad364e35_es-es_f6bd38b5d25a209c.
Successfully took ownership and permissions for registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\x86_microsoft-windows-snmp-evntwin_31bf3856ad364e35_none_96d471a5c0e80ae4.
Successfully took ownership and permissions for registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\x86_microsoft-windows-snmp-mib-files_31bf3856ad364e35_none_18e7d40f366ab977.
Successfully took ownership and permissions for registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-s..ion-agent.resources_31bf3856ad364e35_es-es_d127d6282e47bc72.
Successfully took ownership and permissions for registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-s..oyment-languagepack_31bf3856ad364e35_es-es_47888ca7c6ad4340.
Successfully took ownership and permissions for registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-s..oyment-languagepack_31bf3856ad364e35_es-es_c0f45f8052aa7aa7.
Successfully took ownership and permissions for registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-s..t-service.resources_31bf3856ad364e35_es-es_51bd866f6cfdddee.
Successfully took ownership and permissions for registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners.
Successfully took ownership and permissions for registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners.
Successfully took ownership and permissions for registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\x86_microsoft-windows-s..ion-agent.resources_31bf3856ad364e35_es-es_75093aa475ea4b3c.
Successfully took ownership and permissions for registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\x86_microsoft-windows-s..t-service.resources_31bf3856ad364e35_es-es_f59eeaebb4a06cb8.
Successfully took ownership and permissions for registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners.
Successfully took ownership and permissions for registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners.

Successfully deleted registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-s..gnt-extension-agent_31bf3856ad364e35_none_cd850aba4943a9e2.
Successfully deleted registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-s..ib1-extension-agent_31bf3856ad364e35_none_d2cf8370ffdef09c.
Successfully deleted registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-s..ib2-extension-agent_31bf3856ad364e35_none_91b2a8e4b0a9722c.
Successfully deleted registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-s..mib-extension-agent_31bf3856ad364e35_none_0aa2f387b939d89d.
Successfully deleted registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-s..mib-extension-agent_31bf3856ad364e35_none_18f42668051fc953.
Successfully deleted registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-s..mib-extension-agent_31bf3856ad364e35_none_0aa2f387b939d89d.
Successfully deleted registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-s..mib-extension-agent_31bf3856ad364e35_none_18f42668051fc953.
Successfully deleted registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-s..oxy-extension-agent_31bf3856ad364e35_none_682a405869aa15ca.
Successfully deleted registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-s..re-extension-agents_31bf3856ad364e35_none_3ed5ce9c2db14bcf.
Successfully deleted registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-snmp-agent-service_31bf3856ad364e35_none_849d7da5a8f684f4.
Successfully deleted registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-snmp-evntcmd.resources_31bf3856ad364e35_es-es_91144094cf9da518.
Successfully deleted registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-snmp-evntcmd_31bf3856ad364e35_none_f2bda49d796f276c.
Successfully deleted registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-snmp-evntwin.resources_31bf3856ad364e35_es-es_52dbd4398ab791d2.
Successfully deleted registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-snmp-evntwin_31bf3856ad364e35_none_f2f30d2979457c1a.
Successfully deleted registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-snmp-mib-files_31bf3856ad364e35_none_75066f92eec82aad.
Successfully deleted registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-snmp-sc-deployment_31bf3856ad364e35_none_3714917d5c94dc69.
Successfully deleted registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\wow64_microsoft-windows-snmp-agent-service_31bf3856ad364e35_none_8ef227f7dd5746ef.
Successfully deleted registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\wow64_microsoft-windows-snmp-sc-deployment_31bf3856ad364e35_none_41693bcf90f59e64.
Successfully deleted registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\x86_microsoft-windows-s..gnt-extension-agent_31bf3856ad364e35_none_71666f3690e638ac.
Successfully deleted registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\x86_microsoft-windows-s..ib1-extension-agent_31bf3856ad364e35_none_76b0e7ed47817f66.
Successfully deleted registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\x86_microsoft-windows-s..ib2-extension-agent_31bf3856ad364e35_none_35940d60f84c00f6.
Successfully deleted registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\x86_microsoft-windows-s..mib-extension-agent_31bf3856ad364e35_none_ae84580400dc6767.
Successfully deleted registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\x86_microsoft-windows-s..mib-extension-agent_31bf3856ad364e35_none_bcd58ae44cc2581d.
Successfully deleted registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\x86_microsoft-windows-s..mib-extension-agent_31bf3856ad364e35_none_ae84580400dc6767.
Successfully deleted registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\x86_microsoft-windows-s..mib-extension-agent_31bf3856ad364e35_none_bcd58ae44cc2581d.
Successfully deleted registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\x86_microsoft-windows-s..re-extension-agents_31bf3856ad364e35_none_e2b733187553da99.
Successfully deleted registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\x86_microsoft-windows-snmp-evntcmd.resources_31bf3856ad364e35_es-es_34f5a511174033e2.
Successfully deleted registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\x86_microsoft-windows-snmp-evntcmd_31bf3856ad364e35_none_969f0919c111b636.
Successfully deleted registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\x86_microsoft-windows-snmp-evntwin.resources_31bf3856ad364e35_es-es_f6bd38b5d25a209c.
Successfully deleted registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\x86_microsoft-windows-snmp-evntwin_31bf3856ad364e35_none_96d471a5c0e80ae4.
Successfully deleted registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\x86_microsoft-windows-snmp-mib-files_31bf3856ad364e35_none_18e7d40f366ab977.
Successfully deleted registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-s..ion-agent.resources_31bf3856ad364e35_es-es_d127d6282e47bc72.
Successfully deleted registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-s..oyment-languagepack_31bf3856ad364e35_es-es_47888ca7c6ad4340.
Successfully deleted registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-s..oyment-languagepack_31bf3856ad364e35_es-es_c0f45f8052aa7aa7.
Successfully deleted registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-s..t-service.resources_31bf3856ad364e35_es-es_51bd866f6cfdddee.
Successfully deleted registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-snmp-evntcmd.resources_31bf3856ad364e35_es-es_91144094cf9da518.
Successfully deleted registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-snmp-evntwin.resources_31bf3856ad364e35_es-es_52dbd4398ab791d2.
Successfully deleted registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\x86_microsoft-windows-s..ion-agent.resources_31bf3856ad364e35_es-es_75093aa475ea4b3c.
Successfully deleted registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\x86_microsoft-windows-s..t-service.resources_31bf3856ad364e35_es-es_f59eeaebb4a06cb8.
Successfully deleted registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\x86_microsoft-windows-snmp-evntcmd.resources_31bf3856ad364e35_es-es_34f5a511174033e2.
Successfully deleted registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\x86_microsoft-windows-snmp-evntwin.resources_31bf3856ad364e35_es-es_f6bd38b5d25a209c.

Failed to open registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-s..gnt-extension-agent_31bf3856ad364e35_none_cd850aba4943a9e2 with error code ERROR_FILE_NOT_FOUND.
Failed to open registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-s..ib1-extension-agent_31bf3856ad364e35_none_d2cf8370ffdef09c with error code ERROR_FILE_NOT_FOUND.
Failed to open registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-s..ib2-extension-agent_31bf3856ad364e35_none_91b2a8e4b0a9722c with error code ERROR_FILE_NOT_FOUND.
Failed to open registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-s..mib-extension-agent_31bf3856ad364e35_none_0aa2f387b939d89d with error code ERROR_FILE_NOT_FOUND.
Failed to open registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-s..mib-extension-agent_31bf3856ad364e35_none_18f42668051fc953 with error code ERROR_FILE_NOT_FOUND.
Successfully restored ownership and permissions for registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners.
Successfully restored ownership and permissions for registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners.
Failed to open registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-s..oxy-extension-agent_31bf3856ad364e35_none_682a405869aa15ca with error code ERROR_FILE_NOT_FOUND.
Failed to open registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-s..re-extension-agents_31bf3856ad364e35_none_3ed5ce9c2db14bcf with error code ERROR_FILE_NOT_FOUND.
Failed to open registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-snmp-agent-service_31bf3856ad364e35_none_849d7da5a8f684f4 with error code ERROR_FILE_NOT_FOUND.
Failed to open registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-snmp-evntcmd.resources_31bf3856ad364e35_es-es_91144094cf9da518 with error code ERROR_FILE_NOT_FOUND.
Failed to open registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-snmp-evntcmd_31bf3856ad364e35_none_f2bda49d796f276c with error code ERROR_FILE_NOT_FOUND.
Failed to open registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-snmp-evntwin.resources_31bf3856ad364e35_es-es_52dbd4398ab791d2 with error code ERROR_FILE_NOT_FOUND.
Failed to open registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-snmp-evntwin_31bf3856ad364e35_none_f2f30d2979457c1a with error code ERROR_FILE_NOT_FOUND.
Failed to open registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-snmp-mib-files_31bf3856ad364e35_none_75066f92eec82aad with error code ERROR_FILE_NOT_FOUND.
Failed to open registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-snmp-sc-deployment_31bf3856ad364e35_none_3714917d5c94dc69 with error code ERROR_FILE_NOT_FOUND.
Failed to open registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\wow64_microsoft-windows-snmp-agent-service_31bf3856ad364e35_none_8ef227f7dd5746ef with error code ERROR_FILE_NOT_FOUND.
Failed to open registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\wow64_microsoft-windows-snmp-sc-deployment_31bf3856ad364e35_none_41693bcf90f59e64 with error code ERROR_FILE_NOT_FOUND.
Failed to open registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\x86_microsoft-windows-s..gnt-extension-agent_31bf3856ad364e35_none_71666f3690e638ac with error code ERROR_FILE_NOT_FOUND.
Failed to open registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\x86_microsoft-windows-s..ib1-extension-agent_31bf3856ad364e35_none_76b0e7ed47817f66 with error code ERROR_FILE_NOT_FOUND.
Failed to open registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\x86_microsoft-windows-s..ib2-extension-agent_31bf3856ad364e35_none_35940d60f84c00f6 with error code ERROR_FILE_NOT_FOUND.
Failed to open registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\x86_microsoft-windows-s..mib-extension-agent_31bf3856ad364e35_none_ae84580400dc6767 with error code ERROR_FILE_NOT_FOUND.
Failed to open registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\x86_microsoft-windows-s..mib-extension-agent_31bf3856ad364e35_none_bcd58ae44cc2581d with error code ERROR_FILE_NOT_FOUND.
Successfully restored ownership and permissions for registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners.
Successfully restored ownership and permissions for registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners.
Failed to open registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\x86_microsoft-windows-s..re-extension-agents_31bf3856ad364e35_none_e2b733187553da99 with error code ERROR_FILE_NOT_FOUND.
Failed to open registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\x86_microsoft-windows-snmp-evntcmd.resources_31bf3856ad364e35_es-es_34f5a511174033e2 with error code ERROR_FILE_NOT_FOUND.
Failed to open registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\x86_microsoft-windows-snmp-evntcmd_31bf3856ad364e35_none_969f0919c111b636 with error code ERROR_FILE_NOT_FOUND.
Failed to open registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\x86_microsoft-windows-snmp-evntwin.resources_31bf3856ad364e35_es-es_f6bd38b5d25a209c with error code ERROR_FILE_NOT_FOUND.
Failed to open registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\x86_microsoft-windows-snmp-evntwin_31bf3856ad364e35_none_96d471a5c0e80ae4 with error code ERROR_FILE_NOT_FOUND.
Failed to open registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\x86_microsoft-windows-snmp-mib-files_31bf3856ad364e35_none_18e7d40f366ab977 with error code ERROR_FILE_NOT_FOUND.
Failed to open registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-s..ion-agent.resources_31bf3856ad364e35_es-es_d127d6282e47bc72 with error code ERROR_FILE_NOT_FOUND.
Failed to open registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-s..oyment-languagepack_31bf3856ad364e35_es-es_47888ca7c6ad4340 with error code ERROR_FILE_NOT_FOUND.
Failed to open registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-s..oyment-languagepack_31bf3856ad364e35_es-es_c0f45f8052aa7aa7 with error code ERROR_FILE_NOT_FOUND.
Failed to open registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-s..t-service.resources_31bf3856ad364e35_es-es_51bd866f6cfdddee with error code ERROR_FILE_NOT_FOUND.
Successfully restored ownership and permissions for registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners.
Successfully restored ownership and permissions for registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners.
Failed to open registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\x86_microsoft-windows-s..ion-agent.resources_31bf3856ad364e35_es-es_75093aa475ea4b3c with error code ERROR_FILE_NOT_FOUND.
Failed to open registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\x86_microsoft-windows-s..t-service.resources_31bf3856ad364e35_es-es_f59eeaebb4a06cb8 with error code ERROR_FILE_NOT_FOUND.
Successfully restored ownership and permissions for registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners.
Successfully restored ownership and permissions for registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners.
RegistryScript:: directive failed to complete successfully.




Failed to process all directives successfully.



Failed to generate a complete zip file. Upload aborted.


SFCFix version 3.0.2.1 by niemiro has completed.
Currently storing 34 datablocks.
Finish time: 2022-07-27 21:28:24.865
Script hash: WiLrDrTX5Lxp5eTIPtGbVFLH5ldcbHmBoNQFKEdOGB8=
----------------------EOF-----------------------
 
Thanks, when you're able to, then please attempt to install the same feature as before with DISM.
 
Sorry to report that it didn't do the trick:

Windows PowerShell
Copyright (C) 2014 Microsoft Corporation. Todos los derechos reservados.

PS C:\Users\administrator> DISM /Online /Enable-Feature /FeatureName:SNMP

Herramienta Administración y mantenimiento de imágenes de implementación
Versión: 6.3.9600.19408

Versión de imagen: 6.3.9600.19397

Habilitando características
[===========================96.0%======================= ]

Error: 0x800f0922

Error de DISM. No se realizó ninguna operación.
Para obtener más información, revise el archivo de registro.

El archivo de registro de DISM se encuentra en C:\Windows\Logs\DISM\dism.log
PS C:\Users\administrator>

I've uploaded dism.log just in case it's useful somehow dism.7z
 
Did you run the DISM command with a Process Monitor trace running as suggested in my previous post? Have you run DISM with the /RestoreHealth switch at any point?
 
Did you run the DISM command with a Process Monitor trace running as suggested in my previous post? Have you run DISM with the /RestoreHealth switch at any point?
Sorry, I was in a rush and forgot to add some details yesterday when I uploaded SFCFixScript.txt, yes Indeed I've run /RestoreHealth a few times, last time was yesterday, if it'l help I can run it again now. I did not run DISM with the Process Monitor, I can do it now right after /RestoreHealth if you want.
 
Okay, I wouldn't worry about running /RestoreHealth again, I just wanted to double check if you had run it or not. Please try and enable the problematic feature using DISM as you have done in the past and then upload both the Process Monitor log and the CBS file. Could you also please provide an updated SxS hive file too?
 
Thanks, it would seem that those Winners keys we deleted earlier have been added back for some reason, I assume because of the DISM /RestoreHealth command? Could you please follow these instructions:
  1. Run the SFCFixScript from earlier to delete the Winners keys again
  2. Immediately run DISM /Online /Enable-Feature /FeatureName:SNMP with a Process Monitor trace running
  3. Run a reg query against one of the Winners keys which have been deleted, please post the output of the command
  4. If the DISM command fails, then please provide the Process Monitor trace
 
I run the SFCFixScript just like before, and immediatly after run DISM /Online /Enable-Feature /FeatureName:SNMP, sadly with the same result, I'm attaching the trace, I didn't even knew reg query existed until now, so I googled it and I run:
reg query HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-snmp-agent-service_31bf3856ad364e35_none_849d7da5a8f684f4 /s
which is one of the keys in the SFCFix.txt file and returned just:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-snmp-agent-service_31bf3856ad364e35_none_849d7da5a8f684f4\6.3
But I'm pretty sure that's useless to you...

Here's the trace: Logfile.7z

If Im messing up the instructions don't hesitate to tell me!
 
Could you please open an elevated command prompt and enter the following commands:

Rich (BB code):
reg query HKLM\SYSTEM\CurrentControlSet\Services\SNMP /s
sc query SNMP
sc qc SNMP

Have you tried enabling the feature with Symantec endpoint protection disabled?
 
Really sorry for the delay, but was a complicated friday and I didn't had the chance to tackle this, I have tried enabling it with the AV disabled but made tno difference, here's the result of those commands:

reg query HKLM\SYSTEM\CurrentControlSet\Services\SNMP /s
ERROR: El sistema no ha podido encontrar la clave o el valor del Registro
especificados.

sc query SNMP
[SC] EnumQueryServicesStatus:OpenService ERROR 1060:

El servicio especificado no existe como servicio instalado.

sc qc SNMP
[SC] OpenService ERROR 1060:

El servicio especificado no existe como servicio instalado.
 

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

Back
Top