ben.hamilton.id.au

Getting your act together with CRM

Archive for the ‘RDP’ tag

Command line terminal server

I’ve just come across a terminal server that wouldn’t let me log on. Turns out the maximum number of users the terminal server is licensed for has been exceeded.

Thusly, from another machine on the network, we open a command prompt and type qwinsta /server:<servername>

This will give a list of the terminal server sessions on that server, note the ID number (aka sessionid) as we use them in the following commands.

We can reset a session by using rwinsta <sessionid> /server:<servername>

or we can disconnect the session with tsdiscon <sessionid> /server:<servername>

or we can logoff a session with logoff <sessionid> /server:<servername>

Dan Rigsby has more info as does Scott Forsyth.

Written by Ben Hamilton

October 12th, 2009 at 11:32 am

Posted in General

Tagged with , , ,

Network printers & RDP

IP Printer in a local RDP sessionSetting up a remote user today, who has a network printer on their local network which they want available to the RDP session (over VPN).

RDP doesn’t by default redirect non COM/LPT/USB ports – i.e. an IP port.

Thankfully, a simple registry edit noted in MS KB 302361 makes it easy to tell XP to redirect other ports.

Written by Ben Hamilton

October 2nd, 2007 at 12:35 pm

Posted in How to,Microsoft

Tagged with , , , , ,