When I run the batch file on my HTPC, no re-logon is required.
Before I start the remote connection the HTPC is sitting in Theatre View of MC.
While I am remotely connected the HTPC shows the User selection screen of the Windows login process.
When I run Disconnect.bat the HTPC returns to MC showing Theatre View.
You should not need to log-off via Remote Desktop. The command "tscon.exe 1 /dest:console /PASSWORD:secretpassword" does the logoff for you.
Note, as per my post above, I needed to include the password in the command. It is the password of the User ID that I am using for the remote connection on the HTPC.
Note also that you need to get the correct Session ID for use in the command. Mine is set to "1", but yours may be different. You can use in the command "query user" in a CMD window of the remote connection to confirm the correct Session ID. You can see how that works in the image I posted above. You need the Session ID of the User ID on the HTPC, not the Session ID of the remote connection.
The command basically reconnects the original session of the HTPC user back to the Console, which is the output to a screen. In doing so it forces the remote connection to close, as it no longer has a output to connect to, which is its sole purpose.
As you say you still have to enter a password to get onto the machine, and you still need to log-off via Remote Desktop, it sounds like the tscon command is not working for you. Adding the password may fix the problem.
PS: Note that I have the batch file stored in a sub-directory on my HTPC, not on the Desktop or in a Windows related directory, and have a shortcut to that batch file on my Desktop. That enables me to set the shortcut to always "Run as Administrator", so I don't have to right click or anything. Of course running as administrator does still require an administrator password to be entered at run time.