Computing.Net > Forums > Windows NT > Script for Deleting Computer Accoun

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Script for Deleting Computer Accoun

Reply to Message Icon

Name: aek
Date: December 30, 2005 at 07:03:56 Pacific
OS: NT
CPU/Ram: Pentium
Comment:

I need a simple script for deleting computer accounts from a NT Domain.

I create temporary accounts in a NT Domain for testing. Once my testing is done, I remove those workstations by going into Server Manager. The issue is that I create about 10-20 accounts manually and I have to then delete each account manually. It is really time consuming and sucks!

I need 2 simple scripts (.vbs) that will allow me to create and remove those temporary workstations from my NT Domain.



Sponsored Link
Ads by Google

Response Number 1
Name: Dirty_Sanchez
Date: December 30, 2005 at 14:49:12 Pacific
Reply:

I'm not sure this can be doneb/c each computer account will be unique so the script may not be able to know which to delete (this is one reason). If anyone knows how, I would be interested in it as well.


0

Response Number 2
Name: tonysathre
Date: January 11, 2006 at 14:50:25 Pacific
Reply:

to delete an account:

http://www.microsoft.com/technet/scriptcenter/scripts/ad/computer/cptrvb03.mspx



0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows NT Forum Home


Sponsored links

Ads by Google


Results for: Script for Deleting Computer Accoun

Writeing Login Script for Windows N www.computing.net/answers/windows-nt/writeing-login-script-for-windows-n/22097.html

Logon Script for mapping user home directories. www.computing.net/answers/windows-nt/logon-script-for-mapping-user-home-directories/1664.html

Login script for Windows NT 4.0 www.computing.net/answers/windows-nt/login-script-for-windows-nt-40/4835.html