Troubleshooting
Why an HMI panel PC opens the onscreen keyboard slowly
Short answer
A first-launch delay of about 10 seconds before the onscreen keyboard appears on an HMI panel PC is a Windows certificate revocation timeout, not a hardware shortage. Launch osk.exe with the runtime stopped to confirm, point WinHTTP at a proxy that fails fast, clear the publisher revocation check under the runtime account, and commit both changes through the write filter. The second and every later open stays fast; the first open drops to a fraction of a second.

On this page
- Why is the onscreen keyboard so slow to open on an HMI panel PC?
- How do I prove the delay is Windows and not the HMI project?
- How does a certificate revocation check stall a keyboard launch?
- Which command fixes the slow keyboard on an isolated panel PC?
- How do I turn off the publisher revocation check for the operator account?
- How do I keep the fix after a reboot on a write-filtered panel?
- How do I verify the fix and close each case?
- What if the keyboard is still slow after the OS fix?
- Questions asked
An onscreen keyboard that takes roughly 10 seconds to appear after you touch an IO field is not a slow panel PC — it is Windows waiting out a certificate revocation check. At the first launch of a signed program, Windows tries to reach a revocation server over the network; on an isolated HMI the request has nowhere to go and burns its full timeout before the keyboard paints. Prove it by launching osk.exe with the runtime stopped: if the bare Windows keyboard is equally slow, the project is innocent. The fix is to give WinHTTP a proxy that fails fast and to clear the publisher revocation check under the account that runs the runtime, then commit both changes through the write filter. Expect the first open to drop to a fraction of a second.
Why is the onscreen keyboard so slow to open on an HMI panel PC? #
Windows is waiting out a certificate revocation timeout: at the first launch of a signed program it tries to fetch a revocation list online, finds no route on an isolated HMI, and lets the request run its full timeout — about 10 seconds — before the keyboard paints.
A keyboard window is a tiny workload, and the reported machine — an Atom-class industrial PC with 1 GB of RAM running WinCC 2008 SP3 Advanced Runtime on Windows 7 Professional x86 — showed the identical wait when the runtime's own keyboard was started from the desktop, so the fault sits outside the project and outside the hardware. The wait is a single network timeout, not accumulated slowness, which is why memory or CPU upgrades never touch it.
How do I prove the delay is Windows and not the HMI project? #
Stop the runtime, open a Run box, launch osk.exe by hand and time it: if the bare Windows keyboard is also slow, your HMI project is innocent and the fix lives in Windows; if osk.exe opens fast, stop tuning the operating system and look at the screen instead.
Stop the runtime and get back to the desktop first — unlock the shell if a kiosk configuration hides it. Launch osk.exe from the Run box, time the first open, close it and start it again immediately. A slow first open and a fast second open is the fingerprint of a result cached for the session: the lookup ran once, failed, and Windows reuses that answer until the next reboot. In the reported case the bare Windows keyboard was equally slow with the runtime stopped, which moved the fault onto the operating system in five minutes of bench work.
How does a certificate revocation check stall a keyboard launch? #
Windows checks the Authenticode signature of signed programs at process start, and that check includes an online lookup against a certificate revocation list or OCSP responder; with no route out, the HTTP request waits until it times out, and the desktop sits frozen for the whole wait.
Two Windows mechanisms drive the behavior:
| Mechanism | What it controls | Where it is set |
|---|---|---|
| WinHTTP proxy configuration | The proxy used by services and non-browser HTTP clients, including the revocation lookup | netsh winhttp |
| Publisher certificate revocation check | Whether Windows performs the online CRL or OCSP lookup for signed executables | Internet Options, Advanced tab, Security group |
On an isolated panel one of two things happens: there is no route out, so the HTTP request runs to its full timeout before Windows continues, or a firewall silently drops the request instead of returning an immediate error, which forces the same full wait. The failed result is cached for the session, which is why later opens in the same session feel normal until reboot.
Worked example, using an illustrative split of the reported figures: a cold first open of osk.exe measured 10.5 s and an immediate second open measured 0.5 s. The 0.5 s is the keyboard's paint time on that low-power CPU, so the network wait is 10.5 s - 0.5 s = 10 s — one full revocation-check timeout. If the firewall refused the connection instead of dropping it, the first open would collapse to the paint time plus a fraction of a second; if the panel had a working route to the revocation server, the problem would never appear.
Which command fixes the slow keyboard on an isolated panel PC? #
Run netsh winhttp set proxy from an administrator command prompt so the revocation traffic fails fast instead of waiting out a silent drop; the reported fix on the Advanced Runtime panel PC was the command below, and a fast second launch of the keyboard confirmed it.
netsh winhttp set proxy proxy.microsoft.com
Read the current state first with netsh winhttp show proxy, then revert with netsh winhttp reset proxy if the box later needs direct HTTP. If the plant runs a real proxy, set that one instead and give it a bypass list for the plant subnet so PLC and runtime traffic stays direct. The setting is machine-wide, so re-test the panel's other HTTP-dependent functions — runtime web access and remote diagnostics — before it returns to production.
How do I turn off the publisher revocation check for the operator account? #
Clear the Check for publisher's certificate revocation check box in Internet Options, on the Advanced tab under Security, and do it signed in as the account that runs the runtime, because the setting is stored per user profile and an administrator-only change leaves the operator session timing out.
- Sign in as the account the runtime autostarts under — in most kiosk builds a dedicated operator account.
- Open Internet Options and go to the Advanced tab, Security group.
- Clear Check for publisher's certificate revocation.
- Clear Check for server certificate revocation as well if HTTPS clients on the panel also stall.
- Apply, then reboot so services started at boot pick the setting up.
On an air-gapped or plant-only panel the online lookup protects nothing, because the endpoint is unreachable by design; on any panel that reaches the internet, leave the check enabled — it is part of how Windows verifies publisher signatures.
How do I keep the fix after a reboot on a write-filtered panel? #
On a Windows Embedded Standard 7 image the Enhanced Write Filter or File-Based Write Filter discards registry and Internet Options changes at every reboot, so disable the filter or enter its commit mode, reboot, apply both changes, verify them, then re-enable the filter and reboot once more.
- Disable the write filter or enter its commit or service mode with the vendor's filter tool.
- Reboot.
- Apply the netsh change and clear the revocation check boxes.
- Reboot again and confirm
netsh winhttp show proxystill reports the setting. - Re-enable the filter and reboot a final time.
A setting that reverts after every reboot was never committed; it lived only in the volatile overlay. Newer Windows 10 IoT images run UWF instead of the Windows Embedded Standard 7 filters, and the commit-before-reboot discipline is identical — Managing UWF on Windows 10 IoT HMI panels walks through that filter.
How do I verify the fix and close each case? #
Reboot so every cache clears, then time a cold first launch of osk.exe and read the setting back with netsh winhttp show proxy; a keyboard that paints in well under two seconds and a setting that survives the reboot close the case.
- Time a cold first launch of osk.exe after a full reboot; expect roughly the paint time from the worked example, not a multi-second stall.
- Start the runtime and touch the IO field; the keyboard should appear without a perceptible pause.
- Repeat on the operator account, not only on the administrator account.
- Confirm
netsh winhttp show proxystill reports the intended configuration after a reboot; if it reverts, the write filter is still active. - Run a normal production sequence and confirm runtime communication, archiving and remote access all behave.
Every case closes with one of three decisions:
- Both keyboards slow — operating-system fault: apply the proxy change, clear the check under the runtime account, commit through the filter, and the project needs no edit.
- osk.exe fast, runtime keyboard slow — project-side fault: leave the OS settings alone and work the screen and keyboard configuration instead.
- The fix disappears after every reboot — write filter: commit the change before judging anything else.
What if the keyboard is still slow after the OS fix? #
If osk.exe now opens instantly but the runtime keyboard still lags, the operating system is exonerated and the delay sits in the screen load path — check the project's keyboard configuration and screen complexity, and treat scripting-level launch faults as a separate problem with its own fix.
Unreachable network drives, dead DNS servers and enabled adapters with no link each stack their own wait on top of whatever remains, and a wrong system clock makes certificate validity checks fail or retry, so clear those before tuning anything else. Launch-level scripting faults are a different failure mode again — on newer PC runtimes, the way a script calls the keyboard has its own pitfalls, covered in Why StartProgram fails to open the keyboard on Unified PC runtime.
Questions asked
Will adding RAM or a faster CPU remove the delay?
No. The wait is a network timeout during the certificate revocation lookup, not a compute shortage. The reported machine was a low-power Atom-class panel PC with 1 GB of RAM, and it drew the keyboard quickly once the network wait was removed, so hardware upgrades never touch this fault.
Does the same revocation wait affect other programs on the panel?
Yes. Any Authenticode-signed executable pays the lookup at process start, so other signed tools can show the same pattern of a slow first launch and a fast second launch. If several programs stall after a reboot, the same WinHTTP and revocation-check changes fix all of them at once.
Does this apply to panel PCs that do not run WinCC?
Yes. The wait happens in Windows before any HMI software draws anything, so it affects any runtime or application on the same machine that launches signed programs. The osk.exe test and the two Windows changes apply no matter which HMI package is installed or which controller it talks to.
Is it safe to leave the publisher revocation check disabled for good?
On an air-gapped or plant-only panel, yes: the endpoint is unreachable there, so the online lookup adds no protection. On a panel with internet access, keep the check on and give WinHTTP a working route instead; that keeps signature verification intact while the lookup succeeds or fails quickly.
