有关Win2000 Pro and win200 Svr的问题

fazhu 2002-04-03 04:09:28
注册表中的那个地方能判断装的是win2000 Profesional,还是win2000 Server
...全文
55 6 打赏 收藏 转发到动态 举报
写回复
用AI写文章
6 条回复
切换为时间正序
请发表友善的回复…
发表回复
SeanSJ 2002-04-03
  • 打赏
  • 举报
回复
aznarble(aznarble) 的回复很详细,我觉得很好!
chdd 2002-04-03
  • 打赏
  • 举报
回复
大家说的都对。:)
hblfknight 2002-04-03
  • 打赏
  • 举报
回复
开始-程序-管理工具中server的内容很丰富的(默认安装)
rivershan 2002-04-03
  • 打赏
  • 举报
回复
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion,右面的子键,Version、ProductName、VersionNumber都可以看出来的!
aznarble 2002-04-03
  • 打赏
  • 举报
回复
Resource Kit原文:

ProductType
HKLM\SYSTEM\CurrentControlSet\Control\ProductOptions

Data type Range Default value
REG_SZ Platform identifier Windows 2000 Professional: WinNT
Windows 2000 Server: ServerNT or LanmanNT

Description
Stores data that identifies the operating system platform running on the computer. This data lets programs identify and customize their features to the platform.

In Windows 2000, the following entries identify the platform options.

Value Meaning
WinNT Windows 2000 Professional
ServerNT Windows 2000 Server
LanmanNT Windows 2000 Server

Tip

To view this data, programs can use the GetVersionEx and VerifyVersionInfo application programming interfaces.

Caution

Do not delete this entry or change its value. This entry stores protected operating system data. Editing this data violates your Windows 2000 licensing agreement and disqualifies you from receiving Microsoft Product Support Services service. If programs try to change the data, the system stops abnormally and displays a blue screen.


--------------------------------------------------------------------------------
Send feedback to MSDN.Look here for MSDN Online resources.
aznarble 2002-04-03
  • 打赏
  • 举报
回复
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ProductOptions::ProductType

该值为REG_SZ类型,以下是列举值。

WinNT:此系统为Windows 2000 Professoinal
ServerNT:此系统为Windows 2000 Server,为成员服务器或独立服务器
LanmanNT:此系统为Windows 2000 Server,并且是域控制器DC。

有关详细信息,你可以参照Windows 2000 Resource Kit的Registry Reference。

在程序中,你可以使用Windows API函数GetVersionEx(),可以得到详细的操作系统信息,详细用法可以参照MSDN Library。

6,850

社区成员

发帖
与我相关
我的任务
社区描述
Windows 2016/2012/2008/2003/2000/NT
社区管理员
  • Windows Server社区
  • qishine
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧