Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Assigning USB ports to specific programs?

30 Oct 2013   #1
matttheanalyst

64bit
 
 
Assigning USB ports to specific programs?

Here is my situation -
I have 2 USB scanners - checkout style scanners, you pass a barcode across it, and it acts as a usb keyboard and enters the barcode data onto the screen, whatever program you have open (excel, notepad etc).
I want to utilise both these scanners, but purchasing 2 separate PCs to do this job is very expensive, especially when essentially all each PC is doing is running a small data entry program and isn't used for anything else.

In my head, this is how I want it to work-

USB Scanner 1, plugged into USB Port 1, is assigned to Program1.exe. Whenever someone scans with usb scanner 1, the data is entered directly into program1, regardless of whats open at the time.

USB Scanner 2, plugged into USB Port 2, is assigned to Program2.exe. Whenever someone scans with usb scanner 2, the data is entered directly into program2, regardless of whats open at the time.

This way, i'd be able to leave two attached to one computer, and two workers could go about their routine without having to wait for each other to finish before scanning, or risking overwriting each other.

Please, someone tell me this is possible!


My System SpecsSystem Spec
.
30 Oct 2013   #2
Kari

Microsoft Community Contributor Award Recipient

 

Hi Matt, welcome to the Seven Forums.

As you have a very interesting question from my point of view, please allow me to "think loud" although it might not be even close to a solution you could use.

As far as I know, what you want is not natively possible on Windows PC. The first thought that comes to my mind is to use a virtual machine: connect scanner 1 to host Windows 7, launch a virtual machine (with any valid Windows version) which captures the scanner 2 (USB device 2).

An example scenario, not tested by me:
  • Host: Windows 7 Professional or better (to be able to use the free XP Mode)
  • Guest: Windows XP Mode running on Microsoft Virtual PC
  • USB device 1: connected and captured by the host OS, input going to a program open on host
  • USB device 2: connected to host USB port but captured by XP Mode, input going to a program open on guest XP Mode
This just might work.

Kari
My System SpecsSystem Spec
Reply

 Assigning USB ports to specific programs?




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
Assigning GPO to specific users on specific systems
I am trying to develop a GPO that will only apply to my primary laptop users while they are using their laptop but am having trouble getting it just right. What this GPO is meant to accomplish is to alter the default my documents location for my laptop users only while using their laptops. If the...
General Discussion
allowing UAC for specific programs
My UAC is currently set to default. Is there a way to allow certain programs to run while keeping it at default? There are programs I want to use and I have to click "yes" in the UAC window every time.
System Security
assigning specific programs to headphones
i'm using my HP DV7-7015CA i'm trying to make it so that only audio from my games go to my headphones (headphone jack) and all other audio goes to the computer speakers. how can i achieve this?
Sound & Audio
PPTP - Route only specific ports
Is there a way to enable routing only specific ports via PPTP connection? So for example, Firefox would still be running on normal internet, while VNC would be working through PPTP.
Network & Sharing
is it possible to ungroup only specific programs ???
hi folks, i know, one can choose one of these options for the taskbar buttons: - always combine - combine only when full - never combine i currently have ALWAYS COMBINE, its ok so. But i want for some specific programms NOT BE combined/grouped. ist possible ?
Customization
forcing programs to use a specific NIC
So I have 2 sources of internet. DSL and Cable. However, the Cable provider only gives you around 30 GB per month of bandwidth. DSL is unlimited bandwidth. I want to be able to use 1 or the other connection for different programs.
Network & Sharing


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 15:55.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App