开发者

How to stop SNMP from running automatically on Windows boot

I would like to stop SNMP from starting with Windows (WinCE 6.0 x86). I would then like to load it later at my convenience.

Currently my registry settings are as follows, I tried Flags=4 but that didnt work either, neither does Keep=0. (MSDN Documentation).

开发者_开发技巧[HKEY_LOCAL_MACHINE\Services\SNMP]
    ;"Flags"=dword:4
    "Keep"=dword:0

With these settings SNMP doesn't load but, if I then try to load it later, it fails with the error code 0 (helpful I know). This occurs whether I try to load the service by a call to ActivateService and by loading it via cmd line.

Can anyone offer any suggestions on how to get this working? Cheers


This registry setting seemed to do the trick

[HKEY_LOCAL_MACHINE\Services\SNMP]
    "Flags"=dword:14
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜