[分享]幫pe加上微軟輸入法
2023-12-16 742

pe從無到有,執行8大的BATCH檔就有,簡單加上UCBrowser, wget, yong足矣。說實在yong打注音不是很方便,所以產生加微軟新注音的念頭,剛好看到Add Input Method Editor (IME) to Windows PE這篇文章,摘錄2個重點(僅繁中適用,該篇亦有提及簡中日韓部分)

1.     win7安裝iso獲得檔案及目錄,放於pe相對位置

xcopy \windows\System32\CTFMON.EXE

xcopy \windows\System32\MSUTB.DLL

xcopy \windows\System32\MsCtfMonitor.DLL

xcopy \windows\System32\PINTLGNT.IME

xcopy \windows\IME\IMETC10

xcopy \windows\System32\IME\IMETC10

xcopy \windows\System32\IME\shared

2.     Creating batch file(如下),進入pe後執行

@echo off      

REGSVR32 /S %WinDir%\System32\MSUTB.DLL    

REGSVR32 /S %WinDir%\System32\MsCtfMonitor.DLL

REGSVR32 /S %WinDir%\System32\IME\shared\IMEAPIS.DLL 

REGSVR32 /S %WinDir%\System32\IME\shared\imecfm.dll 

REGSVR32 /S %WinDir%\System32\IME\shared\IMEPADSM.DLL 

REGSVR32 /S %WinDir%\System32\IME\shared\IMETIP.DLL 

REGSVR32 /S %WinDir%\System32\IME\shared\imever.dll 

REGSVR32 /S %WinDir%\System32\IME\shared\MSCAND20.DLL 

REGSVR32 /S %WinDir%\System32\IME\IMETC10\ImTCCfg.DLL 

REGSVR32 /S %WinDir%\System32\IME\IMETC10\ImTCCore.dll 

REGSVR32 /S %WinDir%\System32\IME\IMETC10\IMTCTIP.dll 

REGSVR32 /S %WinDir%\System32\IME\IMETC10\imtcui.DLL 

REG ADD HKCU\Software\Microsoft\CTF\TIP\{531FDEBF-9B4C-4A43-A2AA-960E8FCDC732}      > nul 

REG ADD HKCU\Software\Microsoft\CTF\TIP\{531FDEBF-9B4C-4A43-A2AA-960E8FCDC732}\LanguageProfile  > nul 

REG ADD HKCU\Software\Microsoft\CTF\TIP\{531FDEBF-9B4C-4A43-A2AA-960E8FCDC732}\LanguageProfile\0x00000404   > nul 

REG ADD HKCU\Software\Microsoft\CTF\TIP\{531FDEBF-9B4C-4A43-A2AA-960E8FCDC732}\LanguageProfile\0x00000404\{B2F9C502-1742-11D4-9790-0080C882687E} > nul 

REG ADD HKCU\Software\Microsoft\CTF\TIP\{531FDEBF-9B4C-4A43-A2AA-960E8FCDC732}\LanguageProfile\0x00000404\{B2F9C502-1742-11D4-9790-0080C882687E} /v "Enable" /t REG_DWORD /d 1 >  nul 

REG ADD HKCU\Software\Microsoft\CTF\Assemblies\0x00000404\{34745C63-B2F0-4784-8B67-5E12C8701A31} /v "Profile" /d "{B2F9C502-1742-11D4-9790-0080C882687E}" /f > nul 

REG ADD HKCU\Software\Microsoft\CTF\Assemblies\0x00000404\{34745C63-B2F0-4784-8B67-5E12C8701A31} /v "KeyboardLayout" /t REG_DWORD /d "04040404" /f > nul 

pho.webp

最后于 2023-12-17 被cchh543编辑 ,原因:
收藏
点赞 1
分享
pecmd@hh
最新回复 (4)
  • avatar image
    rbj520 2023-12-19

    😀

    加油!!!
  • avatar image
    XSong 2024-9-23

    谢谢分享

  • avatar image
    AllenMu 2024-9-23

    谢谢分享

    学习永无止境
  • avatar image
    winpe 2024-10-12

    谢谢分享

    1
返回