Discussion Locked

Network shell scripts for user removal

0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I was wondering if anyone had any examples or suggestions for making a network shell script to remove user accounts from Windows 2000.
Any help would be great. Thanks!!!

1 reply

by p.j.hutchison

For local accounts:
NET USER username /DELETE

for domain accounts:
NET USER username /DELETE /DOMAIN

If you want to use VBS to delete you can use WSH and ADSI scripting.

This discussion is closed to new replies.