changed to DISM install to allow the feature to install

This commit is contained in:
usmcfiredog 2019-03-05 08:05:56 -08:00
parent 6b0bac0626
commit 525940362a
No known key found for this signature in database
GPG Key ID: DB5A11CB1231ABB0
1 changed files with 1 additions and 1 deletions

View File

@ -1,4 +1,4 @@
start /w PKGMGR.EXE /quiet /norestart /iu:SNMP
DISM /Online /Enable-Feature /FeatureName:SNMP
reg delete HKLM\SYSTEM\ControlSet001\services\SNMP\Parameters\PermittedManagers /va /f
reg add HKLM\SYSTEM\ControlSet001\services\SNMP\Parameters /v EnableAuthenticationTraps /t REG_DWORD /d 0 /f
reg add HKLM\SYSTEM\ControlSet001\services\SNMP\Parameters\ValidCommunities /v public /t REG_DWORD /d 4 /f