checkout RenameAdmin.exe on my webpage. It can change the password and rename the local administrator account on remote computers.
You can call it from a batch file using FOR to process many computers. code:
for /f %%i in (c:\ComputerList.txt) do c:\RenameAdmin.exe \\%%i NewName NewPassword
The NewName parameter can be the old name 'administrator' if you so desire.
All activity is written to a log file.
quote:
Utility: RenameAdmin.exe
Written by: Howard A. Bullock (habullock@comcast.net)
Copyright 2002
Renames and sets the password of the local 'administrator' account on the
specified computer without knowing the original account name. Requires
administrator permissions on the target computer.
LogFile = C:\Data\Scripts\RENAMEADMIN.EXE.log
2002.09.02_10.02.51 Name & Password Set (\\bullockha, Administrator, {'name' => administrator, 'password'=> #Password1})
C:\Data\Scripts>
[ 02. September 2002, 16:05: Message edited by: Howard Bullock ]