Solved

I need to create a simple Batch file that will delete a local user account

Posted on 2006-10-26
3
211 Views
Last Modified: 2010-04-16
Hi There,

I need to create a simple Batch file that will delete a local user account from a Windows XP machine.
I would like to make it as a start-up script and run it that way.

Please advise
Thanks in advance
0
Comment
Question by:SCTCIT
3 Comments
 
LVL 4

Accepted Solution

by:
mattcarver earned 200 total points
ID: 17813301
Create a batch file using the line of code below and replace "joeuser" with the username of your choice.  Place this batchfile in a location to automatically run.

---- Cut below this line, DELUSER.BAT ----
NET USER joeuser /DELETE
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Suggested Solutions

If you’re thinking to yourself “That description sounds a lot like two people doing the work that one could accomplish,” you’re not alone.
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now