机器一直没有打SP2的补丁。几天要安装一个程序,还非要SP2不可。没办法。居然打补丁的时候出现了这样的错误信息:
---------------------------
Service Pack 2 安装程序错误
---------------------------
Windows Server 2003 Service Pack 2 无法安装。用来安装 Microsoft Windows 的产品密钥可能无效。有关接收到此错误消息的原因和如何解决此问题的更多消息,请访问 www.howtotell.com。
---------------------------
确定
---------------------------
开始找解决的方法,功夫不负有心人。终于找到了答案:
1、新建一个记事本
2、将以下代码拷贝到其中
1 Windows Registry Editor Version 5.00 2 3 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion] 4 5 "ProductId"="69713-640-9722366-45198" 6 7 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion] 8 9 "CurrentBuild"="1.511.1 () (Obsolete data - do not use)" 10 11 "InstallDate"=dword:3f6c976d 12 13 "ProductName"="Microsoft Windows Server 2003" 14 15 "RegDone"="" 16 17 "SoftwareType"="SYSTEM" 18 19 "CurrentVersion"="5.2" 20 21 "CurrentBuildNumber"="3790" 22 23 "BuildLab"="3790.srv03_rtm.030324-2048" 24 25 "CurrentType"="Uniprocessor Free" 26 27 "ProductId"="69713-640-9722366-45198" 28 29 "DigitalProductId"=hex:a4,00,00,00,03,00,00,00,36,39,37,31,33,2d,36,34,30,2d,\ 30 31 39,37,32,32,33,36,36,2d,34,35,31,39,38,00,5a,00,00,00,41,32,32,2d,30,30,30,\ 32 33 30,31,00,00,00,00,00,00,00,00,e5,3f,e9,6a,2c,ed,25,35,12,ec,11,c9,8d,01,00,\ 34 35 00,00,00,00,37,03,6d,3f,44,22,06,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\ 36 37 00,00,00,00,00,00,00,00,00,00,00,31,32,32,32,30,00,00,00,00,00,00,00,dc,0f,\ 38 39 00,00,bf,4a,94,6c,80,00,00,00,15,18,00,00,00,00,00,00,00,00,00,00,00,00,00,\ 40 41 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,34,79,ca,d7 42 43 "LicenseInfo"=hex:71,84,c7,56,a0,d6,10,6e,70,b4,9f,e9,10,1a,1e,7a,01,a4,41,09,\ 44 45 25,20,0e,80,83,80,1f,31,27,86,64,1f,31,dc,22,af,f7,7d,aa,e4,2a,b9,e5,e3,6c,\ 46 47 e2,01,69,85,70,91,be,a7,9f,95,e5
3、存储成.reg的文件即注册表文件
4、然后双击运行它就自动导入到了注册表中了
这次在安装SP2 就没有任何问题了 。
时间: 2024-11-05 19:26:37