Does that not DEFEAT the reason to have a login?
-- sent from my iPhone4 --
Nope. Not if the .bat file is on the desktop of an account with an extremely hard password, and the machine is protected by full-disk encryption.
opening the admin console is nothing like mapping a share as in your example... you can't "single-sign-on" into the admin console.
You can use a batch file for your fmsadmin commands by specifying the -u and -p switches for the username and password.
That's it! I didn't know about the -u and -p switches . . . because I evidently can't read:
The following example authenticates with
Admin Console user name admin and the password pword and closes all open databases without prompting you to confirm:
fmsadmin close -y -u admin -p pword