Under Vista, the following VBscript doesn't work unless UAC is disabled and
the user is an administrator.
 
    Set objShare = Wscript.CreateObject("HNetCfg.HNetShare")
    Set objEveryColl = objShare.EnumEveryConnection
 
This snippet is from a "get out of quarantine" security validation routine
that launches automatically from a CMAK-generated connectoid after the VPN
is established.  The purpose is to confirm that the firewall is enabled on
each interface. 

It appears there are only two choices to resolve this:

1. Continue making users local admins under Vista and disable UAC, or
2. Don't bother checking network connections for firewall enablement
 
Does anyone have another way for VBScript to perform the equivalent firewall
verification under Vista?
 
thanks all,
Carl


~ Upgrade to Next Generation Antispam/Antivirus with Ninja!    ~
~ <http://www.sunbelt-software.com/SunbeltMessagingNinja.cfm>  ~

Reply via email to