使用国家版权局正版化检查工具进行软件正版化检查时,根据各个单位购买的正版化软件的不同,需要将自购软件和禁用软件增加到检查清单,本文件介绍添加自定义检查软件的方法及问题处理。
一、检查清单文件介绍及修改方法
国家版权局正版化检查工具软件的配置文件为checkSoftList.ini,是文本文件,用记事本或写字板打开即可修改。原始配置如下:
[VersionInfo]
VerNum = 3[CheckInfos]
CheckType = check
CheckDescription = 检测类别
CheckMatch = 0;;软件信息总个数,如有新增,需注意修改此处。
CheckCount = 5
;操作系统
Info0 = OS
;办公软件
Info1 = OFFICE
;杀毒软件
Info2 = AV
;工业设计软件
Info3 = CAD
[OSInfos]
OSType = os
OSDescription = 操作系统
OSMatch = 0;;软件信息总个数,如有新增,需注意修改此处。
OSCount = 1
Info0 = Windows
[OFFICEInfos]
OFFICEType = office
OFFICEDescription = 办公软件
OFFICEMatch = 0;;软件信息总个数,如有新增,需注意修改此处。
OFFICECount = 6
Info0 = Microsoft Office
Info1 = WPS Office
Info2 = 永中Office
Info3 = RedOffice
Info4 = 中标普华 Office
Info5 = Microsoft 365[AVInfos]
AVType = av
AVDescription = 杀毒软件
AVMatch = 0;;软件信息总个数,如有新增,需注意修改此处。
AVCount = 10
Info0 = 电脑管家
Info1 = 360杀毒
Info2 = 江民杀毒软件
Info3 = 金山毒霸
Info4 = 360安全卫士
Info5 = Norton Security
Info6 = Kaspersky Internet Security
Info7 = McAfee
Info8 = 瑞星杀毒软件
Info9 = 趋势科技[CADInfos]
CADType = cad
CADDescription = 工业软件
CADMatch = 0;;软件信息总个数,如有新增,需注意修改此处。
CADCount = 25
Info0 = AutoCAD
Info1 = Autodesk Revit
Info2 = Autodesk 3ds Max
Info3 = ZWCAD
Info4 = ZW3D
Info5 = GCAD
Info6 = Catia
Info7 = SOLIDWORKS
Info8 = PTC Creo
Info9 = Siemens NX
Info10 = Siemens Solid Edge
Info11 = CADWorx Plant
Info12 = Hoteam
Info13 = CAXA CAD
Info14 = 中望CAD
Info15 = 浩辰CAD
Info17 = Dassault Systemes Software
Info18 = SINOVATION
Info19 = BricsCAD
Info20 = 华天CAD
[AdditionalInfos]
AdditionalType = additional
AdditionalDescription = 辅助检测特征
AdditionalMatch = 0;;软件信息总个数,如有新增,需注意修改此处。
AdditionalCount = 5
;;格式=名称,版本,注册表路径,路径KEY值,子目录,EXE名称,GUID,
Info0 = 浩辰CAD,2017,SOFTWARE\GstarSoft\GstarCAD\R17\zh-cn,LOCATION, ,gcad.exe, ,
Info1 = 浩辰CAD,2018,SOFTWARE\GstarSoft\GstarCAD\R18\zh-cn,LOCATION, ,gcad.exe, ,
Info2 = 浩辰CAD,2019,SOFTWARE\GstarSoft\GstarCAD\R19\zh-cn,LOCATION, ,gcad.exe, ,
Info3 = 浩辰CAD,2020,SOFTWARE\GstarSoft\GstarCAD\R20\zh-cn,LOCATION, ,gcad.exe, ,
[WPSFeatureInfos]
WPSFeatureType = WPSFeature
WPSFeatureDescription = WPS辅助检测特征
WPSFeatureMatch = 0WPSFeatureCount =5
Info0 = 个人版,11.1.0.9828,11.1.0.9740,11.1.0.9662,11.1.0.9584,11.1.0.9564,11.1.0.9513,11.1.0.9501,11.1.0.9339,11.1.0.9098,11.1.0.9329,11.1.0.9175,11.1.0.8919,11.1.0.8822,11.1.0.8765,11.1.0.8696,11.1.0.8597,11.1.0.8201,11.1.0.8013,11.1.0.8002,11.1.0.7989,11.1.0.9739,11.1.0.9912,11.1.0.8412,11.1.0.10314,
Info1 = 教育版,11.1.0.820,11.3.0.9228,
Info2 = 专业版,11.8.2.8875,11.8.6.8697,11.8.2.8053,11.8.2.9067,
Info3 = 云协作,1.1.0.0175,1.2.1.10,1.2.3.75,1.2.4.14,1.3.0.22,1.3.1.21,1.3.2.19,1.3.3.11,1.3.4.17,1.5.0.23,
Info4 = 专业增强版,11.2.0.9453,10.8.2.6837,11.8.2.8576[OfficeFeatureInfos]
OfficeFeatureType = OfficeFeature
OfficeFeatureDescription = Office辅助检测特征
OfficeFeatureMatch = 0OfficeFeatureCount =5
Info0 = 个人版,
Info1 = 教育版,
Info2 = 专业版,
Info3 = 云协作,[OSFeatureInfos]
OSFeatureType = OSFeature
OSFeatureDescription = OS辅助检测特征
OSFeatureMatch = 0OSFeatureCount =25
Info0 = 专业版,Professional,Pro,
Info1 = 旗舰版,Ultimate,
Info2 = 企业版,Enterprise,Enterprise Edition,
Info3 = 家庭高级版,HomePremium,Home Premium,
Info4 = 家庭普通版,HomeBasic,Home Basic,
Info5 = 家庭版,Home,
Info6 = 初级版,Starter,
Info7 = 教育版,Education,
Info8 = 移动版,Mobile,
Info9 = 企业移动版,Mobile Enterprise,
Info10 = 家庭中文版,Home China,
Info11 = 单语言家庭版,home single language,
Info12 = 商业版,Buiness,
Info13 = 标准版,Standard,Standard Edition,
Info14 = 中文版,China,
Info15 = 核心板,Core,
Info16 = 服务器版,Server,
Info17 = 高级服务器版,Advanced server,
Info18 = WEB版,Web Edition,
Info19 = 数据中心版,Datacenter Edtiion,
Info20 = 小型企业版,Small Business Edition,
Info21 = 特定国家版,CoreCountrySpecific,
Info22 = 单语言版,CoreSingleLanguage,[ExcludeFeatureInfos]
ExcludeFeatureType = excludeFeature
ExcludeFeatureDescription = 排除特征
ExcludeFeatureMatch = 0;;信息总个数,如有新增,需注意修改此处。
ExcludeFeatureCount = 50
Info0 = 语言包
Info1 = Language
Info2 = 针对
Info3 = 插件
Info4 = VBA
Info6 = Enabler
Info7 = Desktop
Info8 = IME
Info9 = Libraries
Info10 = Model
Info11 = eTransmit
Info12 = Accelerator
Info13 = Monitor
Info14 = Interoperability
Info15 = SDK
Info16 = Components
Info17 = MUI
Info18 = Shared
Info19 = Print
Info20 = Content
Info21 = Apps
Info22 = Help
Info23 = License
Info24 = Prerequisites
Info25 = Tools
Info26 = 工具
Info27 = Boost
Info28 = Utilities
Info29 = Client
Info30 = Proofing
Info31 = Agent
Info32 = Thumbnail
Info33 = Access
Info34 = Outlook
Info35 = Project
Info36 = Visio
Info37 = Publisher
Info38 = Picture
Info39 = Sharepoint
Info40 = Infopath
Info41 = Update
Info42 = Developer
Info43 = Resources
Info44 = View
Info45 = Proof
Info46 = Pack[LanguageInfos]
LanguageFeatureType = languageFeature
LanguageFeatureDescription = 语言特征
LanguageFeatureMatch = 0;;信息总个数,如有新增,需注意修改此处。
LanguageFeatureCount = 20
info1 = zh-cn
info2 = en-us
info3 = zh-hk
info4 = zh-tw
info5 = en-hk
info6 = en-gb
info7 = en-ww
info8 = ko-kr
info9 = ja-jp
info10 = fr-fr
info11 = es-es
info12 = de-de
info13 = it-it
info14 = ru-ru
info15 = el-gr
添加待检查软件,就是对这个配置文件进行修改。
为了方便,以添加杀毒软件火绒、360天擎、金山毒霸企业版、亚信杀毒软件为例,在AV检查段进行添加:
....
;;软件信息总个数,如有新增,需注意修改此处。
AVCount = 14
Info0 = 电脑管家
Info1 = 360杀毒
Info2 = 江民杀毒软件
Info3 = 金山毒霸
Info4 = 360安全卫士
Info5 = Norton Security
Info6 = Kaspersky Internet Security
Info7 = McAfee
Info8 = 瑞星杀毒软件
Info9 = 趋势科技Info10 = 火绒
Info11 = 360天擎
Info12 = 金山安全终端
Info13 = 端点安全管理系统客户端....
注意就是上面AVCount = 的总数要和下面的关键字项Info*的(0-13即有14个)总和一致,关键字项的值应是要检查的软件在控制面板-添加删除程序中的名字,如亚信防病毒软件的关键字为:
二、配置文件的替换使用和问题处理
1、单机版
直接用修改后的配置文件替换原配置文件,运行检查工具即可:
2、网络版
- 服务器端:管理员需用最新的checkSoftList.ini替换系统平台安装后的默认checkSoftList.ini文件(可用Windows的搜索来查找,如果管理机是win10一般在:“C:\Program Files (x86)\正版软件检查工具网络版V2.1\SoftwareInspect”目录下)
- 客户端:在安装客户端后需删除系统默认安装的checkSoftList.ini文件(删除后系统会自动下发新的),以下为本人编写的bat自动删除代码:
@echo off
rem by daijianbing 2023.6.14
echo 正版化检查软件配置文件清理工具
for /d %%i in (C:\Users\*) do (
if exist %%i\AppData\Roaming\SoftwareInspect\checkSoftList.ini (
echo del %%i\AppData\Roaming\SoftwareInspect\checkSoftList.ini
del /f /s /q %%i\AppData\Roaming\SoftwareInspect\checkSoftList.ini
echo %%i\AppData\Roaming\SoftwareInspect\checkSoftList.ini has been cleaned
)
)
echo 完成清理,请关闭本窗口
pause
将代码存为 DeleteCheckSoftListFile.bat,分发给各个客户端。
注意客户端新装后,需要执行DeleteCheckSoftListFile.bat。服务端更新checkSoftList.ini后,客户端也需重新执行DeleteCheckSoftListFile.bat。