sairen139 发表于 2024-3-12 15:08:55

群里折腾适用于10pe和11pe的微软10自带的屏幕键盘osk的在线利用方法和初始位置定制reg

本帖最后由 sairen139 于 2024-3-12 19:43 编辑

群里折腾适用于10pe和11pe的微软10自带的屏幕键盘osk的在线利用方法和初始位置定制reg

有群友测试说10的osk可用于10pe和11pe,11pe的osk不可用于10pe。也就是说微软10的osk可以通吃10pe和11pe!

最终的折腾结果是需要以下的文件和注册表:
Program Files\Common Files\microsoft shared\ink\fsdefinitions\auxpad\auxbase.xml
Program Files\Common Files\microsoft shared\ink\fsdefinitions\insert\insertbase.xml
Program Files\Common Files\microsoft shared\ink\fsdefinitions\keypad\keypadbase.xml
Program Files\Common Files\microsoft shared\ink\fsdefinitions\main\base.xml
Program Files\Common Files\microsoft shared\ink\fsdefinitions\oskclearui\oskclearuibase.xml
Program Files\Common Files\microsoft shared\ink\fsdefinitions\oskmenu\oskmenubase.xml
Program Files\Common Files\microsoft shared\ink\fsdefinitions\osknav\osknavbase.xml
Program Files\Common Files\microsoft shared\ink\fsdefinitions\osknumpad\osknumpadbase.xml
Program Files\Common Files\microsoft shared\ink\fsdefinitions\oskpred\oskpredbase.xml
Program Files\Common Files\microsoft shared\ink\fsdefinitions\symbols\symbase.xml
Program Files\Common Files\microsoft shared\ink\fsdefinitions\auxpad.xml
Program Files\Common Files\microsoft shared\ink\fsdefinitions\insert.xml
Program Files\Common Files\microsoft shared\ink\fsdefinitions\keypad.xml
Program Files\Common Files\microsoft shared\ink\fsdefinitions\main.xml
Program Files\Common Files\microsoft shared\ink\fsdefinitions\oskclearui.xml
Program Files\Common Files\microsoft shared\ink\fsdefinitions\oskmenu.xml
Program Files\Common Files\microsoft shared\ink\fsdefinitions\osknav.xml
Program Files\Common Files\microsoft shared\ink\fsdefinitions\osknumpad.xml
Program Files\Common Files\microsoft shared\ink\fsdefinitions\oskpred.xml
Program Files\Common Files\microsoft shared\ink\fsdefinitions\symbols.xml
Program Files\Common Files\microsoft shared\ink\zh-CN\tabskb.dll.mui
Program Files\Common Files\microsoft shared\ink\zh-CN\tipresx.dll.mui
Program Files\Common Files\microsoft shared\ink\tabskb.dll
Program Files\Common Files\microsoft shared\ink\tipresx.dll
Windows\System32\osk.exe
Windows\System32\OskSupport.dll
Windows\System32\wmsgapi.dll


以上群里的折腾大概会增加pe的体积1mb多,我个人觉得没有我以前用的小小输入法的软键盘小。但是不在乎这点体积的网友自可集成到pe!

pe里在线添加的注册版并运行osk.exe的批处理bat内容如下所示:


:: reg add "HKCU\SOFTWARE\Microsoft\Osk" /f /v "WindowLeft" /t REG_DWORD /d 79
:: reg add "HKCU\SOFTWARE\Microsoft\Osk" /f /v "WindowTop" /t REG_DWORD /d 500
:: reg add "HKCU\SOFTWARE\Microsoft\Osk" /f /v "WindowWidth" /t REG_DWORD /d 841
:: reg add "HKCU\SOFTWARE\Microsoft\Osk" /f /v "WindowHeight" /t REG_DWORD /d 240
reg add "HKCU\SOFTWARE\Microsoft\Osk" /f /v "ClickSound" /t REG_DWORD /d 1 1>nul 2>nul
reg add "HKCU\SOFTWARE\Microsoft\Osk" /f /v "Mode" /t REG_DWORD /d 1 1>nul 2>nul
reg add "HKCU\SOFTWARE\Microsoft\Osk" /f /v "HoverPeriod" /t REG_DWORD /d 1000 1>nul 2>nul
reg add "HKCU\SOFTWARE\Microsoft\Osk" /f /v "ScanInterval" /t REG_DWORD /d 1000 1>nul 2>nul
reg add "HKCU\SOFTWARE\Microsoft\Osk" /f /v "UseDevice" /t REG_DWORD /d 1 1>nul 2>nul
reg add "HKCU\SOFTWARE\Microsoft\Osk" /f /v "UseMouse" /t REG_DWORD /d 0 1>nul 2>nul
reg add "HKCU\SOFTWARE\Microsoft\Osk" /f /v "UseKB" /t REG_DWORD /d 1 1>nul 2>nul
reg add "HKCU\SOFTWARE\Microsoft\Osk" /f /v "ScanKey" /t REG_DWORD /d 32 1>nul 2>nul
reg add "HKCU\SOFTWARE\Microsoft\Osk" /f /v "UseTextPrediction" /t REG_DWORD /d 1 1>nul 2>nul
reg add "HKCU\SOFTWARE\Microsoft\Osk" /f /v "InsertSpace" /t REG_DWORD /d 1 1>nul 2>nul
reg add "HKCU\SOFTWARE\Microsoft\Osk" /f /v "ShowNumPad" /t REG_DWORD /d 0 1>nul 2>nul
reg add "HKCU\SOFTWARE\Microsoft\Osk" /f /v "NavigationMode" /t REG_DWORD /d 0 1>nul 2>nul
reg add "HKCU\SOFTWARE\Microsoft\Osk" /f /v "ModeHeightNavigation" /t REG_DWORD /d 61 1>nul 2>nul
reg add "HKCU\SOFTWARE\Microsoft\Osk" /f /v "ModeHeightGeneral" /t REG_DWORD /d 240 1>nul 2>nul
reg add "HKCU\SOFTWARE\Microsoft\Osk" /f /v "ShowClearKeyboard" /t REG_DWORD /d 1 1>nul 2>nul
reg add "HKCU\SOFTWARE\Microsoft\Osk" /f /v "Dock" /t REG_DWORD /d 0 1>nul 2>nul
reg add "HKLM\SOFTWARE\Classes\CLSID\{0A56CD6C-B45A-4A6C-A88C-3F42AC7BCED4}" /f /ve /t REG_SZ /d "KeyStrokeMonitor Class" 1>nul 2>nul
reg add "HKLM\SOFTWARE\Classes\CLSID\{0A56CD6C-B45A-4A6C-A88C-3F42AC7BCED4}\InprocServer32" /f /ve /t REG_EXPAND_SZ /d "%%CommonProgramFiles%%\Microsoft Shared\ink\tabskb.dll" 1>nul 2>nul
reg add "HKLM\SOFTWARE\Classes\CLSID\{0A56CD6C-B45A-4A6C-A88C-3F42AC7BCED4}\InprocServer32" /f /v "ThreadingModel" /t REG_SZ /d "Both" 1>nul 2>nul
reg add "HKLM\SOFTWARE\Classes\CLSID\{0A56CD6C-B45A-4A6C-A88C-3F42AC7BCED4}\ProgID" /f /ve /t REG_SZ /d "SKBMonitor.KeyStrokeMonitor.1" 1>nul 2>nul
reg add "HKLM\SOFTWARE\Classes\CLSID\{0A56CD6C-B45A-4A6C-A88C-3F42AC7BCED4}\VersionIndependentProgID" /f /ve /t REG_SZ /d "SKBMonitor.KeyStrokeMonitor" 1>nul 2>nul
reg add "HKLM\SOFTWARE\Classes\CLSID\{066D2323-D35A-4C15-AE22-F88F136C1613}" /f /ve /t REG_SZ /d "KeystrokeGenerator Class" 1>nul 2>nul
reg add "HKLM\SOFTWARE\Classes\CLSID\{066D2323-D35A-4C15-AE22-F88F136C1613}\InprocServer32" /f /ve /t REG_EXPAND_SZ /d "%%CommonProgramFiles%%\Microsoft Shared\ink\tabskb.dll" 1>nul 2>nul
reg add "HKLM\SOFTWARE\Classes\CLSID\{066D2323-D35A-4C15-AE22-F88F136C1613}\InprocServer32" /f /v "ThreadingModel" /t REG_SZ /d "Both" 1>nul 2>nul
reg add "HKLM\SOFTWARE\Classes\CLSID\{066D2323-D35A-4C15-AE22-F88F136C1613}\ProgID" /f /ve /t REG_SZ /d "KSGenerator.KeystrokeGenerator.1" 1>nul 2>nul
reg add "HKLM\SOFTWARE\Classes\CLSID\{066D2323-D35A-4C15-AE22-F88F136C1613}\VersionIndependentProgID" /f /ve /t REG_SZ /d "KSGenerator.KeystrokeGenerator" 1>nul 2>nul
reg add "HKLM\SOFTWARE\Classes\CLSID\{632B0530-3CBF-44F4-BFDC-750A80D4B00A}" /f /ve /t REG_SZ /d "StateController Class" 1>nul 2>nul
reg add "HKLM\SOFTWARE\Classes\CLSID\{632B0530-3CBF-44F4-BFDC-750A80D4B00A}\InprocServer32" /f /ve /t REG_EXPAND_SZ /d "%%CommonProgramFiles%%\Microsoft Shared\ink\tabskb.dll" 1>nul 2>nul
reg add "HKLM\SOFTWARE\Classes\CLSID\{632B0530-3CBF-44F4-BFDC-750A80D4B00A}\InprocServer32" /f /v "ThreadingModel" /t REG_SZ /d "Apartment" 1>nul 2>nul
reg add "HKLM\SOFTWARE\Classes\CLSID\{632B0530-3CBF-44F4-BFDC-750A80D4B00A}\ProgID" /f /ve /t REG_SZ /d "statemodel.StateController.1" 1>nul 2>nul
reg add "HKLM\SOFTWARE\Classes\CLSID\{632B0530-3CBF-44F4-BFDC-750A80D4B00A}\VersionIndependentProgID" /f /ve /t REG_SZ /d "statemodel.StateController" 1>nul 2>nul
reg add "HKLM\SOFTWARE\Classes\CLSID\{6A514DB9-3EC1-4F36-9F95-BC0B00152D0B}" /f /ve /t REG_SZ /d "DefinitionParser Class" 1>nul 2>nul
reg add "HKLM\SOFTWARE\Classes\CLSID\{6A514DB9-3EC1-4F36-9F95-BC0B00152D0B}\InprocServer32" /f /ve /t REG_EXPAND_SZ /d "%%CommonProgramFiles%%\Microsoft Shared\ink\tabskb.dll" 1>nul 2>nul
reg add "HKLM\SOFTWARE\Classes\CLSID\{6A514DB9-3EC1-4F36-9F95-BC0B00152D0B}\InprocServer32" /f /v "ThreadingModel" /t REG_SZ /d "Both" 1>nul 2>nul
reg add "HKLM\SOFTWARE\Classes\CLSID\{6A514DB9-3EC1-4F36-9F95-BC0B00152D0B}\ProgID" /f /ve /t REG_SZ /d "FSLoaderParser2.DefinitionParser.1" 1>nul 2>nul
reg add "HKLM\SOFTWARE\Classes\CLSID\{6A514DB9-3EC1-4F36-9F95-BC0B00152D0B}\VersionIndependentProgID" /f /ve /t REG_SZ /d "FSLoaderParser2.DefinitionParser" 1>nul 2>nul
reg add "HKLM\SOFTWARE\Classes\CLSID\{884CFF4F-0BB0-4CAA-83BD-4FB9ECE938FA}" /f /ve /t REG_SZ /d "DefinitionLoader Class" 1>nul 2>nul
reg add "HKLM\SOFTWARE\Classes\CLSID\{884CFF4F-0BB0-4CAA-83BD-4FB9ECE938FA}\InprocServer32" /f /ve /t REG_EXPAND_SZ /d "%%CommonProgramFiles%%\Microsoft Shared\ink\tabskb.dll" 1>nul 2>nul
reg add "HKLM\SOFTWARE\Classes\CLSID\{884CFF4F-0BB0-4CAA-83BD-4FB9ECE938FA}\InprocServer32" /f /v "ThreadingModel" /t REG_SZ /d "Both" 1>nul 2>nul
reg add "HKLM\SOFTWARE\Classes\CLSID\{884CFF4F-0BB0-4CAA-83BD-4FB9ECE938FA}\ProgID" /f /ve /t REG_SZ /d "FSLoaderParser.DefinitionLoader.1" 1>nul 2>nul
reg add "HKLM\SOFTWARE\Classes\CLSID\{884CFF4F-0BB0-4CAA-83BD-4FB9ECE938FA}\VersionIndependentProgID" /f /ve /t REG_SZ /d "FSLoaderParser.DefinitionLoader" 1>nul 2>nul
reg add "HKLM\SOFTWARE\Classes\CLSID\{BDCD51FB-55A0-4486-908C-5240F23698AC}" /f /ve /t REG_SZ /d "Accessible Keyboard UI Class" 1>nul 2>nul
reg add "HKLM\SOFTWARE\Classes\CLSID\{BDCD51FB-55A0-4486-908C-5240F23698AC}\InprocServer32" /f /ve /t REG_EXPAND_SZ /d "%%CommonProgramFiles%%\Microsoft Shared\ink\tabskb.dll" 1>nul 2>nul
reg add "HKLM\SOFTWARE\Classes\CLSID\{BDCD51FB-55A0-4486-908C-5240F23698AC}\InprocServer32" /f /v "ThreadingModel" /t REG_SZ /d "Apartment" 1>nul 2>nul
@start "" /d %WinDir%\System32 osk.exe 1>nul 2>nul
:: del %0 /q 2>nul



另外我测试需要注意的是有些极限精简的骨头版本pe缺少一个msctf.dll会导致报错,请自行添加该msctf.dll


sairen139 发表于 2024-3-12 15:10:52

本帖最后由 sairen139 于 2024-3-12 15:15 编辑

本帖适用于10pe和11pe,哪怕是re和boot卷二也适用!z

另外微软屏幕键盘osk的初始位置定制.reg的内容如下(定制帖靠任务栏上方偏左以免挡住右边的东西)

Windows Registry Editor Version 5.00

"WindowLeft"=dword:00000068
"WindowTop"=dword:000001f4
"WindowWidth"=dword:00000330
"WindowHeight"=dword:000000f0
"ClickSound"=dword:00000001
"Mode"=dword:00000001
"HoverPeriod"=dword:000003e8
"ScanInterval"=dword:000001f4
"UseDevice"=dword:00000001
"UseMouse"=dword:00000000
"UseKB"=dword:00000001
"ScanKey"=dword:00000020
"UseTextPrediction"=dword:00000001
"InsertSpace"=dword:00000001
"ShowNumPad"=dword:00000000
"NavigationMode"=dword:00000000
"ModeHeightNavigation"=dword:0000003d
"ModeHeightGeneral"=dword:000000f0
"ShowClearKeyboard"=dword:00000001
"Dock"=dword:00000000

sairen139 发表于 2024-3-12 15:11:04

预留一楼备用

yyz2191958 发表于 2024-3-12 15:18:20

谢谢分享

邪恶海盗 发表于 2024-3-12 15:24:15

Free Virtual Keyboard好用...

yuguotqing 发表于 2024-3-12 16:27:58

感谢分享

wsx710904 发表于 2024-3-12 17:55:34

感謝分享,您的善心我們都很開心。

hehuiying 发表于 2024-3-12 18:08:55

支持一下

yc2428 发表于 2024-3-12 20:54:53

谢谢分享

630 发表于 2024-3-13 01:15:19

SoftBoard好用,756K

vaf 发表于 2024-3-13 02:26:15

组合键, 比如: Ctrl+Alt+Del 用鼠标怎么按?

ko20010214 发表于 前天 16:49

630 发表于 2024-3-13 01:15
SoftBoard好用,756K

那278K的FVK.exe如何?

页: [1]
查看完整版本: 群里折腾适用于10pe和11pe的微软10自带的屏幕键盘osk的在线利用方法和初始位置定制reg