Unlock bunches of accounts

  • Thread starter Thread starter Mark Warbeck
  • Start date Start date
M

Mark Warbeck

Numerous times each week our domain is attacked causing user accounts to be
locked out. Does anyone have a script that could be run on a W2K DC to
unlock all accounts?

THanks,
Mark
 
Sounds like you need to focus on how your network is being hacked, rather
than bandaiding this. Do you have a good firewall protecting your network?
Sounds like you may not....
 
I'm using IPSec scripts to protect the best I can but we are in an
educational environment on a very large campus with a big fat pipe to the
Internet. That does two things: it requires a certain level of accessablitly
from off campus and it makes us a prime target. If I could unlock 200
accounts across three domains quickly it would be a great help. It seems
this could be done through a script but I'm not a programmer.

Thanks for your input. In many situations I think your idea would be the
best approach, but it isn't possible here.
 
It seems
this could be done through a script but I'm not a programmer.

I'm not a programmer but I know how to batch:

For /F "tokens=1,2,3 skip=4" %%a in ('net user /domain') do cusrmgr -u
%%a -s AccountLockout&cusrmgr -u %%b -s AccountLockout&cusrmgr -u %%c
-s AccountLockout

Take care: The command above is just in a single line and will only
work in CMDs.

Ciao, Walter
 
Back
Top