Your name <youremail@xxxxxx> wrote in news:48aa116e$0$28627
$9a6e19ea@xxxxxx:
Quote:
> Owen Gilmore <aogilmore@xxxxxx> wrote in
> news:396a3d15-fe33-4a12-8f89-aac10ab15601@xxxxxx:
> Quote:
>> On Aug 18, 2:15*pm, JustaUser <ju...@xxxxxx> wrote: Quote:
>>> Anyone know the registry keys to read to detect if OnAccessScan is
>>> enabled or disabled?
>>>
>>> If not a key, maybe in a file? *Or is there some way to connect to
>>> the application itself and tell?
>>>
>>> I know it is likely to change from v7.1 to 8, but should be similiar
>>> I would think.
>>>
>>> Thanks
>>
>> It looks like HKEY_LOCAL_MACHINE\SOFTWARE\McAfee\VSCore\On Access
>> Scanner\McShield\Configuration\bDisableScanning
>> >
> On 8.5i I can not change that key or disable the OAS, however on 7.1 I
> can change the key, but it does on affect the status of OAS. It must be
> something else...
>
> I need my script to check the status of OAS also, as users tend to
> disable it where ever they can. I guess no one knows how to do this... I have not seen it done before.
I would think that one could connect to the automation object similiar to
this:
Set ObjNA = WScript.CreateObject("naPolicyManager.PolicyProduct")
but not sure how to get the information out of there..