Patent ID: 8190676

Claim:
A method for handling plug-and-play events comprising: detecting a first event notification of a plug-and-play event regarding a device in communication with a client communicating with a server using a presentation-level protocol, the first event notification comprising a globally unique ID for the device, a vendor ID, a product ID, a device name, and an event type identifier; intercepting said first event notification at an operating system abstraction layer; redirecting said first event notification to the server; creating an association between (i) a virtual device and (ii) the device in communication with the client; generating a second event notification of a plug-and-play event in a user session for the virtual device, the second event notification comprising the created association; receiving a command directed to the virtual device from an application executing in the user session on the server in response to the second event notification; determining the command is directed to the device in communication with the client; opening a virtual communication channel between the device in communication with the client and the application executing in the user session on the server; and transmitting, via the virtual communication channel, in response to the redirection of the first event notification, a command from the server, the command directed to said device in communication with the client.