PC Review


Reply
Thread Tools Rate Thread

API for setting up Defender?

 
 
=?Utf-8?B?UGF1bC4=?=
Guest
Posts: n/a
 
      20th Jun 2007
We have a distributed system, and need to apply Defender "Allow" settings and
"ignore directory" settings across many nodes. Is there an API to accomplish
this? - or is it scriptable using Powershell or something?

thanks,
Paul.
 
Reply With Quote
 
 
 
 
Bill Sanderson MVP
Guest
Posts: n/a
 
      20th Jun 2007
Windows Defender has very limited group policy settings which are defined in
a .adm file installed as part of the product distribution.

For your use, Microsoft Forefront Client Protection--which has been
released, but won't be available until July, as I recall--except in the form
of a public beta--would be a far better fit.

--

"Paul." <Paul.@discussions.microsoft.com> wrote in message
news:6B87C003-4A4D-45D3-9041-(E-Mail Removed)...
> We have a distributed system, and need to apply Defender "Allow" settings
> and
> "ignore directory" settings across many nodes. Is there an API to
> accomplish
> this? - or is it scriptable using Powershell or something?
>
> thanks,
> Paul.



 
Reply With Quote
 
Simon Zerafa
Guest
Posts: n/a
 
      22nd Jun 2007
Hi,

If you export the relevent registry settings and save them to a .REG file,
these can be imported *BEFORE* you install WD

They will "stick" once the package has been installed.

If you attempt this once WD is installed the registry setting are protected
and cannot be altered.

My settings are as follows:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Defender\Scan]
"AutomaticallyCleanAfterScan"=dword:00000000
"CheckForSignaturesBeforeRunningScan"=dword:00000000
"ScheduleTime"=dword:000004b0
"ScheduleDay"=dword:00000000

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Defender\UX Configuration]
"AlwaysShowTaskTrayIcon"=dword:00000001

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Defender\Spynet]
"SpyNetReporting"=dword:00000002

I have often wondered if this is in fact bad design or a bug, but it's
useful.

Kind Regards

Simon


 
Reply With Quote
 
Bill Sanderson MVP
Guest
Posts: n/a
 
      22nd Jun 2007
I think setting the permissions on the registry keys so that they are not
easily changed is likely by design. Your workaround is a good one,
though--thanks!

--

"Simon Zerafa" <(E-Mail Removed)*no-spam*.uk> wrote in message
news:(E-Mail Removed)...
> Hi,
>
> If you export the relevent registry settings and save them to a .REG file,
> these can be imported *BEFORE* you install WD
>
> They will "stick" once the package has been installed.
>
> If you attempt this once WD is installed the registry setting are
> protected and cannot be altered.
>
> My settings are as follows:
>
> Windows Registry Editor Version 5.00
>
> [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Defender\Scan]
> "AutomaticallyCleanAfterScan"=dword:00000000
> "CheckForSignaturesBeforeRunningScan"=dword:00000000
> "ScheduleTime"=dword:000004b0
> "ScheduleDay"=dword:00000000
>
> [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Defender\UX Configuration]
> "AlwaysShowTaskTrayIcon"=dword:00000001
>
> [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Defender\Spynet]
> "SpyNetReporting"=dword:00000002
>
> I have often wondered if this is in fact bad design or a bug, but it's
> useful.
>
> Kind Regards
>
> Simon
>
>



 
Reply With Quote
 
Shiroy Choksey
Guest
Posts: n/a
 
      22nd Jun 2007
It is possible to script changing permissions on registry keys
[http://support.microsoft.com/kb/245031]

[Please make a note of the original permissions and take a back up of your
registry before you make any changes to it.]

After changing the permissions you should be able to modify the registry.

You can then reset the permissions to their original values, to ensure that
they can't be changed by an unauthorized program.

This is possible for a remote machine as well.

~Shiroy


"Bill Sanderson MVP" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>I think setting the permissions on the registry keys so that they are not
>easily changed is likely by design. Your workaround is a good one,
>though--thanks!
>
> --
>
> "Simon Zerafa" <(E-Mail Removed)*no-spam*.uk> wrote in message
> news:(E-Mail Removed)...
>> Hi,
>>
>> If you export the relevent registry settings and save them to a .REG
>> file, these can be imported *BEFORE* you install WD
>>
>> They will "stick" once the package has been installed.
>>
>> If you attempt this once WD is installed the registry setting are
>> protected and cannot be altered.
>>
>> My settings are as follows:
>>
>> Windows Registry Editor Version 5.00
>>
>> [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Defender\Scan]
>> "AutomaticallyCleanAfterScan"=dword:00000000
>> "CheckForSignaturesBeforeRunningScan"=dword:00000000
>> "ScheduleTime"=dword:000004b0
>> "ScheduleDay"=dword:00000000
>>
>> [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Defender\UX Configuration]
>> "AlwaysShowTaskTrayIcon"=dword:00000001
>>
>> [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Defender\Spynet]
>> "SpyNetReporting"=dword:00000002
>>
>> I have often wondered if this is in fact bad design or a bug, but it's
>> useful.
>>
>> Kind Regards
>>
>> Simon
>>
>>

>
>



 
Reply With Quote
 
Bill Sanderson MVP
Guest
Posts: n/a
 
      22nd Jun 2007
Excellent! I've definitely reset those permissions and made changes myself
by hand, but I haven't needed to script such changes.

Thanks.
--

"Shiroy Choksey" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> It is possible to script changing permissions on registry keys
> [http://support.microsoft.com/kb/245031]
>
> [Please make a note of the original permissions and take a back up of your
> registry before you make any changes to it.]
>
> After changing the permissions you should be able to modify the registry.
>
> You can then reset the permissions to their original values, to ensure
> that they can't be changed by an unauthorized program.
>
> This is possible for a remote machine as well.
>
> ~Shiroy
>
>
> "Bill Sanderson MVP" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>>I think setting the permissions on the registry keys so that they are not
>>easily changed is likely by design. Your workaround is a good one,
>>though--thanks!
>>
>> --
>>
>> "Simon Zerafa" <(E-Mail Removed)*no-spam*.uk> wrote in message
>> news:(E-Mail Removed)...
>>> Hi,
>>>
>>> If you export the relevent registry settings and save them to a .REG
>>> file, these can be imported *BEFORE* you install WD
>>>
>>> They will "stick" once the package has been installed.
>>>
>>> If you attempt this once WD is installed the registry setting are
>>> protected and cannot be altered.
>>>
>>> My settings are as follows:
>>>
>>> Windows Registry Editor Version 5.00
>>>
>>> [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Defender\Scan]
>>> "AutomaticallyCleanAfterScan"=dword:00000000
>>> "CheckForSignaturesBeforeRunningScan"=dword:00000000
>>> "ScheduleTime"=dword:000004b0
>>> "ScheduleDay"=dword:00000000
>>>
>>> [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Defender\UX
>>> Configuration]
>>> "AlwaysShowTaskTrayIcon"=dword:00000001
>>>
>>> [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Defender\Spynet]
>>> "SpyNetReporting"=dword:00000002
>>>
>>> I have often wondered if this is in fact bad design or a bug, but it's
>>> useful.
>>>
>>> Kind Regards
>>>
>>> Simon
>>>
>>>

>>
>>

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
RE: Setting Defender's Options PhotoBoothe Spyware Discussion 2 2nd Jan 2009 05:48 PM
Setting Home Page in Internet Explorer Using Windows Defender =?Utf-8?B?UGV0ZQ==?= Spyware Discussion 4 12th Apr 2007 11:24 PM
Window Defender block the Group Policy Setting =?Utf-8?B?QmVuIExldW5n?= Spyware Discussion 5 14th Nov 2006 06:07 PM
Setting Defender =?Utf-8?B?am9pbmVy?= Spyware Discussion 6 25th Apr 2006 11:25 PM
Defender.msi problem setting up. joevan Windows XP Help 0 24th Feb 2006 11:29 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:54 PM.