I have a batfile to run a tomcat instance on a remote server. The batfile contains a variable for Session ID , and looks as below.
cmdkey.exe /add:Server /user:Se