How to terminate a terminal session that is currently active on a server First, open a command prompt by pressing the Win key and the R key simultaneously, then type cmd and click the Enter key. Step 2: Enter qwinsta /server in the text box. Step 3: Choose the session you want to terminate, then enter rwinsta /server: in the console. Your Server's Name Your Session ID Step 4: You should be able to remote in at this point.