If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Getting status of Windows XP SP2 security center to command-line
Ralf Huelsmann wrote:
We need to get the status of the windows xp security center (sp2) in a .cmd-batch. there are severral things we can get with netsh and registry commands, but thatīs not what we want... we need to have the full status (safe or unsafe), or (even better) the three stati for - firewall - automatic updates - antivirus anything from ideas, over link to interesting pages about that to wsh-script or even a ready piece of code as a com/exe or whatever would be great. Hi There is no publicly available documentation on the WMI interface the Security Center supports, and I have not seen any source code or script using it either. But this post might interest you: From: Ivan Brugiolo [MSFT] ) Subject: Security Center detection of third-party firewall and AV Newsgroups: microsoft.public.win32.programmer.wmi Date: 2004-10-06 17:30:53 PST quote "Marius Mailat" wrote: If I am interested in retrieving the same information like Security Center - if a firewall is installed - if the firewall is up to date - if a antivirus is installed - if the antivirus is up to date where should I look for documentation. Tahak you. If you enable verbose logging for WinMgmt, in %windir%\system32\wbem\logs\wbemcore.log you should be able to see the kind of queries that are being executed. /quote -- torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway Administration scripting examples and an ONLINE version of the 1328 page Scripting Guide: http://www.microsoft.com/technet/scr...r/default.mspx |
Ads |
#2
|
|||
|
|||
Getting status of Windows XP SP2 security center to command-line
If you enable verbose logging for WinMgmt
in %windir%\system32\wbem\logs\wbemcore.log, you should be able to see the kind of queries that are being executed. Secrets of Windows Management Instrumentation http://www.microsoft.com/technet/scr...es/wmifaq.mspx -- Carey Frisch Microsoft MVP Windows XP - Shell/User Be Smart! Protect Your PC! http://www.microsoft.com/athome/secu...t/default.aspx ---------------------------------------------------------------------------- "Ralf Huelsmann" wrote: | Hi ! | | We need to get the status of the windows xp security center (sp2) in a | .cmd-batch. | | there are severral things we can get with netsh and registry commands, but | thatīs not what we want... | | we need to have the full status (safe or unsafe), or (even better) the three | stati for | - firewall | - automatic updates | - antivirus | | anything from ideas, over link to interesting pages about that to wsh-script | or even a ready piece of code as a com/exe or whatever would be great. | | thanx | | cu | ralf |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
What is connected to which? | kiadau | New Users to Windows XP | 7 | February 14th 07 08:02 PM |
Further MS Baseline Security Analyzer issues ... | bluddihun | Security and Administration with Windows XP | 2 | May 1st 05 02:55 PM |
New SP-2 upgrade issues... | George | General XP issues or comments | 5 | September 17th 04 11:31 PM |
SP 2 | Smiley | General XP issues or comments | 1 | September 10th 04 02:02 AM |