Francesco Posted September 3, 2011 Posted September 3, 2011 (edited) CauseVista and Win7 have a different security center WMI namespace.FixReplace the two lines in WMI.js objWMIService=GetObject("winmgmts:\\\\" + "." + "\\root\\SecurityCenter"); with objWMIService=GetObject("winmgmts:\\\\" + "." + "\\root\\SecurityCenter" + (getOSver() != "XP" ? "2" : "")); Edited September 3, 2011 by Francesco
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now