# 控制面板（Windows）

**控制面板**（Control Panel）是微软Windows的一个组件，最早随1985年的Windows 1.0引入，它汇集了称为“小程序”的小型配置程序，用于调整系统和用户设置，如显示、声音、网络、用户账户和已安装的软件。<sup>[1](https://www.maharajacollege.ac.in/fileupload/uploads/67a865231bdd720250209081947Windows%20Operating%20System%20history.pdf)</sup><sup> • </sup><sup>[2](https://learn.microsoft.com/en-us/windows/win32/shell/control-panel-applications)</sup>自2012年起，微软一直在将其功能迁移到现代化的“设置”应用，但控制面板在[Windows 11](https://www.edgepedia.org/zh/windows-11)中仍然存在。<sup>[3](https://windowsexplained.com/settings-vs-control-panel/)</sup>

| 关键事实 | 详情 |
|---|---|
| 首次出现 | Windows 1.0，1985年发布<sup>[1](https://www.maharajacollege.ac.in/fileupload/uploads/67a865231bdd720250209081947Windows%20Operating%20System%20history.pdf)</sup> |
| 小程序的本质 | 让用户配置Windows环境的DLL或可执行（.exe）文件，通常通过点击控制面板中的图标来访问<sup>[2](https://learn.microsoft.com/en-us/windows/win32/shell/control-panel-applications)</sup> |
| 文件格式 | .cpl文件是重命名的动态链接库（.dll）文件，导出一个`CPlApplet`函数<sup>[4](https://attack.mitre.org/techniques/T1218/002/)</sup> |
| 程序文件 | Control.exe；一项策略设置可以阻止Control.exe和SystemSettings.exe（分别为控制面板和电脑设置的程序文件）启动<sup>[5](https://learn.microsoft.com/en-us/windows/client-management/mdm/policy-csp-admx-controlpanel)</sup> |
| 规范名称 | 自Windows Vista起，内置项目拥有规范名称，可用于API调用或命令行指令以编程方式启动它们<sup>[6](https://learn.microsoft.com/en-us/windows/desktop/shell/controlpanel-canonical-names)</sup> |
| 后继者 | 设置应用，2012年随Windows 8和Windows Server 2012发布<sup>[3](https://windowsexplained.com/settings-vs-control-panel/)</sup> |
| 移除状态 | 微软表示尚无彻底移除控制面板的确定日期<sup>[7](https://learn.microsoft.com/en-us/answers/questions/3875177/when-will-the-control-panel-be-removed-and-all-fun?forum=windows-all&page=2)</sup> |

## 历史

控制面板随Windows 1.0引入，这是微软1985年为MS-DOS提供的图形环境。<sup>[1](https://www.maharajacollege.ac.in/fileupload/uploads/67a865231bdd720250209081947Windows%20Operating%20System%20history.pdf)</sup>在Windows 3.1中，控制面板程序为CONTROL.EXE，它从同一目录下扩展名为CPL的文件中加载小程序；用户或应用程序也可以通过命令行参数指定要启动的小程序来打开控制面板。<sup>[8](https://www.bitsavers.org/pdf/microsoft/windows_3.1/Microsoft_Windows_3.1_SDK_1992/PC28915-0492_Programmers_Reference_Volume_1_199204.pdf)</sup>有些扩展文件包含多个小程序，通过索引参数选择运行哪一个。<sup>[9](https://www.bitsavers.org/pdf/microsoft/windows_3.1/Livingston_-_Windows_GIZMOS_1993.pdf)</sup>

在[Windows 95](https://www.edgepedia.org/zh/windows-95)中，打印机通过选择控制面板的“打印机”工具来安装，“显示”工具则控制显示器分辨率和调色板大小的配置。<sup>[10](https://bitsavers.computerhistory.org/pdf/microsoft/windows_95/Introducing_Microsoft_Windows_95_1995.pdf)</sup>根据对CPL格式的一项技术分析，微软从2006年的[Windows Vista](https://www.edgepedia.org/zh/windows-vista)开始，将许多CPL小程序迁移到微软管理控制台（MMC）和Windows控制面板框架。<sup>[11](https://filetypedb.com/system/cpl/)</sup>

## 技术结构

控制面板项目是让用户配置Windows环境的DLL或可执行（.exe）文件。<sup>[2](https://learn.microsoft.com/en-us/windows/win32/shell/control-panel-applications)</sup>.cpl文件实际上是重命名的DLL文件，导出一个`CPlApplet`函数；控制面板调用该函数来初始化小程序、获取并提供有关用户操作的信息，以及卸载小程序。<sup>[4](https://attack.mitre.org/techniques/T1218/002/)</sup><sup> • </sup><sup>[12](https://download.microsoft.com/download/8/a/6/8a66a2e1-f2e1-4113-8877-514d6f668fe3/Chapter%203%20-%20Performing%20System%20Programming.pdf)</sup>开发者必须导出`DllMain`和`CPLApplet`入口点，以便控制面板应用程序能够访问这些函数。<sup>[12](https://download.microsoft.com/download/8/a/6/8a66a2e1-f2e1-4113-8877-514d6f668fe3/Chapter%203%20-%20Performing%20System%20Programming.pdf)</sup>Windows Vista取消了DLL限制，允许将控制面板功能嵌入.exe文件。<sup>[13](https://www.viksoe.dk/code/cplapplet.htm)</sup>

注册可以通过在注册表子键`HKLM\Software\Microsoft\Windows\CurrentVersion\Control Panel\Cpls`下添加CPL文件的位置和名称来完成，也可以在`HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel\NameSpace`下添加小程序的COM类标识符。<sup>[14](https://thelearningjourneyebooks.com/ebooks/TheWindowsConceptJourney_v6_March2025.pdf)</sup>自Windows Vista起，Windows附带的项目还被赋予规范名称以便编程启动；自[Windows 7](https://www.edgepedia.org/zh/windows-7)和[Windows Server 2008 R2](https://www.edgepedia.org/zh/windows-server-2008-r2)起，规范名称可用于组策略中以隐藏特定项目。<sup>[6](https://learn.microsoft.com/en-us/windows/desktop/shell/controlpanel-canonical-names)</sup>

## 启动小程序

控制面板项目可以直接从命令行执行、通过API调用以编程方式执行，或双击文件执行。<sup>[4](https://attack.mitre.org/techniques/T1218/002/)</sup>微软的文档说明了如何在命令提示符或“打开”框中键入命令来运行工具；例如，`firewall.cpl`打开Windows Defender防火墙控制面板小程序，它提供配置Windows防火墙的基本功能，而高级配置则使用Windows Defender防火墙高级安全MMC管理单元。<sup>[15](https://support.microsoft.com/en-us/servicing/os/windows/2017/01/how-to-run-control-panel-tools-by-typing-a-command)</sup><sup> • </sup><sup>[16](https://learn.microsoft.com/en-us/windows/security/operating-system-security/network-security/windows-firewall/tools)</sup>

管理员可以限制访问：一项策略设置阻止Control.exe和SystemSettings.exe（分别为控制面板和电脑设置的程序文件）启动，从而将控制面板从“开始”屏幕、[文件资源管理器](https://www.edgepedia.org/zh/file-explorer)和搜索结果中移除。<sup>[5](https://learn.microsoft.com/en-us/windows/client-management/mdm/policy-csp-admx-controlpanel)</sup>

## 向设置应用迁移

微软于2012年随[Windows 8](https://www.edgepedia.org/zh/windows-8)和[Windows Server 2012](https://www.edgepedia.org/zh/windows-server-2012)发布了设置应用。<sup>[3](https://windowsexplained.com/settings-vs-control-panel/)</sup>2015年3月，微软的加布里埃尔·奥尔（Gabriel Aul）在Twitter上表示：“假以时日，是的，我们预计设置应用将涵盖此前控制面板的所有功能。”<sup>[17](https://www.windowscentral.com/microsoft-replace-traditional-control-panel-settings-app)</sup>迁移在[Windows 10](https://www.edgepedia.org/zh/windows-10)和Windows 11中进展缓慢：2021年Windows 11发布时，许多高级选项仍会打开控制面板或旧式对话框；五年后，微软继续扩展设置应用，尽管一些高级工具和旧版配置页面仍然存在。<sup>[18](https://www.windowscentral.com/microsoft/windows-11/windows-11-2021-vs-windows-11-2026-five-years-later-how-much-has-microsofts-operating-system-really-changed)</sup>

各项功能仍在陆续迁移。2024年，Windows预览体验成员在“设置 > 系统 > 显示”下获得了全新的颜色管理设置页面，取代了此前通过颜色管理控制面板更改设置的方式。<sup>[19](https://blogs.windows.com/windows-insider/2024/02/08/announcing-windows-11-insider-preview-build-26052-canary-and-dev-channels/)</sup>2025年，微软为设置应用增加了设计升级和约16项新功能，同时弥合与控制面板之间的差距，包括将更多旧版功能从控制面板移植到“日期和时间”页面。<sup>[20](https://www.windowscentral.com/microsoft/windows-11/settings-apps-best-features-available-in-2025-on-windows-11-version-25h2-and-24h2)</sup>2026年，此前只能通过旧版控制面板实现的用户账户重命名功能被添加到设置应用中。<sup>[21](https://www.windowscentral.com/microsoft/windows-11/the-windows-control-panel-is-one-step-closer-to-death-as-account-rename-option-makes-its-way-to-windows-11s-settings-app)</sup>

尽管如此，控制面板在Windows 11中仍然可用，微软的一则支持答复称尚无彻底移除它的确定日期。<sup>[21](https://www.windowscentral.com/microsoft/windows-11/the-windows-control-panel-is-one-step-closer-to-death-as-account-rename-option-makes-its-way-to-windows-11s-settings-app)</sup><sup> • </sup><sup>[7](https://learn.microsoft.com/en-us/answers/questions/3875177/when-will-the-control-panel-be-removed-and-all-fun?forum=windows-all&page=2)</sup>一些旧版组件正被逐一淘汰；系统映像备份解决方案，也称为“备份和还原（Windows 7）”旧版控制面板，被列入了弃用的Windows功能之中。<sup>[22](https://learn.microsoft.com/en-us/windows/whats-new/deprecated-features)</sup>微软的一位CVP解释了这一做法：“当我们最终把功能都放进设置应用后，我们就会弃用控制面板中那些不再需要该功能的地方。”<sup>[23](https://www.windowscentral.com/microsoft/windows-11/control-panel-gets-tricky-microsoft-cvp-explains-why-killing-windows-legacy-code-takes-so-long-and-how-its-evolving-its-tools-to-make-modernizing-apps-like-file-explorer-and-registry-editor-faster)</sup>

## 安全相关性

控制面板的加载机制也是一种攻击技术。[MITRE ATT&CK](https://www.edgepedia.org/zh/mitre-att-and-ck)将“系统二进制代理执行：控制面板”列为子技术T1218.002：攻击者可以将恶意DLL文件的扩展名改为.cpl，并在`HKCU\Software\Microsoft\Windows\CurrentVersion\Control Panel\Cpls`下注册它们。当控制面板运行时，已注册的DLL会通过其`DllEntryPoint`被加载和运行，无论它们是否遵循CPL文件规范或提供`CPlApplet`函数；缺少`CPlApplet`导出的CPL文件无法直接运行。<sup>[4](https://attack.mitre.org/techniques/T1218/002/)</sup>

## References

1. [Windows Operating System history (PDF), Maharaja College](https://www.maharajacollege.ac.in/fileupload/uploads/67a865231bdd720250209081947Windows%20Operating%20System%20history.pdf)
2. [Implementing Control Panel Items, Microsoft Learn](https://learn.microsoft.com/en-us/windows/win32/shell/control-panel-applications)
3. [Settings vs Control Panel in Windows: Which One to Use, Windows Explained](https://windowsexplained.com/settings-vs-control-panel/)
4. [System Binary Proxy Execution: Control Panel, Sub-technique T1218.002, MITRE ATT&CK](https://attack.mitre.org/techniques/T1218/002/)
5. [ADMX_ControlPanel Policy CSP, Microsoft Learn](https://learn.microsoft.com/en-us/windows/client-management/mdm/policy-csp-admx-controlpanel)
6. [Canonical Names of Control Panel Items, Microsoft Learn](https://learn.microsoft.com/en-us/windows/desktop/shell/controlpanel-canonical-names)
7. [When will the control panel be removed and all functionality migrated to the Settings app?, Microsoft Q&A](https://learn.microsoft.com/en-us/answers/questions/3875177/when-will-the-control-panel-be-removed-and-all-fun?forum=windows-all&page=2)
8. [Microsoft Windows 3.1 SDK Programmer's Reference Volume 1 (1992), bitsavers](https://www.bitsavers.org/pdf/microsoft/windows_3.1/Microsoft_Windows_3.1_SDK_1992/PC28915-0492_Programmers_Reference_Volume_1_199204.pdf)
9. [Livingston, Windows GIZMOS (1993), bitsavers](https://www.bitsavers.org/pdf/microsoft/windows_3.1/Livingston_-_Windows_GIZMOS_1993.pdf)
10. [Introducing Microsoft Windows 95 (1995), bitsavers](https://bitsavers.computerhistory.org/pdf/microsoft/windows_95/Introducing_Microsoft_Windows_95_1995.pdf)
11. [The Windows Control Panel CPL File Format: Technical Analysis, FileTypeDB](https://filetypedb.com/system/cpl/)
12. [Windows Embedded CE 6.0 MCTS Exam Preparation Kit, Chapter 3 (PDF), Microsoft Download Center](https://download.microsoft.com/download/8/a/6/8a66a2e1-f2e1-4113-8877-514d6f668fe3/Chapter%203%20-%20Performing%20System%20Programming.pdf)
13. [Control Panel applet, viksoe.dk](https://www.viksoe.dk/code/cplapplet.htm)
14. [The Windows Concept Journey (PDF), The Learning Journey](https://thelearningjourneyebooks.com/ebooks/TheWindowsConceptJourney_v6_March2025.pdf)
15. [How to run Control Panel tools by typing a command, Microsoft Support](https://support.microsoft.com/en-us/servicing/os/windows/2017/01/how-to-run-control-panel-tools-by-typing-a-command)
16. [Windows Firewall Tools, Microsoft Learn](https://learn.microsoft.com/en-us/windows/security/operating-system-security/network-security/windows-firewall/tools)
17. [Microsoft to replace the traditional Control Panel with the Windows 10 Settings app, Windows Central](https://www.windowscentral.com/microsoft-replace-traditional-control-panel-settings-app)
18. [The Windows 11 Microsoft shipped in 2021 and the Windows 11 we have in 2026 are worlds apart, Windows Central](https://www.windowscentral.com/microsoft/windows-11/windows-11-2021-vs-windows-11-2026-five-years-later-how-much-has-microsofts-operating-system-really-changed)
19. [Announcing Windows 11 Insider Preview Build 26052, Windows Insider Blog](https://blogs.windows.com/windows-insider/2024/02/08/announcing-windows-11-insider-preview-build-26052-canary-and-dev-channels/)
20. [Windows 11 Settings app gets major upgrades in 25H2, Windows Central](https://www.windowscentral.com/microsoft/windows-11/settings-apps-best-features-available-in-2025-on-windows-11-version-25h2-and-24h2)
21. [The Windows Control Panel is one step closer to death as account rename option makes its way to Windows 11's Settings app, Windows Central](https://www.windowscentral.com/microsoft/windows-11/the-windows-control-panel-is-one-step-closer-to-death-as-account-rename-option-makes-its-way-to-windows-11s-settings-app)
22. [Deprecated features in the Windows client, Microsoft Learn](https://learn.microsoft.com/en-us/windows/whats-new/deprecated-features)
23. ["Control Panel gets tricky" Microsoft CVP explains why killing Windows legacy code takes so long, Windows Central](https://www.windowscentral.com/microsoft/windows-11/control-panel-gets-tricky-microsoft-cvp-explains-why-killing-windows-legacy-code-takes-so-long-and-how-its-evolving-its-tools-to-make-modernizing-apps-like-file-explorer-and-registry-editor-faster)

---
*Initially written Sep 17, 2026 · Reviewed: Sep 17, 2026; Oct 15, 2026 · Edited: Oct 15, 2026 · Last review: Oct 15, 2026*

Topic: 技术与人造世界 › 计算技术与数字系统 › 软件与编程 › Operating systems

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/control-panel-windows

English original: https://www.edgepedia.org/control-panel-windows
