You could try using the scrit below from the Technet Script Center via
Windows Script Host:
http://www.microsoft.com/technet/community/scriptcenter/user/scrug59.mspx
Identifying the User Logged on to a Remote Computer
Description
Returns the user name of the user currently logged on to a remote computer.
To use this script, replace RemoteComputer with the name of the remote
computer you want to check.
Script Code
strComputer = "RemoteComputer"
Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")
Set colComputer = objWMIService.ExecQuery _
("Select * from Win32_ComputerSystem")
For Each objComputer in colComputer
Wscript.Echo objComputer.UserName
Next
**********************I would suggest placing the script in a .VBS file and
running it like this from a command line:wscript loggedon.vbs servername1
servername2 > results.txtYou could then search results.txt for Administrator
(if that is still that name). Alternatively, you could add an If/Else
statement at the end of the script. Please repost if you ahve any
questions.-- Tim SpringstonMicrosoft CorporationThis posting is provided "AS
IS" with no warranties, and confers no rights.