蓝色动力网络

 找回密码
 立即注册

扫一扫,访问微社区

QQ登录

只需一步,快速开始

查看: 5022|回复: 1

Windows XP 精简备忘录

[复制链接]
发表于 2009-4-10 12:35:28 | 显示全部楼层 |阅读模式
******************************************************************************************************************************
我系统是用在办公方面的,所以繁、韩、日文偶尔会遇到,我一般都会保留!
但是输入法我只保留智能ABC5.0和微软全拼5.0版,其它全干掉!

;_________________________________精简语言开始__________________________________

;1.系统语言只保留:
Simplisied Chinese_____简体中文
Traditional Chinese____台湾繁体中文
Korean_____________韩文
Japanese___________日文
;其它全精简掉!

;2.移除XP删除额外字体,这个列表也是网上搬下来的,移除后对系统无影响
ahronbd.ttf
andlso.ttf
angsa.ttf
angsab.ttf
angsai.ttf
angsau.ttf
angsaub.ttf
angsaui.ttf
angsauz.ttf
angsaz.ttf
artrbdo.ttf
artro.ttf
browa.ttf
browab.ttf
browai.ttf
browau.ttf
browaub.ttf
browaui.ttf
browauz.ttf
browaz.ttf
cordia.ttf
cordiab.ttf
cordiai.ttf
cordiau.ttf
cordiaub.ttf
cordiaui.ttf
cordiauz.ttf
cordiaz.ttf
david.ttf
davidbd.ttf
davidtr.ttf
estre.ttf
frank.ttf
gautami.ttf
kartika.ttf
latha.ttf
lvnm.ttf
lvnmbd.ttf
mangal.ttf
mriam.ttf
mriamc.ttf
mriamfx.ttf
mriamtr.ttf
nrkis.ttf
raavi.ttf
rod.ttf
rodtr.ttf
shruti.ttf
simpbdo.ttf
simpfxo.ttf
simpo.ttf
sylfaen.ttf
tradbdo.ttf
trado.ttf
tunga.ttf
upcdb.ttf
upcdbi.ttf
upcdi.ttf
upcdl.ttf
upceb.ttf
upcebi.ttf
upcei.ttf
upcel.ttf
upcfb.ttf
upcfbi.ttf
upcfi.ttf
upcfl.ttf
upcib.ttf
upcibi.ttf
upcii.ttf
upcil.ttf
upcjb.ttf
upcjbi.ttf
upcji.ttf
upcjl.ttf
upckb.ttf
upckbi.ttf
upcki.ttf
upckl.ttf
upclb.ttf
upclbi.ttf
upcli.ttf
upcll.ttf
vrinda.ttf

;3.移除LANG目录一些无用的文件
VGA950.FON
VGA949.FON
VGA932.FON
S8514SYS.FON
S8514OEM.FON
S8514FIX.FON
MSMINCHO.TTC
JVGASYS.FON
JVGAFIX.FON
JSMALLF.FON
JSMALLE.FON
J8514SYS.FON
J8514OEM.FON
J8514FIX.FON
HVGASYS.FON
HVGAFIX.FON
H8514SYS.FON
H8514OEM.FON
H8514FIX.FON
CVGASYS.FON
CVGAFIX.FON
C8514SYS.FON
C8514OEM.FON
C8514FIX.FON
BATANG.TTC
APP950.FON
APP949.FON
APP932.FON
msir3jp.lex
korwbrkr.lex
chsbrkr.dll
chtbrkr.dll
msir3jp.dll
korwbrkr.dll
ftlx0411.dll
noise.cht
noise.jpn
noise.kor

;4.删除无用的代码页
wbcache.nld
noise.nld
wbdbase.nld
c_10006.nls
c_10007.nls
c_10010.nls
c_10017.nls
c_10021.nls
c_10079.nls
c_10081.nls
c_10082.nls
c_1026.nls
c_1047.nls
c_1142.nls
c_1143.nls
c_1149.nls
c_1250.nls
c_1251.nls
c_1254.nls
c_1255.nls
c_1256.nls
c_1257.nls
c_1258.nls
c_20107.nls
c_20108.nls
c_20277.nls
c_20278.nls
c_20420.nls
c_20423.nls
c_20424.nls
c_10005.nls
c_20880.nls
c_20905.nls
c_20924.nls
c_21025.nls
c_21866.nls
c_28592.nls
c_28593.nls
c_28594.nls
c_28595.nls
c_28596.nls
c_28597.nls
c_28598.nls
c_28599.nls
c_28603.nls
c_28605.nls
c_708.nls
c_720.nls
c_737.nls
c_775.nls
c_850.nls
c_852.nls
c_855.nls
c_857.nls
c_858.nls
c_861.nls
c_862.nls
c_864.nls
c_865.nls
c_874.nls
c_10004.nls
c_037.nls
c_20871.nls

;_________________________________精简输入法开始__________________________________
;键盘全部精简掉
;一、**********************简体中文输入法**********************
;[IME.LGFiles.Install.CHS]此处只保留了微软全拼输入法和智能ABC5.0版
WINGB.IME
;WINPY.IME
;WINPY.MB
WINSP.IME
WINSP.MB
WINZM.IME
WINZM.MB

;[CHS_PYIME_SYSTEM]默认输入法的主文件
PINTLGNT.IME
PINTLPAD.HLP
PINTLPAE.HLP

;[CHS_PYIME]微软拼音输入法的所有文件
PINTLPHR.EXE
PMIGRATE.DLL
IMSCINST.EXE
PINTLGC.IMD
PINTLGD.IMD
PINTLGDX.IMD
PINTLGI.IMD
PINTLGIX.IMD
PINTLGL.IMD
PINTLGNE.CHM
PINTLGNT.CHM
PINTLGR.IMD
PINTLGS.IMD

;[CHS_PYIME_HELP]微软拼音帮助文件
PINTLPAD.CHM
PINTLPAE.CHM

;[CHS_PYIME_APPLETS]微软拼音的附加文件
PINTLCSD.DIC
PINTLCSK.DIC
PINTLCSA.DLL
PINTLCSD.DLL

;[CHS_PYIME_SHARED_RS]微软拼音的共享文件
padrs804.dll

;[CHS_IME_HELP]内码、全拼、双拼、郑码输入法帮助文件
wingb.chm
winime.chm
winpy.chm
winsp.chm
winzm.chm


;二、**********************繁体输入法************************
;[IME.LGFiles.Install.CHT]所有常用繁体中文输入法 所需要的文件
a15.tbl
a234.tbl
acode.tbl
msdayi.tbl
dayiptr.tbl
dayiphr.tbl
phon.tbl
phoncode.tbl
phonptr.tbl
lcptr.tbl
lcphrase.tbl
chajei.ime
phon.ime
dayi.ime
romanime.ime
uniime.dll
winime.ime
unicdime.ime
miniime.tpl
quick.ime
winar30.ime
arphr.tbl
arptr.tbl
array30.tab
arrayhw.tab

;[CHT_PHIME_SYSTEM]默认输入法的主文件
TINTLGNT.IME

;[CHT_PHIME]微软拼音输入法的所有文件
PHHLP.CHM
PHHLP.CNT
PHHLP.HLP
PHHLPEN.CHM
PHHLPEN.CNT
PHHLPEN.HLP
TINTLGC.IMD
TINTLGL.IMD
TINTLGS.IMD
TINTLGD_.IMD
TINTLPHR.EXE
TINTSETP.EXE
TMIGRATE.DLL

;[CHT_PHIME_APPLETS]微软拼音的附加文件
CHTAPT.CHM
CHTAPT.HLP
CHTAPTEN.HLP
CHTPADEN.CHM
CHTMBX.DLL
CHTSKDIC.DIC
CHTSKDIC.DLL
CHTSKF.DLL
HWXCHT.DLL

;[CHT_PHIME_SHARED_RS]仓吉输入法的主文件
PADRS404.DLL

;[CHT_CJIME_SYSTEM]仓吉输入法的主文件
CINTLGNT.IME

;[CHT_CJIME]仓吉输入法的所有文件
CINTIME.DLL
CINTLGB.IMD
CINTLGD.IMD
CINTLGL.IMD
CINTLGS.IMD
CINTLGU.IMD
CINTLGIE.IMD
CINTLGSI.IMD
CINTLGUC.IMD
CINTLGNT.CHM
CINTLGNT.CNT
CINTLGNT.HLP
CJHLPEN.CHM
CJHLPEN.CNT
CJHLPEN.HLP
CINTSETP.EXE

;三、***********************日文输入法***********************
;[JPN_IME];日文输入法文件
cplexe.exe
imjpcic.dll
imjpcus.dll
imjpdct.dll
imjpdct.exe
imjprw.exe
imjpuex.exe
imjputy.exe
imjputyc.dll
imjpinst.exe
imjpinst.ini
imjpmig.exe
imjpdsvr.exe
imjpdadm.exe

;[JPN_IME_DICTS]
imjpch.dic
imjpcd.dic
imjpln.dic
imjpnm.dic
imjpsb.dic
imjpst.dic
imjptk.dic
imjpzp.dic
imjpgn.grm

;[JPN_IME_APPLETS]日文输入法附加文件
hwxjpn.dll
imskdic.dll
imskf.dll
multibox.dll
softkey.dll
voicepad.dll
voicesub.dll

;[JPN_IME_SYSTEM_INSTALL]日文输入法主安装文件
imjp81.ime
imjp81k.dll
kbdjpn.dll
kbd101.dll
kbdax2.dll
kbd106.dll
kbd106n.dll
kbdibm02.dll
f3ahvoas.dll
kbdnec.dll
kbdnecNT.dll
kbdnec95.dll
kbdnecAT.dll
kbdlk41a.dll
kbdlk41j.dll

;[JPN_IME_HELP]日文输入法帮助文件
jpnpaden.chm
imjpcl.chm
imjpcl.hlp
imjpcle.chm
imjpcle.hlp
imjpdt.chm
imjpdte.chm
imjppd.chm
imjpsm.chm
imjpsm.hlp
imjpsme.chm
imjpsme.hlp
imjptu.chm
voiceeng.chm
voicejp.chm

;[EA_IME_SHARED]日文输入法共享文件
imlang.dll
imepadsv.exe
imepadsm.dll
imepaden.hlp

;[JPN_IME_SHARED_RC]日文输入法主文件
padrs411.dll

;四、***********************韩文输入法***********************
;[KOR_IME]韩文输入法文件
imekrcic.dll
imkrinst.exe
imkrinst.ini
imekrmig.exe

;[KOR_IME_HELP]韩文输入法帮助文件
imkr61.chm
imkren61.chm
korpaden.chm
impdko61.chm
imkr61.hlp
imkren61.hlp

;[KOR_IME_DICTS]
hanjadic.dll
hanja.lex
imekr.lex

;[KOR_IME_APPLET]韩文输入法附加文件
imekrmbx.dll
hwxkor.dll

;[KOR_IME_SYSTEM_INSTALL]韩文输入法主安装文件
imekr61.ime
kbd101a.dll
kbdkor.dll
kbd101b.dll
kbd101c.dll
kbd103.dll

;[KOR_IME_SHARED_RC]韩文输入法共享文件
padrs412.dll

;五、移除四个多余IME目录下的文件和多余输入法多余文件
mscandui.dll
sptip.dll
softkbd.dll
spgrmr.dll
agt0411.dll
agt0411.hlp
agt0412.dll
agt0412.hlp
agt0404.dll
agt0404.hlp
agt0804.dll
agt0804.hlp

;_________________________________精简输入法结束__________________________________


;_________________________________下面是一些后处理__________________________________

;六、精简输入法后处理,避免输入法管理器显示空白设置!
;1、Nlite完成后,LANG目录删掉:
SIMSUN.TT_
SIMHEI.TT_
winpy.im_
winpy.mb_
svgafix.fo_
svgasys.fo_
app936.fo_
vga936.fo_


删掉的文件,在I386同时存在,所以留着是占用空间!
只保留三个文件msgothic.tt_、gulim.tt_、mingliu.tt_即可支持繁、韩、日文网页和游戏!

; 2、打开intl.inf注释或删掉


[SourceDisksFiles]
;mscreate.dir = 7,,,,,,,0,0
msgothic.ttc = 7,,,,,,,0,0
;imkrinst.inf = 7,,,,,,,0,0
gulim.ttc = 7,,,,,,,0,0
mingliu.ttc= 7,,,,,,,0,0
;simsun.ttc= 7,,,,,,,0,0
;simhei.ttf= 7,,,,,,,0,0
;svgafix.fon= 7,,,,,,,0,0
;svgasys.fon= 7,,,,,,,0,0
;app936.fon= 7,,,,,,,0,0
;vga936.fon= 7,,,,,,,0,0
;winpy.ime = 107,,,,,,,0,0
;winpy.mb= 7,,,,,,,0,0
;如果还想进一步精简此文件,可以把多余的[XXXXX]和空格也删掉!

;2、打开Hivesys.inf,处理精简输入法文件后,留下来的注册表信息,注释或删掉:
;HKLM,"SYSTEM\CurrentControlSet\Control\Keyboard Layouts\00010409","Layout File",0x00000002,"KBDDV.DLL"
;HKLM,"SYSTEM\CurrentControlSet\Control\Keyboard Layouts\00010409","Layout Id",0x00000002,"0002"
;HKLM,"SYSTEM\CurrentControlSet\Control\Keyboard Layouts\00010409","Layout Text",0x00000002,"%US_DVORAK%"

;HKLM,"SYSTEM\CurrentControlSet\Control\Keyboard Layouts\00020409","Layout File",0x00000002,"KBDUSX.DLL"
;HKLM,"SYSTEM\CurrentControlSet\Control\Keyboard Layouts\00020409","Layout Id",0x00000002,"0001"
;HKLM,"SYSTEM\CurrentControlSet\Control\Keyboard Layouts\00020409","Layout Text",0x00000002,"%US_INTERNATIONAL%"

;HKLM,"SYSTEM\CurrentControlSet\Control\Keyboard Layouts\00030409","Layout File",0x00000002,"KBDUSL.DLL"
;HKLM,"SYSTEM\CurrentControlSet\Control\Keyboard Layouts\00030409","Layout Id",0x00000002,"001A"
;HKLM,"SYSTEM\CurrentControlSet\Control\Keyboard Layouts\00030409","Layout Text",0x00000002,"%US_DVORAK_FOR_LEFT_HAND%"

;HKLM,"SYSTEM\CurrentControlSet\Control\Keyboard Layouts\00040409","Layout File",0x00000002,"KBDUSR.DLL"
;HKLM,"SYSTEM\CurrentControlSet\Control\Keyboard Layouts\00040409","Layout Id",0x00000002,"001B"
;HKLM,"SYSTEM\CurrentControlSet\Control\Keyboard Layouts\00040409","Layout Text",0x00000002,"%US_DVORAK_FOR_RIGHT_HAND%"


;HKLM,"SYSTEM\CurrentControlSet\Control\Keyboard Layouts\E0020804","Layout File",0x00000000,"kbdus.dll"
;HKLM,"SYSTEM\CurrentControlSet\Control\Keyboard Layouts\E0020804","Layout Text",0x00000000,"%KLT_74%"
;HKLM,"SYSTEM\CurrentControlSet\Control\Keyboard Layouts\E0020804","IME File",0x00000000,"winsp.ime"

;HKLM,"SYSTEM\CurrentControlSet\Control\Keyboard Layouts\E0030804","Layout File",0x00000000,"kbdus.dll"
;HKLM,"SYSTEM\CurrentControlSet\Control\Keyboard Layouts\E0030804","Layout Text",0x00000000,"%KLT_75%"
;HKLM,"SYSTEM\CurrentControlSet\Control\Keyboard Layouts\E0030804","IME File",0x00000000,"winzm.ime"

;HKLM,"SYSTEM\CurrentControlSet\Control\Keyboard Layouts\E0050804","Layout File",0x00000000,"kbdus.dll"
;HKLM,"SYSTEM\CurrentControlSet\Control\Keyboard Layouts\E0050804","Layout Text",0x00000000,"%KLT_77%"
;HKLM,"SYSTEM\CurrentControlSet\Control\Keyboard Layouts\E0050804","IME File",0x00000000,"wingb.ime"

;HKLM,"SYSTEM\CurrentControlSet\Control\Keyboard Layouts\E00E0804","Layout File",0x00000000,"kbdus.dll"
;HKLM,"SYSTEM\CurrentControlSet\Control\Keyboard Layouts\E00E0804","Layout Text",0x00000000,"%KLT_91%"
;HKLM,"SYSTEM\CurrentControlSet\Control\Keyboard Layouts\E00E0804","IME File",0x00000000,"pintlgnt.ime"


;3、预加载输入法,打开Hivedef.inf,查找Preload,把它修改为:
;美式中文键盘
HKCU,"Keyboard Layout\Preload","1",0x00000002,"00000804"
;智能ABC5.0版 (智能ABC5.22版的代码为E0210804)
HKCU,"Keyboard Layout\Preload","2",0x00000002,"E0040804"
;全拼输入法
HKCU,"Keyboard Layout\Preload","3",0x00000002,"E0010804"
;其它的删掉!

; 4、处理精简输入法后留下的空白的IME目录
删掉TXTSETUP.SIF中的:
127 = ime
130 = ime
132 = ime\imejp
133 = System32\IME\PINTLGNT
134 = System32\IME\CINTLGNT
135 = System32\IME\TINTLGNT
136 = IME\CHTIME\Applets
137 = ime\imejp98
138 = ime\imejp\applets
204 = System32\IME\PINTLGNT
205 = IME\CHSIME\APPLETS
220 = IME\SHARED
221 = IME\SHARED\RES

删除后就不会在windows以及system32下生成ime目录


有人反应 LAYOUT.INF中的也有相关代码,但是不建议修改这个文件,因为目前位置nLite还不敢动这个文件,只要修改,USB就会有问题。



删除LAYOUT.INF中的:
WINGB.CHM = 1,,,,,,,21,0,0
WINGB.IME = 1,,,,,,,2,0,0
WINIME.CHM = 1,,,,,,,21,0,0
WINPY.CHM = 1,,,,,,,21,0,0
WINPY.IME = 100,,156672,,,,,2,0,0 (全拼输入法文件,前面是保留的,所以这里也保留)
WINPY.MB = 1,,,,,,,2,0,0     (全拼输入法文件,前面是保留的,所以这里也保留)
WINSP.CHM = 1,,,,,,,21,0,0
WINSP.IME = 100,,156672,,,,,2,0,0
WINSP.MB = 1,,,,,,,2,0,0
WINZM.CHM = 1,,,,,,,21,0,0
WINZM.IME = 100,,156672,,,,,2,0,0
WINZM.MB = 1,,,,,,,2,0,0
PINTLGNT.IME = 100,,482304,,,,,2,0,0
PINTLPHR.EXE = 100,,70144,,,,,204,0,0
IMSCINST.EXE = 100,,59392,,,,,204,0,0
PMIGRATE.DLL = 100,,67584,,,,,204,0,0
PINTLGC.IMD = 100,,188140,,,,,204,0,0
PINTLGD.IMD = 100,,825038,,,,,204,0,0
PINTLGDX.IMD = 100,,867242,,,,,204,0,0
PINTLGI.IMD = 100,,948656,,,,,204,0,0
PINTLGIX.IMD = 100,,1004904,,,,,204,0,0
PINTLGL.IMD = 100,,208744,,,,,204,0,0
PINTLGNE.CHM = 100,,114148,,,,,204,0,0
PINTLGNT.CHM = 100,,96585,,,,,204,0,0
PINTLGR.IMD = 100,,733292,,,,,204,0,0
PINTLGS.IMD = 100,,10011497,,,,,204,0,0
PINTLCSD.DIC = 100,,174803,,,,,205,0,0
PINTLCSK.DIC = 100,,487472,,,,,205,0,0
PINTLCSA.DLL = 100,,175104,,,,,205,0,0
PINTLCSD.DLL = 100,,53760,,,,,205,0,0
PINTLPAD.CHM = 1,,,,,,,21,0,0
PINTLPAD.HLP = 1,,,,,,,2,0,0
PINTLPAE.CHM = 1,,,,,,,21,0,0
PINTLPAE.HLP = 1,,,,,,,2,0,0
imepadsm.dll = 7,,,,,,,220,0,0
imepadsv.exe = 7,,,,,,,220,0,0
imlang.dll = 107,,102456,,,,,220,0,0
imepaden.hlp = 7,,,,,,,220,0,0
padrs804.dll = 100,,15360,,,,,221,0,0
ChsBrKr.dll = 1,,,,,,,2,0,0
noise.chs = 1,,1696,,,,_x,2,0,0
noise.cht = 1,,1696,,,,_x,2,0,0

文件都精简掉了,这里居然还留着,看来nlite1.3RC处理出来的东西还是不完善!

;七、最少文件实现Windows,DOS,光盘安装三种安装方式

;1.前提是nLite保留 (操作系统选项-手动安装和升级) 把下面列表添加到nlite移除框
OSC.CAB
SETUPACC.TXT
WINNT32.HLP
WINNT32.MSI
WINNT32A.DLL
WINNTBBA.DLL
WSDU.DLL
dwup.inf
iconlib.dll
lnkstub.exe
mdmssys.inf
migisol.exe
migpwd.exe
oschoice.exe
reminst.inf
rinorprt.sif
ristndrd.sif
setupldr.exe
startrom.com
startrom.n12
w95upgnt.dll
welcome.osc
miglibnt.dll


;2.nlite完成后,处理DOS升级安装的文件目录,把下面另存DOS.CMD 放在与I386同级目录
;运行它,你再看下你的I386目录大小,有什么变化.^_^

Copy code
echo 处理DOS升级安装的文件目录
cd i386
md COMPDATA-1
md WINNTUPG-1
xcopy COMPDATA\DRVMAIN.INF COMPDATA-1
xcopy COMPDATA\NTCOMPAT.INF COMPDATA-1
xcopy WINNTUPG\NETMAP.INF WINNTUPG-1
xcopy WINNTUPG\NETUPGRD.DLL WINNTUPG-1
rd /q /s WIN9XMIG
rd /q /s WIN9XUPG
rd /q /s WINNTUPG
rd /q /s COMPDATA
rd /q /s DRW
ren COMPDATA-1 COMPDATA
ren WINNTUPG-1 WINNTUPG
exit



;八、其它额外精简项目

;1.删除四个OEMBIOS文件,为光盘省下12M空间!
oembios.bin
oembios.cat
oembios.dat
oembios.sig
;要使用替换破解过的WINLOGON.EXE替换原文件!
;还要添加一注册表条目解决后续问题,在HIVEDEF.INF的[AddReg]字段 加入:
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\WPAEvents","OOBETimer",0x1,ff,d5,71,d6,8b,6a,8d,6f,d5,33,93,fd


;2.既精简掉搜索助手,又不丧失搜索功能!
;前提是nLite保留 (操作系统选项-搜索助手),移除:
msgr3en.dll
nls302en.lex
courtney.acs
earl.acs
rover.acs


;修改SRCHASST.INF
;删掉msgr3en.dll,,,32、nls30 2en.lex,,,32、courtney.acs,,,32、earl.acs,,,32、rover.acs,,,32这五行再压缩回去.



;3.为了避免安装在T13时出现"无法加截配置信息ICFGNT.DLL文件",把(网络组件-Internet 连接向导)也精简掉喔!
发表于 2009-4-11 23:28:44 | 显示全部楼层
不错,收藏
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

蓝色动力网络微信平台
网站管理,业务合作联系邮箱: admin#lansedongli.com    QQ:13412492 限网站业务问题.
网站帐号、密码、密保找回请使用注册邮箱,发送邮件至 password#lansedongli.com ,否则不予受理.
免责声明:本论坛所有文字和图片仅代表其个人观点.
本站某些资料或文章来自于互联网,不代表本站观点,如果侵犯了您的权益,请来信告知,我们会在三天内删除.
为了给大家一个更好的交流场所,请勿在本论坛发表与中华人民共和国法律相抵触的言论,请合作,谢谢!
Copyright © 2007-2019 Corporation Powered by网吧系统 版权所有    转载请注明!
浙ICP备11043737号-1 程序:Discuz! x3.4

湘公网安备 43018102000145号

手机版|Archiver|蓝色动力网络   

快速回复 返回顶部 返回列表