Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I added a test account to my virtual XP machine the other week and now I want to remove it.

The delete user button is not visible on their page. On the user accounts page the tooltip says that clicking on the user will allow me to delete it - but there is no button for this.

I have the machine setup to do an auto-logon - perhaps that removes the delete facility. But it logs on as my usual (other) account so you would think that it should not affect things.

Is there a permission I need to turn on?

share|improve this question

migrated from stackoverflow.com Jul 5 '10 at 22:29

This question came from our site for professional and enthusiast programmers.

add comment

3 Answers

up vote 4 down vote accepted

Try this command line

net user yourUserNameHere /DELETE

For example, if your test username is "ABCD" you'd run this:

net user ABCD /DELETE

Make sure you're logged on as an administrator of the machine.

share|improve this answer
add comment

Be sure you're logged on as an admin and that the other account is not logged on.

share|improve this answer
add comment

If you want to try a different GUI, right-click on My Computer and select Manage. In the Computer Management window select Local Users and Groups > Users. In that view, right-click the User and select Delete.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.