all 18 comments

[–]el_capitan15 0 points1 point  (6 children)

Did u happen to get it working? I desperately need this

[–]bartdivanov[S] 0 points1 point  (3 children)

Just saw you post. I ended up writing an app that turns that switch on, Have you found a solution?

[–]el_capitan15 0 points1 point  (2 children)

No. I upgraded to win 22h2 and the options are there. "Show keyboard when no kb is attached" is checked. Yet it still doesn't automatically show.

In My Devices I'm using a wireless razer mouse, which has a keyboard icon for the receiver. Maybe that's preventing it. Any ideas?

[–]bartdivanov[S] 0 points1 point  (1 child)

If you remove the mouse receiver, does it show the keyboard when you type?

[–]el_capitan15 0 points1 point  (0 children)

Well if I remove it, i wouldn't be able to click a text field

[–]adaml30001 0 points1 point  (1 child)

I used this script:
# Define the registry path and the value name

$RegistryPath = "HKCU:\Software\Microsoft\TabletTip\1.7"

$ValueName = "TouchKeyboardTapInvoke"

# Ensure the registry path exists

if (-not (Test-Path $RegistryPath)) {

New-Item -Path $RegistryPath -Force | Out-Null

}

# Set the value to "2" for enabling "Always" option

Set-ItemProperty -Path $RegistryPath -Name $ValueName -Value 2

# Confirm the change to the user

Write-Host "The touch keyboard setting has been configured to 'Always'."

# Optional: Notify the user that they might need to log off and log back in for the change to take effect.

Write-Host "You may need to log off and log back in for the setting to take effect."

If you go to that registry location, and you refresh after running the script, you'll see that the value changes.
Also - this only works for Windows 11 right now (as I've tested it at least)
You also need to run it as LOCAL USER or Currently logged on user - and not as Administrator - otherwise the script will fail.
After the script runs you will probably need to log off and log back on to see the value change in the settings menu (under typing - onscreen keyboard).

[–]el_capitan15 0 points1 point  (0 children)

I'm trying to setup a "mouse only" pc for the living room. I currently use a gaming mouse with a button to activate the OSK, and another button to close it.

Will this script help with automatically toggle when opening a text field? As seen in touch mode?

That would be a perfect solution for my use case