Re: Script
From: Roger Abell (mvpNOSpam_at_asu.edu)
Date: 06/01/05
- Next message: Roger Abell: "Re: Windows 2003 SP1 Question."
- Previous message: Karl Levinson, mvp: "Re: Port Range in Exceptions"
- In reply to: BarbS: "Script"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Tue, 31 May 2005 21:56:43 -0700
Such could certainly be written, and likely has.
If you do not know scripting you would need someone to customize
the logic for criteria controlling the remove.
At a cmd prompt one may issue
net localgroup administrators
to see the complete membership of the administrators group.
If you see an account xxx that should be removed you may issue
net localgroup administrators xxx /delete
-- Roger Abell Microsoft MVP (Windows Security) MCSE (W2k3,W2k,Nt4) MCDBA "BarbS" <BarbS@discussions.microsoft.com> wrote in message news:718BA2E5-101F-4767-A0C6-1DC06BDD364F@microsoft.com... > Is there a script to check if an account is in the administrators group and > to remove the account from the adminstrator group? > > This is for a windows 2003 server without AD. Thank You.
- Next message: Roger Abell: "Re: Windows 2003 SP1 Question."
- Previous message: Karl Levinson, mvp: "Re: Port Range in Exceptions"
- In reply to: BarbS: "Script"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|