Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Tuesday, August 16, 2016 8:01 AM | 1 vote
A user has an old program which needs to use COM1 to access door system.
The user’s computer is changed from WinXP to Win10 Pro which doesn’t has COM port. So will use USB to serial cable.
After installed the usb serial cable, it is shown as "USB Serial Port (COM3)".
Then do the following procedures to change it to COM1
Change to COM1
USB Serial Port > Properties > Port Settings > Advanced
Then change COM Port Number to COM1
It shows "USB Serial Port (COM1)"
Then can access the door system successfully.
After reboot the computer, it can't access the door system again.
I notice this:
C:\Users\Administrator>change port /q
COM2 = \Device\Serial0
COM4 = \Device\StnSerial0
COM5 = \Device\StnSerial1
The Device manager still displays "USB Serial Port (COM1)" there.
Then do the following procedures.
USB Serial Port > Properties > Port Settings > Advanced (is still using COM1)
click default and exit.
Then check this.
C:\Users\Administrator>change port /q
AUX = \DosDevices\COM1
COM1 = \Device\VCP0
COM2 = \Device\Serial0
COM4 = \Device\StnSerial0
COM5 = \Device\StnSerial1
Run the door system successfully again.
Tried several times to restart computer. Need to click default at advanced of "USB Serial Port (COM1)" Port settings on every startup.
Dos command: Change port /q will appear first two port after do the port setting above.
AUX = \DosDevices\COM1
COM1 = \Device\VCP0
If a user login computer, he needs to input local admin privilege while access the Device Manager to click the setting. It will be trouble.
Are there any method to fix this issue? Please kindly help. Many thanks.
All replies (3)
Friday, September 2, 2016 8:16 AM ✅Answered
Sorry for late reply.
I can understand Chinese, but for script demand, you could ask for help from script forum.
https://social.technet.microsoft.com/Forums/scriptcenter/en-US/home?category=scripting
The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us.
Regards
Please remember to mark the replies as an answers if they help and unmark them if they provide no help.
If you have feedback for TechNet Subscriber Support, contact [email protected].
Wednesday, August 17, 2016 6:45 AM
Hi,
Due to limited condition, we can’t reproduce your scenario to test, therefore, what I can think of is provide an idea for you.
As you said, user needs a admin permission to open Device Manager to configure settings, I think you can try Computer Start Scripts to make it. Because Startup scripts are run under the Local System account, and they have the full rights that are associated with being able to run under the Local System account.
Check this documentation for help.
https://technet.microsoft.com/en-us/library/cc770556%28v=ws.11%29.aspx?f=255&MSPPError=-2147217396
Regards
Please remember to mark the replies as an answers if they help and unmark them if they provide no help.
If you have feedback for TechNet Subscriber Support, contact [email protected].
Tuesday, August 23, 2016 3:24 AM
Hi,
Thanks for your reply. User needs to do the following steps so that it can access the Door System. How can I make these steps in the script. Please advise. Thanks much.