Re: unable to sucessfully run the change local administrator scrip

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



davisr65 wrote:

Your suggestion is very cool (net.exe)..... how do i apply this script?...I
saved it as a bat file, created a GPO and applied it to top level domain...
but it didnt work....
Please bear with me, i never used GPO policy.... i looked at the policy
using GPMC which is very cool too... it seems to be applied correctly .. I
applied it to Domain computers... That would cover all machines correct?

thank you...
Hi,

You will need to link the GPO to the container or OU where your
computers are placed (in AD, they are default placed in the
container "Computers")


-- torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway Administration scripting examples and an ONLINE version of the 1328 page Scripting Guide: http://www.microsoft.com/technet/scriptcenter/default.mspx .



Relevant Pages

  • Re: Runas, include password?
    ... I like the GPO idea. ... I've tried it out with .MSI files, ... if the computers are members of an Active Directory ... > torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway ...
    (microsoft.public.windows.server.scripting)
  • Re: Group policy scripting through ADSI
    ... You could install the Group Policy Management Console and see ... Note that scripting of some GPO operations are exposed within this ... Group Policy Objects " for some examples. ...
    (microsoft.public.windows.server.scripting)
  • Re: Deploying Office
    ... I don't know of a way to do it via GPO or through scripting, ... You might consider possing the question to a scripting group. ... >> you need to change your users to power users on each computer. ... >> users> add domain users or everyone or such to that group. ...
    (microsoft.public.win2000.group_policy)
  • Re: Getting GPO names
    ... Thanks Torgeir it works well. ... >> will allow me to get the name of the GPO that is linked to the ... >> get container list from AD ... > torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway ...
    (microsoft.public.windows.server.active_directory)
  • Re: Group Policy for Power Settings
    ... ENERGY STAR's free EZ GPO tool allows a network admin to ... In a command prompt, run powercfg.exe /? ... without being added to the Local Administrators group. ... torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway ...
    (microsoft.public.windows.group_policy)