大网数据广告活动
安装更新与部署

Com port settings reset to default after making changes in Device Manager

· 52CE 我爱测

Describes an issue where the communications port (COM port) settings revert to the default when you restart the computer.

This article describes an issue where the communications port (COM port) settings revert to the default when you restart the computer.

Applies to:   Windows 2000
Original KB number:   293762

Symptoms

When you restart the computer, communications port (COM port) settings revert to the default. This issue occurs even though you've changed the settings in Device Manager. For example, if you run a command prompt in Windows 2000, you may notice that the default settings for com 1 are:

Baud rate=1200; Parity=None; Data Bits=7; Stop Bits=1

You may have a program that requires different settings, such as:

Baud rate=9600; Parity=None; Data Bits=8; Stop Bits=1

You can manually set com 1 to function at the settings you want by using this command:

Mode Com1: 9600,n,8,1

However, when you restart the system, you find that the setting reverts back to the default:

Baud rate=1200; Parity=None; Data Bits=7; Stop Bits=1

Cause

In Microsoft Windows 2000, COM port settings for command functions are maintained only for the active Windows session. Custom settings are discarded at shutdown.

Resolution

To resolve this issue, create a startup task that sets the COM port to the settings that you want. The task can be set to run minimized with the close window on exit setting selected.

A sample shortcut has this command line:

C:\winnt\system32\mode.com com1: 9600,n,8,1

Source: Microsoft Learn / IT Pro troubleshooting by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / IT Pro troubleshooting
适用范围
- Supported versions of Windows Client · Source date 02/12/2026
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。