can you stop Windows polling the serial ports at boot up?

Basil

New member
Member
Local time
12:47 AM
Messages
97
I have some devices (solid state relays controlling large power supplies) running off the true serial ports on my motherboard. I use this set up to remotely switch the supplies on or off via remote desktop using a simple DOS program. However, on boot up Windows 7 64 bit seems to "poll" the ports sending outputs momentarily high a few times. The SSD's, the big linear power supplies and I don't like this! Can it be stopped? Thanks.
 

My Computer My Computer

At a glance

Win 7 Pro 64 BitIntel i5-4670K @ 3.4 GHz16 gigOn board
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom
OS
Win 7 Pro 64 Bit
CPU
Intel i5-4670K @ 3.4 GHz
Motherboard
Gigabyte GA-Z97X-Gaming 3
Memory
16 gig
Graphics Card(s)
On board
Hard Drives
SSD C: Drive
2 off 1 gig SATA in software RAID1 as D: Drive
Antivirus
Avast
Browser
Firefox
Is it windows or the bios normally the bios will do it as it needs to know whats on the system
 

My Computer My Computer

At a glance

win 8 32 bit
Computer type
PC/Desktop
OS
win 8 32 bit

My Computer My Computer

At a glance

Win 7 Pro 64 BitIntel i5-4670K @ 3.4 GHz16 gigOn board
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom
OS
Win 7 Pro 64 Bit
CPU
Intel i5-4670K @ 3.4 GHz
Motherboard
Gigabyte GA-Z97X-Gaming 3
Memory
16 gig
Graphics Card(s)
On board
Hard Drives
SSD C: Drive
2 off 1 gig SATA in software RAID1 as D: Drive
Antivirus
Avast
Browser
Firefox
Turning off in BIOS will disable the serial ports altogether. This is a not very good solution if you have serial port devices attached!! You want to disable something that still permits the use of the comms ports, when controlling the relays. The problem appears to be that Windows tries to detect the presence of a serial mouse, upon Windows booting.

One solution would be to have the serial port devices (relays) turned off during Windows 7 boot-up, and have these devices enabled when Windows had finished booting. That could mean editing the software for the comms port on the relays.

Another solution would be to get the relay device to recognise the windows command, and flush it out, like not act on it.

Alternatively, you could just disable the detection of the serial mouse at boot tme. There is not much documentation around on how to do this. In Windows XP, you would modify the boot.ini file. But with later versions of Windows, there is no Boot.ini file to edit! The solution appears to be to edit the registry. The side effect of this modification would be that your computer would be unable to communicate with a serial mouse - if you have a USB mouse, that should not impact your system too much.

Here is some documentation on how to disable the detection of the serial mouse at boot time on windows 7, which I found at TALtech instruments : Disabling Windows detection of Serial Mice (including Windows 7)
 

My Computer My Computer

At a glance

Windows 7 x64, Vista x64, 8.1 smartphoneIntel E8400 65W 64-bitDDR2 2 x 2GB, 1GB x 2XFX Radeon HD5750
Computer type
PC/Desktop
OS
Windows 7 x64, Vista x64, 8.1 smartphone
CPU
Intel E8400 65W 64-bit
Motherboard
Gigabyte EP45-UD3LR
Memory
DDR2 2 x 2GB, 1GB x 2
Graphics Card(s)
XFX Radeon HD5750
Sound Card
AMD High Definition Audio; Realtek High Definition Audio
Monitor(s) Displays
iiyama prolite X2377HDS
Screen Resolution
1920 x 1080
Hard Drives
500GB 7200 rpm Seagate ST3500413AS 16MB, 500GB 5400 rpm Toshiba MQ02ABF050H 32MB, 200GB 7200 rpm Seagate ST3200820AS 8MB, 2TB 7200 rpm Western Digital WD20EZRX 64MB
PSU
Enermax Liberty Modular
Case
Antec P193 Midi Tower
Keyboard
Mionix ZIBAL 60
Mouse
Razer USB 2.0 Diamondback Mouse or Huion Graphics Tablet
Browser
Internet Explorer, Lunascape, Firefox, Opera, Avast Safezone
Back
Top