Quarantine Control Scripts

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Appendix A of this document has a "Sample Quarantine Script", but it's not fleshed out
http://download.microsoft.com/download/0/7/e/07ed1953-0ab5-41ea-b5da-41cf8bb9cdae/Quarantine.do

Does anyone know of any repositories of Sample Quarantine Scripts

I want to verify that my VPN clients (XP and W2K) have
+ The correct service pack or the latest security patches installed.
+ The correct antivirus software and signature files installed.
+ Routing disabled. aka., no ip forwarding (gatewaying

Microsoft should keep a repository of sample scripts
 
Script center should be a good location for your scripting needs
(http://www.microsoft.com/technet/scriptcenter/)

As for your quarantine needs:
There is a sample quarantine.cmd that comes with W2k3 Resource Kit.

=========================================
Quarantine.cmd:
=========================================
Just validates to see if the c:\access.txt is present on the system.
* If the file does not exist, then the script tries to autoenroll
certificate and creates this text file.
Then the
* If the file exists, then the script launches rqc.exe with required
parameters to remove the machine from quarantine.
The idea behind the sample script is to show you what you can do with
quarantine.

=========================================
You can use any scripting solution or you can create a separate DLL/EXE and
include it as a post connect action in Connection Manager for doing the
above.

______________________________________________
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of all included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
 
For your scripting needs see script center at:
http://www.microsoft.com/technet/scriptcenter/default.asp. This one has a
lot of stuff that you are asking.

For quarantine, there is a sample quarantine.cmd script in the Windows 2003
Resource Kit.
This is a sample file which just shows you how to check for certain criteria
on the current machine and remove quarantine once the criteria is met.

Note: You can use any scripting mechanism or you can create a dll/exe. all
you have to do is to make it a post connect action in the connection manager
profile!

____________________________________________
Praveen Swaminathan

This posting is provided "AS IS" with no warranties, and confers no rights.
Use of all included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
____________________________________________
 
Back
Top