-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathOnScreenKeyboard.cmd
12 lines (12 loc) · 1.39 KB
/
OnScreenKeyboard.cmd
1
2
3
4
5
6
7
8
9
10
11
12
@echo off
pushd "%~dp0"
if exist %systemroot%\sysnative\cmd.exe set runsix="%SYSTEMROOT%\sysnative\cmd.exe" /C
if not exist %windir%\system32\osk.exe goto b
goto c
:b
7z.exe x -o"%TEMP%\HBCD" -y Files\Tools.7z osk.exe
REG ADD HKCU\Software\Microsoft\Osk /v Setting /t REG_BINARY /d 040000000000000000000000c0c0c000ff80c00000ff40008080ff000200000001000000650000000000000000000000010000000100000000000000e8030000f5ffffff000000000000000000000000bc02000000000000030201224d53205368656c6c20446c6700000000000000000000000000000000000000000100000000000000010000000100000001000000983a000001000000010000000100000001000000010000000200000001000000070000000700000010000000070000000000000000000000bc020000000000000102022253797374656d0010688af70cac0001009433020000005701000009008b01a4010000000080ff80000100000020000000010000000100000001000000010000000000000001000000b80000009e010000a302000002040000660300006d010000ee02000039020000000000000000000072000000b10000000000bc420000c8417100000072000000730000007400000075000000760000007700000078000000790000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000010000000000000000000000000000000100000000000000f40100000100000000000000 /f
REG ADD HKCU\Software\Microsoft\Osk /v Stepping /t REG_DWORD /d 3 /f
CD /D "%TEMP%\HBCD"
:c
start "" %runsix% osk.exe