PiqueABoo Posted May 11, 2007 Posted May 11, 2007 I'd like to automate reading and changing settings in registry.pol files i.e. run some DOS box script that could point out missing/broken settings, run another one to add some new settings. The policy file format is relatively simple and ::gasp:: documented, so there should be zillions of tools for this, but.. Anyone know of any?
PiqueABoo Posted May 11, 2007 Author Posted May 11, 2007 Much googling later I can do the reading but via the MS ResKit regview.exe and look for things in the output. No luck yet for changing/adding. ::time passes:: Found one in a collection of GPL utils written in Delphi called batch_tools.zip at http://www.mirkes.de. gpscript - nearly everything I want. gpcvreg - converts reg files into format usable by gpscript. I say "nearly". Regview and gpscript both dump registry.pol entries across multiple lines e.g. key value type data But I want those all on one line to make checking an entire entry easy with findstr or whatever. Don't have Delphi to tweak the source so ended up writing my own util to do that bit (<20 lines of C).
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