Solved

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

Posted on 2006-10-26
3
213 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

ScreenConnect 6.0 Free Trial

Discover new time-saving features in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI, app configurations and chat acknowledgement to improve customer engagement!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article will show, step by step, how to integrate R code into a R Sweave document
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
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 fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

777 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