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 #: 140535
MSN Search     windowsadminscripts.com www    

Script: Delete Windows Users
This script will allow you to delete a user(s) from your local computer or remote computer. There are 2 ways of doing this, the 1st use the /user option and provide the username. The 2nd is use the /filename option and provide the filename in the script. Also when using the filename option all users must be on there own line and the file must be in the same directory as the script file. There is also an option to list all users on the local or remote computer.

Script Usage:
Delete Single User:
cscript deluser.vbs /computer:[computername] /user:[Username]
Delete Multiple Users:
cscript deluser.vbs /computer:[computername] /filename:"[filename]"
List All Users:
cscript deluser.vbs /computer:[computername] /list

Click Here to Download the VBS Script


Buy Helm Control Panel @ Servertastic.com Store


Copyright 2006 WindowsAdminScripts.com all rights reserved.