|
|
|
| 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
|
|
|