Assigning USB ports to specific programs?

matttheanalyst

New member
Local time
1:15 PM
Messages
1
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 Computer

Computer type
Laptop
OS
64bit
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 Computer

Computer type
Laptop
Computer Manufacturer/Model Number
HP ENVY 17-1150eg
OS
Windows 10 Pro x64 EN-GB
CPU
1.6 GHz Intel Core i7-720QM Processor
Memory
6 GB
Graphics Card(s)
ATI Mobility Radeon HD 5850 Graphics
Sound Card
Beats sound system with integrated subwoofer
Monitor(s) Displays
17" laptop display, 22" LED and 32" Full HD TV through HDMI
Screen Resolution
1600*900 (1), 1920*1080 (2&3)
Hard Drives
Internal: 2 x 500 GB SATA Hard Disk Drive 7200 rpm
External: 2TB for backups, 3TB USB3 network drive for media
Cooling
As Envy runs a bit warm, I have it on a Cooler Master pad
Keyboard
Logitech diNovo Media Desktop Laser (bluetooth)
Mouse
Logitech Performance Mouse MX
Internet Speed
50/10 Mbps VDSL
Antivirus
Windows Defender 4.3.9431.0
Browser
Maxthon 3.5.2., IE11
Back
Top