請選擇 進入手機版 | 繼續訪問電腦版

NoName Team 電腦資訊討論區

 找回密碼
 我要註冊
搜索
12
返回列表 發新帖
樓主: joyend

[教學] Win10pe全手工製作步驟-使用explorer

[複製鏈接]
 樓主| 發表於 2021-1-22 20:47:12 | 顯示全部樓層
本帖最後由 joyend 於 2021-1-24 20:57 編輯

版主好
參考了 wimbuilder2 文件檔,已手工加入IME相關檔案,
已可做中英輸入法切換,只是...注音、倉頡、速成可輸入字碼,無出現中文字或選字視窗,
而大昜、行列可正常輸入,

不知道還少什麼檔案.....

需增加的檔案跟目錄

xcopy /y /d /h /s /e %path1%"Program Files\Windows NT\"TableTextService %path2%"Program Files\Windows NT\"TableTextService\
xcopy /y /d /h %path1%Windows\System32\ChtCangjieDS.dll %path2%Windows\System32\
xcopy /y /d /h %path1%Windows\System32\ChtBopomofoDS.dll %path2%Windows\System32\
xcopy /y /d /h %path1%Windows\System32\ChtQuickDS.dll %path2%Windows\System32\
xcopy /y /d /h %path1%Windows\System32\UserLanguageProfileCallback.dll %path2%Windows\System32\
xcopy /y /d /h %path1%Windows\System32\Windows.Globalization.dll %path2%Windows\System32\
xcopy /y /d /h %path1%Windows\System32\Windows.UI.Core.TextInput.dll %path2%Windows\System32\
xcopy /y /d /h %path1%Windows\WinSxS\amd64_microsoft-windows-inputprocessors_31bf3856ad364e35_10.0.18362.1_none_6ca2e700fada3b05\ChtBopomofoDS.dll %path2%Windows\WinSxS\amd64_microsoft-windows-inputprocessors_31bf3856ad364e35_10.0.18362.1_none_6ca2e700fada3b05\
xcopy /y /d /h %path1%Windows\WinSxS\amd64_microsoft-windows-inputprocessors_31bf3856ad364e35_10.0.18362.1_none_6ca2e700fada3b05\ChtCangjieDS.dll %path2%Windows\WinSxS\amd64_microsoft-windows-inputprocessors_31bf3856ad364e35_10.0.18362.1_none_6ca2e700fada3b05\
xcopy /y /d /h %path1%Windows\WinSxS\amd64_microsoft-windows-inputprocessors_31bf3856ad364e35_10.0.18362.1_none_6ca2e700fada3b05\ChtQuickDS.dll %path2%Windows\WinSxS\amd64_microsoft-windows-inputprocessors_31bf3856ad364e35_10.0.18362.1_none_6ca2e700fada3b05\
xcopy /y /d /h %path1%Windows\WinSxS\amd64_microsoft-windows-d..se-quickds-binaries_31bf3856ad364e35_10.0.18362.1_none_d29a252d7800c804\ChtQuickDS.dll %path2%Windows\WinSxS\amd64_microsoft-windows-d..se-quickds-binaries_31bf3856ad364e35_10.0.18362.1_none_d29a252d7800c804\
xcopy /y /d /h %path1%Windows\SysWOW64\MSWB70404.dll %path2%\Windows\SysWOW64\
xcopy /y /d /h %path1%Windows\SysWOW64\Pimstore.dll %path2%\Windows\SysWOW64\
xcopy /y /d /h %path1%Windows\WinSxS\amd64_microsoft-windows-inputservice_31bf3856ad364e35_10.0.18362.267_none_0fae3134cb329e49\inputservice.dll %path2%Windows\WinSxS\amd64_microsoft-windows-inputservice_31bf3856ad364e35_10.0.18362.267_none_0fae3134cb329e49\
xcopy /y /d /h %path1%Windows\WinSxS\amd64_microsoft-windows-inputservice_31bf3856ad364e35_10.0.18362.267_none_0fae3134cb329e49\f\inputservice.dll %path2%Windows\WinSxS\amd64_microsoft-windows-inputservice_31bf3856ad364e35_10.0.18362.267_none_0fae3134cb329e49\f\
xcopy /y /d /h %path1%Windows\WinSxS\amd64_microsoft-windows-inputservice_31bf3856ad364e35_10.0.18362.267_none_0fae3134cb329e49\r\inputservice.dll %path2%Windows\WinSxS\amd64_microsoft-windows-inputservice_31bf3856ad364e35_10.0.18362.267_none_0fae3134cb329e49\r\


由現有的win10電腦,新增中文輸入法,
由現有的win10電腦,匯出以下7個對應位置.

HKEY_CURRENT_USER\Keyboard Layout\Preload
HKEY_CURRENT_USER\Software\Microsoft\TableTextService
HKEY_CURRENT_USER\Software\Microsoft\CTF
HKEY_CURRENT_USER\Software\Microsoft\IME
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\TableTextService\0x00000404
HKEY_LOCAL_MACHINE\SYSTEM\Keyboard Layout\Preload
HKEY_LOCAL_MACHINE\SYSTEM\Software\Microsoft\CTF
開啟匯出的檔案
HKEY_CURRENT_USER 全改為
HKEY_USERS\pe-def
HKEY_LOCAL_MACHINE\Software 全改為 HKEY_USERS\pe-soft
HKEY_LOCAL_MACHINE\SYSTEM 全改為
HKEY_USERS\pe-sys
匯出的登錄檔匯入pe的default,Software,system




 樓主| 發表於 2021-1-23 19:20:13 | 顯示全部樓層
本帖最後由 joyend 於 2021-1-24 00:05 編輯

原本以為其它的 Winpe 選單是由 pecmd 產生的,
選單功能表本想用 start10 替代,

參考了 wimbuilder2 文件檔,發現是用 startisback 選單工具
手工加入startisback 選單成功.


選單產生步驟
下載 startisback
解壓縮後將 Plain8.msstyles,StartIsBack64.dll 覆製到 x:\windows\system32
再將下面所有存檔為 StartIsBack.reg , 載入 default及Software再匯入StartIsBack.reg即可,
但關機,重新開機無動作,因該是使用 wpeutil.exe 並不是用 pecmd 的關係.



Windows Registry Editor Version 5.00

[HKEY_USERS\pe-def\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
"Start_SearchPrograms"=dword:00000001
"Start_SearchFiles"=dword:00000000
[HKEY_USERS\pe-def\Software\StartIsBack]
"WelcomeShown"=dword:00000002
"AutoUpdates"=dword:00000000
"Disabled"=dword:00000000
"AllProgramsFlyout"=dword:00000001
"Start_LargeMFUIcons"=dword:00000001
"StartMetroAppsMFU"=dword:00000000
"StartScreenShortcut"=dword:00000000
"Start_SortByName"=dword:00000001
"StartMetroAppsFolder"=dword:00000000
"Start_SortFoldersFirst"=dword:00000000
"Start_NotifyNewApps"=dword:00000000
"Start_AutoCascade"=dword:00000001
"Start_AskCortana"=dword:00000000
"Start_RightPaneIcons"=dword:00000002
"Start_ShowUser"=dword:00000001
"Start_ShowMyDocs"=dword:00000000
"Start_ShowMyPics"=dword:00000000
"Start_ShowMyMusic"=dword:00000000
"Start_ShowVideos"=dword:00000000
"Start_ShowDownloads"=dword:00000001
"Start_ShowSkyDrive"=dword:00000000
"StartMenuFavorites"=dword:00000002
"Start_ShowRecentDocs"=dword:00000000
"Start_ShowNetPlaces"=dword:00000000
"Start_ShowNetConn"=dword:00000000
"Start_ShowMyComputer"=dword:00000001
"Start_ShowControlPanel"=dword:00000001
"Start_ShowPCSettings"=dword:00000000
"Start_AdminToolsRoot"=dword:00000000
"Start_ShowPrinters"=dword:00000000
"Start_ShowSetProgramAccessAndDefaults"=dword:00000000
"Start_ShowCommandPrompt"=dword:00000000
"Start_ShowRun"=dword:00000001
"Start_MinMFU"=dword:00000008
"Start_JumpListItems"=dword:00000008
"StartIsApps"=dword:00000000
"NoXAMLPrelaunch"=dword:00000001
"TerminateOnClose"=dword:00000001
"CombineWinX"=dword:00000001
"HideUserFrame"=dword:00000000
"TaskbarLargerIcons"=dword:00000000
"TaskbarSpacierIcons"=dword:ffffffff
"TaskbarJumpList"=dword:00000001
"HideOrb"=dword:00000000
"HideSecondaryOrb"=dword:00000000
"StartMenuMonitor"=dword:00000001
"WinkeyFunction"=dword:00000000
"MetroHotkeyFunction"=dword:00000000
"ImmersiveMenus"=dword:ffffffff
"MetroHotKey"=dword:0000000a
"OrbBitmap"=""
"TaskbarStyle"="X:\\Windows\\system32\\Plain8.msstyles"
"AlterStyle"="X:\\Windows\\system32\\Plain8.msstyles"
"ModernIconsColorized"=dword:00000001
"ModernIconsUnplated"=dword:00000001
"ModernIconsBadgesStartMenu"=dword:00000001
"CustomColors"=""
"SettingsVersion"=dword:00000004
[HKEY_USERS\pe-def\Software\StartIsBack\ShutdownChoices]
@=dword:00000002
"Shut down"=dword:00000002
"Restart"=dword:00000004

[HKEY_USERS\pe-soft]
[HKEY_USERS\pe-soft\Classes]
[HKEY_USERS\pe-soft\Classes\AllFilesystemObjects]
[HKEY_USERS\pe-soft\Classes\AllFilesystemObjects\shellex]
[HKEY_USERS\pe-soft\Classes\AllFilesystemObjects\shellex\ContextMenuHandlers]
[HKEY_USERS\pe-soft\Classes\AllFilesystemObjects\shellex\ContextMenuHandlers\{a2a9545d-a0c2-42b4-9708-a0b2badd77c9}]
@="StartIsBack Menu Pin"
[HKEY_USERS\pe-soft\Classes\CLSID]
[HKEY_USERS\pe-soft\Classes\CLSID\{865e5e76-ad83-4dca-a109-50dc2113ce9b}]
@="StartIsBack All Programs Folder"
[HKEY_USERS\pe-soft\Classes\CLSID\{865e5e76-ad83-4dca-a109-50dc2113ce9b}\InProcServer32]
@="X:\\Windows\\system32\\StartIsBack64.dll"
"ThreadingModel"="Apartment"
[HKEY_USERS\pe-soft\Classes\CLSID\{865e5e76-ad83-4dca-a109-50dc2113ce9b}\ShellFolder]
"Attributes"=dword:28100000
[HKEY_USERS\pe-soft\Classes\CLSID\{a2a9545d-a0c2-42b4-9708-a0b2badd77c9}]
"ImplementsVerbs"="startpin;startunpin"
[HKEY_USERS\pe-soft\Classes\CLSID\{a2a9545d-a0c2-42b4-9708-a0b2badd77c9}\InprocServer32]
@="X:\\Windows\\system32\\StartIsBack64.dll"
"ThreadingModel"="Apartment"
[HKEY_USERS\pe-soft\Classes\CLSID\{AD1405D2-30CF-4877-8468-1EE1C52C759F}]
@="@twinui.dll,-4137"
[HKEY_USERS\pe-soft\Classes\CLSID\{AD1405D2-30CF-4877-8468-1EE1C52C759F}\InProcServer32]
@="X:\\Windows\\system32\\StartIsBack64.dll"
"ThreadingModel"="Apartment"
[HKEY_USERS\pe-soft\Classes\CLSID\{AD1405D2-30CF-4877-8468-1EE1C52C759F}\ShellFolder]
"Attributes"=dword:a0000000
[HKEY_USERS\pe-soft\Classes\CLSID\{c71c41f1-ddad-42dc-a8fc-f5bfc61df957}]
[HKEY_USERS\pe-soft\Classes\CLSID\{c71c41f1-ddad-42dc-a8fc-f5bfc61df957}\TreatAs]
@="{c71c41f1-ddad-42dc-a8fc-f5bfc61df958}"
[HKEY_USERS\pe-soft\Classes\CLSID\{c71c41f1-ddad-42dc-a8fc-f5bfc61df958}]
[HKEY_USERS\pe-soft\Classes\CLSID\{c71c41f1-ddad-42dc-a8fc-f5bfc61df958}\InProcServer32]
@="X:\\Windows\\system32\\StartIsBack64.dll"
"ThreadingModel"="Apartment"
[HKEY_USERS\pe-soft\Classes\CLSID\{E5C31EC8-C5E6-4E07-957E-944DB4AAD85E}]
[HKEY_USERS\pe-soft\Classes\CLSID\{E5C31EC8-C5E6-4E07-957E-944DB4AAD85E}\InProcServer32]
@="X:\\Windows\\system32\\StartIsBack64.dll"
"ThreadingModel"="Apartment"
[HKEY_USERS\pe-soft\Classes\CLSID\{FCEA18FF-BC55-4E63-94D7-1B2EFBFE706F}]
@="Start menu"
"LocalizedString"=hex(2):40,00,58,00,3a,00,5c,00,50,00,72,00,6f,00,67,00,72,00,\
  61,00,6d,00,20,00,46,00,69,00,6c,00,65,00,73,00,5c,00,53,00,74,00,61,00,72,\
  00,74,00,49,00,73,00,42,00,61,00,63,00,6b,00,5c,00,53,00,74,00,61,00,72,00,\
  74,00,49,00,73,00,42,00,61,00,63,00,6b,00,36,00,34,00,2e,00,64,00,6c,00,6c,\
  00,2c,00,2d,00,35,00,31,00,30,00,00,00
"System.Software.TasksFileUrl"="Internal"
"System.ControlPanel.EnableInSafeMode"=dword:00000003
"System.ApplicationName"="StartIsBack.Config"
"System.ControlPanel.Category"="1"
[HKEY_USERS\pe-soft\Classes\CLSID\{FCEA18FF-BC55-4E63-94D7-1B2EFBFE706F}\DefaultIcon]
@="X:\\Windows\\system32\\StartIsBackCfg.exe,0"
[HKEY_USERS\pe-soft\Classes\CLSID\{FCEA18FF-BC55-4E63-94D7-1B2EFBFE706F}\Shell]
[HKEY_USERS\pe-soft\Classes\CLSID\{FCEA18FF-BC55-4E63-94D7-1B2EFBFE706F}\Shell\Open]
[HKEY_USERS\pe-soft\Classes\CLSID\{FCEA18FF-BC55-4E63-94D7-1B2EFBFE706F}\Shell\Open\Command]
@="X:\\Windows\\system32\\StartIsBackCfg.exe"
[HKEY_USERS\pe-soft\Classes\CLSID\{FCEA18FF-BC55-4E63-94D7-1B2EFBFE706F}\ShellFolder]
"Attributes"=dword:00000000
[HKEY_USERS\pe-soft\Classes\MSILink]
[HKEY_USERS\pe-soft\Classes\MSILink\shellex]
[HKEY_USERS\pe-soft\Classes\MSILink\shellex\ContextMenuHandlers]
[HKEY_USERS\pe-soft\Classes\MSILink\shellex\ContextMenuHandlers\{a2a9545d-a0c2-42b4-9708-a0b2badd77c9}]
@="Start Menu Pin"
[HKEY_USERS\pe-soft\Classes\StartIsBack.AppsFolder]
[HKEY_USERS\pe-soft\Classes\StartIsBack.AppsFolder\Shell]
[HKEY_USERS\pe-soft\Classes\StartIsBack.AppsFolder\Shell\ChangeIcon]
"MuiVerb"="@shell32.dll,-34608"
[HKEY_USERS\pe-soft\Classes\StartIsBack.AppsFolder\Shell\ChangeIcon\Command]
"DelegateExecute"="{E5C31EC8-C5E6-4E07-957E-944DB4AAD85E}"
[HKEY_USERS\pe-soft\Classes\StartIsBack.AppsFolder\Shell\Delete]
"MuiVerb"="@shell32.dll,-33553"
"Position"="Bottom"
[HKEY_USERS\pe-soft\Classes\StartIsBack.AppsFolder\Shell\Delete\Command]
"DelegateExecute"="{E5C31EC8-C5E6-4E07-957E-944DB4AAD85E}"
[HKEY_USERS\pe-soft\Classes\StartIsBack.ImmersiveApplication]
@="Open"
[HKEY_USERS\pe-soft\Classes\StartIsBack.ImmersiveApplication\Shell]
[HKEY_USERS\pe-soft\Classes\StartIsBack.ImmersiveApplication\Shell\Delete]
@="Uninstall Modern App"
"MuiVerb"="@twinui.dll,-4010"
"Position"="Bottom"
"SeparatorBefore"=dword:00000001
[HKEY_USERS\pe-soft\Classes\StartIsBack.ImmersiveApplication\Shell\Delete\Command]
"DelegateExecute"="{E5C31EC8-C5E6-4E07-957E-944DB4AAD85E}"
[HKEY_USERS\pe-soft\Classes\StartIsBack.ImmersiveApplication\Shell\Open]
@="Open"
"MuiVerb"="@twinui.dll,-8501"
[HKEY_USERS\pe-soft\Classes\StartIsBack.ImmersiveApplication\Shell\Open\Command]
"DelegateExecute"="{A9249952-F4C6-4BCD-9B44-6A5BA9B5209E}"
[HKEY_USERS\pe-soft\Classes\StartIsBack.ImmersiveApplication\shellex]
[HKEY_USERS\pe-soft\Classes\StartIsBack.ImmersiveApplication\shellex\ContextMenuHandlers]
[HKEY_USERS\pe-soft\Classes\StartIsBack.ImmersiveApplication\shellex\ContextMenuHandlers\{90AA3A4E-1CBA-4233-B8BB-535773D48449}]
@="Taskbar Pin"
[HKEY_USERS\pe-soft\Classes\StartIsBack.ImmersiveApplication\shellex\ContextMenuHandlers\{a2a9545d-a0c2-42b4-9708-a0b2badd77c9}]
@="Start Menu Pin"
[HKEY_USERS\pe-soft\Microsoft]
[HKEY_USERS\pe-soft\Microsoft\Windows]
[HKEY_USERS\pe-soft\Microsoft\Windows\CurrentVersion]
[HKEY_USERS\pe-soft\Microsoft\Windows\CurrentVersion\App Paths]
[HKEY_USERS\pe-soft\Microsoft\Windows\CurrentVersion\App Paths\StartIsBackCfg.exe]
@="X:\\Windows\\system32\\StartIsBackCfg.exe"
[HKEY_USERS\pe-soft\Microsoft\Windows\CurrentVersion\App Paths\StartScreen.exe]
@="X:\\Windows\\system32\\Startscreen.exe"
[HKEY_USERS\pe-soft\Microsoft\Windows\CurrentVersion\Explorer]
[HKEY_USERS\pe-soft\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel]
[HKEY_USERS\pe-soft\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel\NameSpace]
[HKEY_USERS\pe-soft\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel\NameSpace\{FCEA18FF-BC55-4E63-94D7-1B2EFBFE706F}]
@="Start menu"






發表於 2021-1-24 18:27:16 | 顯示全部樓層
本帖最後由 makimaki2 於 2021-1-24 18:31 編輯

如果有截圖會比較清晰,
另外希望可以支持日文輸入法與日文顯示
 樓主| 發表於 2021-2-4 11:32:21 | 顯示全部樓層
本帖最後由 joyend 於 2021-2-5 10:55 編輯

輸入法注音、倉頡、速成可輸入字碼,無出現中文字或選字視窗問題,
測試失敗百次有吧,結果答案早在 wimbuilder2 的 last.bat 文檔裡
if %VER[3]% LEQ 18300 goto :EOF
binmay.exe -u "%X_SYS%\InputService.dll" -s u:MiniNT -r u:NiniNT
fc /b "%X_SYS%\InputService.dll.org" "%X_SYS%\InputService.dll"
del /f /q "%X_SYS%\InputService.dll.org"


需修改 system32\InputService.dll 檔案,將MiniNT改為NiniNT,
應該是說第1個字M改為其它字就可以,

比對其它使用pecmd的win10pe,確實都有修改.

使用winhex或UltraEdit開啟InputService.dll,
定位到 3350f0 ,將4D改為57即可正常使用中文輸入法.
檔案版本 10.0.18362.267


5C 00 4D 00 69
改為
5C 00 4E 00 69

經測試如不修改 InputService.dll 的話,進Win10PE後執行

reg delete HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\MiniNT /f

也可以




發表於 2021-4-27 11:04:25 | 顯示全部樓層
拜讀版大的文章後,自己也嘗試一步步試驗,但是在開始階段
使用7-zip解壓下載的iso檔到y:\win10-1903目錄
出現警告訊息
警告:
有效負載盡頭外還有其他資料
,請問有關係嗎?

如果是使用WINRAR的話就不會有此訊息了

這個步驟只要將ISO檔內資料解壓出來就好?
發表於 2021-4-30 09:07:06 | 顯示全部樓層
很棒的資料、樓主也好厲害!
存下來學習學習。
您需要登錄後才可以回帖 登錄 | 我要註冊

本版積分規則

小黑屋|手機版|NoName Team 電腦資訊討論區 |網站地圖

GMT+8, 2021-5-15 23:05 , Processed in 0.240767 second(s), 15 queries .

Powered by Discuz! X3.4

© 2001-2017 Comsenz Inc.

快速回復 返回頂部 返回列表