Serial Device Problem on reboot.

  • Thread starter Thread starter Gustaf
  • Start date Start date
G

Gustaf

Hello.

I use XPE SP2 with EWF.
I have a serial barcode scanner attached to my product via com1.
The scanner works fine after activating it in the accessibility options
and scans ok.

When I reboot the scanner stops working.
It doesnt matter if EWF is enabled or not. In order to get the scanner
to work I need to access the Accessibility Options again. All I do
there is click apply (no settings changed) and the scanner starts
working again.

I have seen post about this in the past but with no sollution.
Anyone have an idea how to fix this or some shortcut link or something
that will trigger the Accessibilityu apply during startup?

Thank you very much,
Gustaf Sandmark
 
Update: I have analysed the registry with regmon when I press the apply
button.
If I export all regkeys from the registry that apply affect it doesnt
work. I need to manually press the apply button inorder to get the
serial scanner to work.
Please help if someone know something.
 
Update2: Just noticed that I dont need to apply any settings in order
to get the scanner to work. I just need to open the Accessibility
Options in the control panel. Anyone know how to autostart/autoclose
this on startup? That would solve my problem.
 
Gustaf,

I have no idea what is going on with your scanner but you probably want to continue monitoring the problem with Regmon. Just get the
regmon log when you are launching the Accessibility option applet.

There is a command line to *open" the applet window automatically but without your own application that will close that particular
window I am afraid there is no a command to close it.
 
I have located the problem. The SerialKeys service is not automatically
started as windows says. Dont know why this service is not started. Big
mistake not looking for this in the first place. I've solved my problem
starting the service with sc.exe during startup.
 
Gustaf,

You can also start the SerialKeys service with 'net start serialkeys' command.

IIRC, there were some known issues with starting the service even on XP Pro if you suse Autologon and/or limitted user account (non
Admin). I don't recall what was the solution though.

KM
 
Back
Top