Delete a local account on XP on many machines?

  • Thread starter Thread starter Cyborg
  • Start date Start date
C

Cyborg

Somehow an image we use for XP has an admin acount created with no password.
This image has been used on loads of PC's and I was wondering if I can do a
mass delete remotely or just lock it?
Thanks
 
Cyborg said:
Somehow an image we use for XP has an admin acount created with no
password. This image has been used on loads of PC's and I was wondering if
I can do a mass delete remotely or just lock it?
Thanks

Deleting or locking the admin account is not a good idea. Sooner
or later you will have to log on locally, which could be quite hard
without an operating admin account.

You could use psexec.exe to invoke a batch file like this one
on each PC:
@echo off
net user administrator newpassword

If you have a list of PC names then you could even automate the
process.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top