Dizzy Posted June 4, 2008 Posted June 4, 2008 (edited) Hi everybody, i want to check some settings on x servers which i can't find in the registry. For example : I need the setting for "enforce password history" which will be set by gpo's. I've searched google and many forums but ... found nothing. Can i read this setting from the registry or by wmi commands or ... Have a great thx for a solution. Dizzy Edited June 5, 2008 by Dizzy
DaveF Posted June 4, 2008 Posted June 4, 2008 I think GPRESULT.EXE can be used to get what you're after. Yes yes yes, there it was. Youth must go, ah yes. But youth is only being in a way like it might be an animal. No, it is not just being an animal so much as being like one of these malenky toys you viddy being sold in the streets, like little chellovecks made out of tin and with a spring inside and then a winding handle on the outside and you wind it up grrr grrr grrr and off it itties, like walking, O my brothers. But it itties in a straight line and bangs straight into things bang bang and it cannot help what it is doing. Being young is like being like one of these malenky machines.
Dizzy Posted June 4, 2008 Author Posted June 4, 2008 I think GPRESULT.EXE can be used to get what you're after.Not really - i didn't get the value of each setting.But i found "net accounts" to do this ... ThxDizzy
Dizzy Posted June 5, 2008 Author Posted June 5, 2008 (edited) (Nearly) Solved (at the moment) with including a vbs-script. Ok - i didn't have the full output of the RSOP but the stuff i needed If someone runs to the same problem ... strComputer = "." Set objWMIService = GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & strComputer & "\root\RSOP\computer") Set colItems = objWMIService.ExecQuery("Select * from RSOP_SecuritySettingBoolean") for Each objItem in colItems Wscript.Echo objItem.KeyName & " = " & objItem.Setting Next CU Dizzy Edited June 5, 2008 by Dizzy
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