View Single Post
  #1 (permalink)  
Old 07-08-2008, 09:46 PM
jdbst56@gmail.com
 
Posts: n/a
Script to delete local user accounts?
We're running XP Professional with SP2. Is there a script (VB, WSH,
etc) that could be used to delete all local accounts on the machine
except for the builtin Windows accounts (as well as any ASP.net
accounts) and the account of the user who is currently logged in. I
know that I could figure out the account of the the currently logged
in user by using the %username% environment variable. I was thinking
of the Addusers.exe utility in the Server Resource Kit, but I'm not
sure that it will work for my needs. What we're trying to eliminate
is any users who may have created local "back door" accounts while
they were administrators of their PCs. We're about to take these
rights away but we want to ensure there is no way they can circumvent
the process by simply using a seperate local account to login with
full rights. Suggestions?

Thanks!
Reply With Quote
Sponsored Links