Windows Management

 Introduction

 Scripts Collection (1)
 Scripts Collection (2)
 Windows Scripting
 Host (WSH)


 WMI

 ADSI

 Windows 2000
 Resource Kit


 Miscellaneous


ActiveXperts
Network Monitor


 Product Overview

 Built-in checks:
 
 Brochure (.pdf file)

 Whitepaper (.pdf)

 Manual (.pdf file)

 Presentation (.ppt)

 Download (.exe file)


Some quotes

 
 Windows&.NET Magazine:
 "Small, smart and very
 very handy"

 
 MonitorTools.com Review:
 "Extremely easy to use,
 great value for money!"


  Download ActiveXperts Network Monitor 7.0  (6239 KB - .exe file)
  Download Manual  (653 KB - .pdf file)

Scripts to manage Security

Programmatically Verifying a Script Signature
Signing All the Scripts in a Folder
Signing a Script Programmatically
Verifying Signatures for All the Scripts in a Folder




Programmatically Verifying a Script Signature


Verifies that an individual script has been digitally signed.
blnShowGUI = False
set objSigner = WScript.CreateObject("Scripting.Signer")
blnShowGUI = False
blnIsSigned = objSigner.VerifyFile("C:\Scripts\CreateUser.vbs", blnShowGUI)
If blnIsSigned then
    WScript.Echo "Script has been signed."
Else
   WScript.Echo " Script has not been signed."
End If

Signing All the Scripts in a Folder


Uses the Scripting Runtime Signer object to digitally sign all the scripts in a folder. Requires a valid digital certificate.
set objSigner = WScript.CreateObject("Scripting.Signer")
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objFolder = objFSO.GetFolder("c:\scripts")
Set colListOfFiles = objFolder.Files
For each objFile in colListOfFiles
    objSigner.SignFile objFile.Path, "IT Department"
Next

Signing a Script Programmatically


Uses the Scripting Runtime Signer object to digitally sign a script. Requires a valid digital certificate.
set objSigner = WScript.CreateObject("Scripting.Signer")
objSigner.SignFile "C:\Scripts\CreateUsers.vbs", "IT Department"

Verifying Signatures for All the Scripts in a Folder


Verifies that all the scripts in the C:\Scripts folder have been digitally signed.
blnShowGUI = False
set objSigner = WScript.CreateObject("Scripting.Signer")
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objFolder = objFSO.GetFolder("C:\Scripts\")
Set colListOfFiles = objFolder.Files
For each objFile in colListOfFiles
If Right(objFile.Name, 3) = "vbs" Then
    blnIsSigned = objSigner.VerifyFile(objFile.Path, blnShowGUI)
    If blnIsSigned then
        WScript.Echo objFile.Name & " has been signed."
        Else
            WScript.Echo objFile.Name & " has not been signed."
    End If
End If
Next

Copyright ©1999-2007 ActiveXperts Software. All rights reserved.