A Windows XP help forum. PCbanter

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.

Go Back   Home » PCbanter forum » Microsoft Windows XP » Windows Service Pack 2
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Getting status of Windows XP SP2 security center to command-line



 
 
Thread Tools Display Modes
  #1  
Old January 13th 05, 08:29 PM
Torgeir Bakken \(MVP\)
external usenet poster
 
Posts: n/a
Default 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  
Old January 18th 05, 12:09 PM
Carey Frisch [MVP]
external usenet poster
 
Posts: n/a
Default 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

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off

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






All times are GMT +1. The time now is 03:02 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright Đ2004-2024 PCbanter.
The comments are property of their posters.