Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2006-10-26
3
Medium Priority
?
219 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 800 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

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Question has a verified solution.

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

Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
Make the most of your online learning experience.
Simple Linear Regression
Starting up a Project

885 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