Re: set local group policy using a script

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: george (anonymous_at_discussions.microsoft.com)
Date: 12/16/04

  • Next message: Matt: "WinPE on Hard Disk"
    Date: Thu, 16 Dec 2004 22:41:24 +0100
    
    

    create MMC
    add snapins:
    Security Configuration and Analysis
    and
    Security Templates.
    Take one to the (most appropriate) Security templates and copy it (ie, right
    click it and Save As... with your own name.
    Go into this new template and set all the options the way you want them
    (eventually on multiple machines) and save the template back to disk.
    Now click on Security Configuration and Analysis and follow the instructions
    on the right hand side to create a new Database with your required settings
    inthere.
    Then look up the secedit command parameters, notably to see the "secedit
    /configure" .
    just enter secedit on the command line and follow the helpinfo from there.
    This should get you where you want to go.
    hope it wasn't too confusing and helps you further.

    george

    "Martin" <Martin@discussions.microsoft.com> wrote in message
    news:AD056EA5-A7B1-4C64-931C-8DD8B9651F54@microsoft.com...
    > Hi,
    > Thanks for the reply,
    >
    > So if I want to export gpedit.msc-Computerconfiguration -Administrative
    > Templates-Windows components-Windows installer settings , for
    > automatically
    > implementation on other computers (no ad access), how do I use Secedit for
    > this ?
    >
    > \Martin
    > "Stew Basterash" wrote:
    >
    >> Yes...
    >>
    >> Create a security template and apply it using Secedit.exe...
    >>
    >> Stew Basterash.
    >>
    >> "Martin" <Martin@discussions.microsoft.com> wrote in message
    >> news:F82BBBFE-249D-4587-AA47-318A8AACE5AB@microsoft.com...
    >> > Hi,
    >> >
    >> > Is it possible to set a Local Group policy using wsh (set policy using
    >> > the
    >> > registry is not an option) ?
    >> >
    >> > thanx in advance ..
    >> >
    >> > Martin
    >>
    >>
    >>


  • Next message: Matt: "WinPE on Hard Disk"

    Relevant Pages

    • Re: local security policy
      ... Secedit and security templates are not supported on XP Home which is why I ... in sfc /scannow which probably will require that you have the install cdrom ... > from a Windows XP Pro machine that I also have at home. ...
      (microsoft.public.windowsxp.security_admin)
    • Re: Edit a "local policy" from a remote machine?
      ... and then use secedit to apply those settings via Group Policy startup script ... GPO with defined settings that would override domain policy. ... created/modified with the mmc snapin for Security Templates. ...
      (microsoft.public.win2000.group_policy)
    • Re: security template
      ... System State before you start using security templates so that you have a ... You can use secedit to reset "local" security policy back to ... default defined settings but it will not roll back settings that are not ... > How install the security template in windows 2000/2003 server. ...
      (microsoft.public.win2000.security)
    • Re: c: drive permissions
      ... secedit or a link to a good white paper. ... Nathan ... I need to find a scriptable solution. ... >>> Type Security Templates in Help and look at some predefined ones, ...
      (microsoft.public.windowsxp.general)
    • Applying security templates in NT 4.0
      ... Is there a way to batch scrip either with the Security Configuration ... Manager or secedit the application of security templates? ... Scorp ...
      (comp.os.ms-windows.nt.admin.security)