Many companies avoid exposing certain machines to the Internet to reduce security risks, requiring offline methods for product activation and operations. This is a common practice today.
Imagine a scenario where you are using offline installations of Windows 10 and Windows 11 and you want to monitor them using SNMP. Before monitoring, you need to install SNMP.
If you try to execute a standard PowerShell command for the SNMP installation, as shown in the screenshot below, you will encounter an error.
Installing SNMP on the offline machine is slightly different from Windows 10 and Windows 11 connected to the internet.
I will show you how to install SNMP on offline Windows 10 using the FOD (Features on Demand) package. The same procedure applies to Windows 11.
Step 1: Download the Features on Demand ISO file
Since Windows 10 doesn’t have internet access, you’ll need to download the SNMP feature manually. Microsoft provides the Features on Demand (FOD) ISO file, which includes the SNMP client.
To download the FOD, you must have access to either MSDN or VLSC. If you don’t have access to MSDN or VLSC, drop me a comment or email, and I will share it with you.
Download the ISO file on a machine with Internet access, then transfer it to the offline Windows 10 machine.
Once the file is downloaded, mount it on your Windows 10 machine by right-clicking on the file and selecting Mount.
Step 2: Install SNMP client
Login to the offline Windows 10 machine, open File Explorer and navigate to the drive.
- Run PowerShell as administrator.
- Enter the following PowerShell command to run the FOD component for SNMP:
Dism /online /add-package /packagepath:"D:\Microsoft-Windows-SNMP-Client-Package~31bf3856ad364e35~amd64~~.cab"
- Run the following command to install the SNMP client:
Dism /online /Add-Capability /CapabilityName:"SNMP.Client~~~~0.0.1.0"
Now, if you open the Services applet (services.msc), you will see that the SNMP Service is running, which wasn’t the case before.
Step 3: Configure SNMP
Since SNMP is installed, it’s time to configure it. If you close the Services applet (services.msc), open it again to continue.
- Navigate to SNMP Service, right click on it, and then click Properties.
- Click on the Security tab to configure the community string and ACL.
- Click on Add… under Community to create a community string. In my case, the community string is called prtg.
- Select Accept SNMP packets from these hosts and click Add… to add the IP of your NMS (Network Monitoring Solution). In my case, the IP is 192.168.88.245 which is my PRTG Core Server. This means the Windows machine will only accept SNMP communication coming and going to my NMS.
- Click Apply and OK and you are done.
That’s it! Enjoy monitoring!
…and feel free to share your comments.
Torsten
September 20, 2024 at 22:15
Hi Jasmin, thanks for this comprehensive and to the point post. Please be so kind to share the FOD iso file with me 😉
Thanks,
T.
Jasmin Kahriman
September 24, 2024 at 22:44
Hi Thorsten,
You can download it here: https://1drv.ms/f/s!AmECqrPYoOkxj64fDm7HJTUgUCHGrw?e=hw497k
The link is available for the next 72 hours and will expire afterward.
Best regards
Jasmin
venkata sai
September 24, 2024 at 06:54
please send FOD package
Jasmin Kahriman
September 24, 2024 at 22:45
Hi Venkata Sai,
You can download it here: https://1drv.ms/f/s!AmECqrPYoOkxj64fDm7HJTUgUCHGrw?e=hw497k
The link is available for the next 72 hours and will expire afterward.
Best regards
Jasmin
Torsten
September 30, 2024 at 08:52
Dear Jasmin, can you please send the link again, I missed the 72h exipiration….
Thanks,
T.
Jasmin Kahriman
October 2, 2024 at 06:50
Here it is: https://1drv.ms/f/s!AmECqrPYoOkxj64fDm7HJTUgUCHGrw?e=BaNCVU
Torsten
October 3, 2024 at 22:19
Thanks again and it works just fine!
Was just wondering if you know or could somehow figure out, which files exactly I need for the SNMP Agent installation? 4,7 GB File Transfer usually takes some time and hope to be able to speed up the copy process 😉
Thanks,
T.
Jasmin Kahriman
October 3, 2024 at 23:03
The name of the file is mentioned in the 2nd step. It is Microsoft-Windows-SNMP-Client-Package~31bf3856ad364e35~amd64~~.cab.
vijay
October 4, 2024 at 08:19
Hi Jasmin Can you share FOD package for windows 10 1809.
Thanks in advance.
Jasmin Kahriman
October 5, 2024 at 10:52
Hi Vijay – here it is https://1drv.ms/u/s!AmECqrPYoOkxj64g8U0FGCbSMJ6rZw?e=eyHm3F.
Torsten
October 4, 2024 at 22:18
Thanks dear Yasmin for all your patience and sorry for nerving again.
But I tried step 2 already with installing only that one file in a temp folder C:\Temp\Microsoft-Windows-SNMP-Client-Package~31bf3856ad364e35~amd64~~.cab
Meaning without the overhead of all the other 4.8 GB files and received an error message.
So there must be other files from the FOD package required which I can’t figure out. Also checked the in the error message adviced Windows log file with the installation error but could not pin point which files are required to install only the SNMP Agent…did you have a chance to try as well?
Thanks again,
T.
Jasmin Kahriman
October 5, 2024 at 10:51
Hi Torsten – I haven’t tried using single files yet because transferring and mounting ISO files takes 3-5 minutes. From your feedback, it looks like there are dependencies with other CAB files. If you find out which file is needed, please let us know.
P.S. I think you’ll spend a lot more time figuring out the exact needs, while copying the ISO and installing SNMP should only take a few minutes.
Torsten
October 9, 2024 at 10:41
Thanks again and yes, there are some dependencies here. But you have a very valid point here and I’ll my rest case for now 🙂
Martin
October 10, 2024 at 10:39
Hi Jasmin,
I tried your install description, but the command Add-Capability end with an Error “0x8024401c”.
Do you have any Idea about?
I am still offline and has no internet connection with the system
Thanks
Jasmin Kahriman
October 10, 2024 at 12:23
Hi Martin, did you download the FOD image and mount it as described?
mulyoe
October 14, 2024 at 11:51
please send FOD package for win11
Jasmin Kahriman
October 15, 2024 at 21:41
HI Mulyoe- you can download it here https://1drv.ms/f/s!AmECqrPYoOkxj64fWyfg83zx10MlBw?e=fiXZaV.
Best regards, Jasmin
EddyKang
October 15, 2024 at 09:04
I Need windows10/11 both…
thanks.
Jasmin Kahriman
October 15, 2024 at 21:41
HI EddyKang – you can download it here https://1drv.ms/f/s!AmECqrPYoOkxj64fWyfg83zx10MlBw?e=fiXZaV.
Best regards, Jasminn
EddyKang
October 16, 2024 at 01:03
Thanks you very much.
Can I apply this file to windows11 also?
Jasmin Kahriman
October 17, 2024 at 07:46
Hi EddyKang – yes, you can.
Rashid
October 17, 2024 at 11:25
Please share the FOD.
Jasmin Kahriman
October 17, 2024 at 22:52
Hi Rashid – you can download it here https://1drv.ms/f/s!AmECqrPYoOkxj64fWyfg83zx10MlBw?e=fiXZaV.
Pingback
Jasmin Kahriman
November 2, 2024 at 07:30
Bitte überprüfen Sie hier https://1drv.ms/f/s!AmECqrPYoOkxj64fDm7HJTUgUCHGrw?e=6186Gz
Rajdeepsinh
October 19, 2024 at 13:17
Please share the FOD.
Jasmin Kahriman
November 2, 2024 at 07:30
You can download it here https://1drv.ms/f/s!AmECqrPYoOkxj64fDm7HJTUgUCHGrw?e=6186Gz
Alex Northon
October 29, 2024 at 19:01
Please share FOD package for win10
Jasmin Kahriman
November 2, 2024 at 07:31
You can download it here https://1drv.ms/f/s!AmECqrPYoOkxj64fDm7HJTUgUCHGrw?e=6186Gz
Lucas
November 4, 2024 at 13:24
Hi Jasmin!!!.
I downloaded FOD but, I can’t find the correct package, Microsoft-Windows-SNMP-Client-Package~31bf3856ad364e35~amd64~~.cab.
Can you share this FDO?.
Thank You
Jasmin Kahriman
November 5, 2024 at 07:24
Hi Lucas – you can download it from this link https://1drv.ms/f/s!AmECqrPYoOkxj64fDm7HJTUgUCHGrw?e=6186Gz.
Lucas
November 6, 2024 at 21:49
Thank you so much,
Alex
November 7, 2024 at 10:41
Hi Jasmin!!!.
Do you have Package for Windows 10 1809?
Jasmin Kahriman
November 11, 2024 at 07:45
Hi Alex – here it is https://1drv.ms/f/s!AmECqrPYoOkxj64fDm7HJTUgUCHGrw?e=6186Gz.
Alex
November 11, 2024 at 08:18
Thank you very much!
vijay
November 19, 2024 at 15:08
Hi jasmin can you share Windows 10 Features on Demand, version 1809 ISO file.