Scripting Stuff Menu Header
Users/Groups
Active Directory
NIC/IP Addresses
OS/Hardware
Disk Quotas
Shares/Files/Sessions
Others
MS FTP Server
MS WWW Server
Application Pools
Others

Programs Menu Header

Miscellaneous Stuff Menu Header


Visitor #: 296278
MSN Search     windowsadminscripts.com www    

Script: Auto-Delete Disabled Users VBSscript
This script will delete all disabled users on a computer. You also have an option of listing all the disabled users so you can spot check them. You have the option of adding usernames you do not want to be deleted if they are disabled. I have also pre-added some "Restricted" username from being deleted as well.

Script Usages:
Delete Disabled Users: cscript deldisabledusers.vbs /computer:[computername]
List Disbaled Users: cscript deldisabledusers.vbs /list:[computername]

Email Address To Send Sample Code To:
@   

Click HERE to download the VB Script.



Buy Helm Control Panel @ Servertastic.com Store


Copyright 2006 WindowsAdminScripts.com all rights reserved.