How can I delete a user account on Windows XP

I loan my laptop to a friend and he created a secon user account and I don't know how to delete it or what his password was.  The computer still shows me as the Administrator.
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

jorge diazSECommented:

Make sure you are logged in as administrator:

there are different ways you can do it. right click on the computer icon, select manage, select local users and groups\select users\  find the user you'd like to delete. right click on it and delete.


run the command prompt as an administrator ( type cmd on the run box - right click on it and select  Run as administrator)

once it opens type: net user UserName /del   (where UserName is the name of the account you'd like to delte)


Go to users in control panel, select the user you'd like to delete and delete it.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
camtzAuthor Commented:
Thank you very much
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Laptops Notebooks

From novice to tech pro — start learning today.