Solved

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

Posted on 2006-10-26
3
215 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

This is about my first experience with programming Arduino.
Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
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…

751 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