Driver Problems? Questions? Issues?
Put OSR's experience to work for you! Contact us for assistance with:
  • Creating the right design for your requirements
  • Reviewing your existing driver code
  • Analyzing driver reliability/performance issues
  • Custom training mixed with consulting and focused directly on your specific areas of interest/concern.
Check us out. OSR, the Windows driver experts.

Monthly Seminars at OSR Headquarters

East Coast USA
Windows Internals and SW Drivers, Dulles (Sterling) VA, 13 November 2017

Kernel Debugging & Crash Analysis for Windows, Nashua (Amherst) NH, 4 December 2017

Writing WDF Drivers I: Core Concepts, Nashua (Amherst) NH, 8 January 2018

WDF Drivers II: Advanced Implementation Techniques, Nashua (Amherst) NH, 15 January 2018


Go Back   OSR Online Lists > ntdev
Welcome, Guest
You must login to post to this list
  Message 1 of 4  
22 Nov 17 04:46
dan
xxxxxx@gmail.com
Join Date: 12 Aug 2010
Posts To This List: 122
Virtual serial port and Win10

I put the following snippet in my INF file (see https://www.osronline.com/showThread.CFM?link=282896): [SetDeviceType_AddReg] > HKR,,DeviceType,0x10001,0x0000001b ; 0x1b =3D FILE_DEVICE_SERIAL_PORT ..to allow it to work with various apps like the dotnet serial port class This works on my development machine (Win 8.1 pro), but I have not had any success on the Win10 machines that I have tested on.. I get the "The given port name is invalid. It may a valid port, but not a serial port" message. Does anyone have any insight on this one? Cheers --
  Message 2 of 4  
22 Nov 17 08:17
Doron Holan
xxxxxx@microsoft.com
Join Date: 08 Sep 2005
Posts To This List: 10106
Virtual serial port and Win10

Did you verify the registry value is present on the device node? Bent from my phone ________________________________ From: xxxxx@lists.osr.com <xxxxx@lists.osr.com> on behalf of xxxxx@gmail.com <xxxxx@lists.osr.com> Sent: Wednesday, November 22, 2017 4:44:48 AM To: Windows System Software Devs Interest List Subject: [ntdev] Virtual serial port and Win10 I put the following snippet in my INF file (see https://www.osronline.com/showThread.CFM?link=282896<https://na01.safelinks.prote ction.outlook.com/?url=https%3A%2F%2Fwww.osronline.com%2FshowThread.CFM%3Flink%3D 282896&data=3D02%7C01%7CDoron.Holan%40microsoft.com%7C369121571fab4b0370d308d5318 dcf51%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636469407517307978&sdata=HUoRC F1r%2BODv9XCEL5bUnZ0ojrJdm7lVjiTdyMHqqUw%3D&reserved=0>): [SetDeviceType_AddReg] HKR,,DeviceType,0x10001,0x0000001b ; 0x1b =3D FILE_DEVICE_SERIAL_PORT ..to allow it to work with various apps like the dotnet serial port class This works on my development machine (Win 8.1 pro), but I have not had any success on the Win10 machines that I have tested on.. I get the "The given port name is invalid. It may a valid port, but not a serial port" message. Does anyone have any insight on this one? Cheers --- NTDEV is sponsored by OSR Visit the list online at: MONTHLY seminars on crash dump analysis, WDF, Windows internals and software drivers! Details at To unsubscribe, visit the List Server section of OSR Online at --
  Message 3 of 4  
23 Nov 17 05:00
dan
xxxxxx@gmail.com
Join Date: 12 Aug 2010
Posts To This List: 122
Virtual serial port and Win10

Yes it is there: >[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\ROOT\PORTS\0000] >... >"DeviceType"=dword:0000001b >...
  Message 4 of 4  
29 Nov 17 22:43
dan
xxxxxx@gmail.com
Join Date: 12 Aug 2010
Posts To This List: 122
Virtual serial port and Win10

Does anyone know why Win10 would behave differently to Win8.1 in this regard?
Posting Rules  
You may not post new threads
You may not post replies
You may not post attachments
You must login to OSR Online AND be a member of the ntdev list to be able to post.

All times are GMT -5. The time now is 21:43.


Copyright ©2015, OSR Open Systems Resources, Inc.
Based on vBulletin Copyright ©2000 - 2005, Jelsoft Enterprises Ltd.
Modified under license