PerkinElmer Informatics Support Forum
Decrease font size
Increase font size
Topic Title: 当执行命令“wmic diskdrive get serialnumber”来试图获取主机ID时,在Windows7下出现了“Invalid XML content”错误提示。
Topic Summary: Host ID、wmic diskdrive get serialnumber、Invalid XML content
Created On: 8/19/2019 1:16 AM
Status Post and Reply
Linear : Threading : Single : Branch
Topic Tools Topic Tools
View topic in raw text format. Print this topic.
 8/19/2019 1:16 AM
User is offline View Users Profile Print this message


Felix

Posts: 3
Joined: 2/1/2011

问题:
当执行命令“wmic diskdrive get serialnumber”来试图获取主机ID时,在Windows7下出现了Invalid XML content”错误提示。

回答:
出现此问题是因为XML解析器将某些驱动器序列号中包含的控制字符视为无效字符。
请参考并遵循以下链接中的说明来解决此问题。
https://support.microsoft.com/...-wmic-command-in-windo

FuseTalk Basic Edition v4.0 - © 1999-2019 FuseTalk Inc. All rights reserved.