+ Post New Thread
Results 1 to 2 of 2
Windows Thread, CL util to manipulate policy files? in Technical; I'd like to automate reading and changing settings in registry.pol files i.e. run some DOS box script that could point ...
  1. #1

    Join Date
    Jan 2006
    Location
    Surburbia
    Posts
    2,178
    Thank Post
    74
    Thanked 307 Times in 243 Posts
    Rep Power
    115

    CL util to manipulate policy files?

    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?

  2. #2

    Join Date
    Jan 2006
    Location
    Surburbia
    Posts
    2,178
    Thank Post
    74
    Thanked 307 Times in 243 Posts
    Rep Power
    115

    Re: CL util to manipulate policy files?

    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 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).

SHARE:
+ Post New Thread

Similar Threads

  1. MSI Files.
    By boomam in forum How do you do....it?
    Replies: 14
    Last Post: 9th November 2007, 12:50 PM
  2. WDS and .WIM files.
    By starscream in forum Wireless Networks
    Replies: 1
    Last Post: 4th July 2007, 02:37 PM
  3. Anyone got a Policy for...
    By mattx in forum Windows
    Replies: 1
    Last Post: 17th January 2007, 08:10 PM
  4. The gadget show +wireless scanning util.
    By Dos_Box in forum General Chat
    Replies: 4
    Last Post: 22nd February 2006, 04:02 PM
  5. Blocking Batch Files using Group Policy in Server 2003
    By markwilliamson2001 in forum Windows
    Replies: 13
    Last Post: 4th October 2005, 05:28 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •