

Public static extern bool Wow64RevertWow64FsRedirection(IntPtr ptr) Private static extern bool Wow64DisableWow64FsRedirection(ref IntPtr ptr)

#Osk exe code
The code below checks the apartment state and then makes sure to start the On-Screen Keyboard from an MTA thread: using System when UseShellExecute is set to false and also when being called from an STA thread as it seems. However, under certain conditions, Process.Start will create the new process from a separate thread, e.g. The reason seems to be that a call to Wow64DisableWow64FsRedirection only affects the current thread. A very small helper EXE that you compile with Platform Target = Any CPU can solve your problem.Ĭertain things are going on under the hood that require you to start osk.exe from an MTA thread. There are lots of DLLs that get demand-loaded. You don't need it here.Ĭlearly, disabling redirection is a risky approach with side-effects you cannot really predict. You'll get the wrong one when you disable redirection.Ī workaround for that is to set ProcessStartInfo.UseShellExecute to false. This function lives in shell32.dll, a DLL that might have to be loaded if that wasn't previously done. By default, Process.Start() P/Invokes the ShellExecuteEx() API function to start the process. But disabling redirection is going to mess up the. I don't have a very solid explanation for the exact error message you are getting. Var path64 = path32 = path = (Environment.Is64BitOperatingSystem) ? path64 : path32
#Osk exe 64 Bit
c:\windows\system32\osk.exe and c:\windows\sysWOW64\osk.exeĪre you running any lockdown prevention products like NoVirusThanks, CryptoPrevent, or anything similar? If you are, you might try disabling them or at least lowering their prevention levels.įinally, have you been hit with any significant malware in the past?A 32 bit application running on a 64 bit operating system should start the 64 bit version of osk.exe.īelow you see a code snipped written in C# to start the correct on screen keyboard. You might also try to run each at a command prompt(admin not needed). So, it seems some redirection is taking place. An interesting thing I observed, using processexplorer(run with admin), was the path for both was system32. I tested each by double clicking them and was able to start osk. The use of AMD OS code in a system with an Intel cpu has no direct effect on the difference/variation of kernel vulnerabilities, which Intel and AMD cpus have.Īdditionally, I have osk.exe in both system32 and sysWOW64 directories. The question came up a few months ago on askwoody, involving meltdown and spectre, where one of the more tech persons provided a coding background explanation. Regarding AMD, it seems AMD wrote some of the code for MS, when the OS was put together.
#Osk exe install
These likely are the results of initial install and the later SP1. I too show 6 system files for AMD64 and x86 with single entries for Jul09 and double entries for Jun14.
#Osk exe how to
Scroll past the Summary to the section titled How to perform a clean boot and click on Windows 7 and Vista to get screen shots and directions. This is not the same as booting into safe mode. If you have them at those 7 locations, the next thing to try is a clean boot. It is 676kb and has a date of 17 June 2014.

When I "run" osk.exe (I actually right clicked it and looked at all the tabs) and select properties, I see that v 18512 is the version that comes up. I found another which Void Tools didn't show: I have 3 different versions and followed by 1852Ĭ:\Windows\winsxs\x86_microsoft-windows-osk_31bf3856ad364e35 I'm not sure why amd64 is in the path because this computer has an Intel CPU. Here's what I discovered when I went through the computer.Ħ folder locations of osk on a 64 bit computer: It might take a few days for her to read my PM and get back to me with the results.Ĭheck to see that you have 7 locations for osk.

#Osk exe Patch
If it does, then removing March's patch would probably be useless. I'll ask her to test the osk and see if it works. (If you image, I'd create an image before you uninstall the Match patch).īefore you do that, I have a friend at another forum who keeps her 90+ year old mother's Win 7 laptop patched. Since you can't pinpoint exactly when it stopped working and I haven't seen anything aside from everything you've tried, you could experiment. You could try removing the March patch and see if the osk comes back. From the date you posted, I see on the 64 bit computer, I had already removed the Jan. I did check my 32 bit and 64 systems as far as osk working and it worked. I did this after reading that they created a bigger hole than the original. Well I never installed March's patch and I've removed January's and February's from my 64 bit Win 7 computers (2 of the 4 in the house). Re: Win 7 X64 SP1 On Screen Keyboard (OSK) not starting
