Can't launch 64-bit OSK.EXE from 32-bit Total Commander

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
ib
Junior Member
Junior Member
Posts: 21
Joined: 2008-04-25, 22:45 UTC

Can't launch 64-bit OSK.EXE from 32-bit Total Commander

Post by *ib »

I'm trying to launch 64-bit C:\Windows\System32\osk.exe from 32-bit Total Commander, but getting the error message "Could not start On-Screen Keyboard". I can launch the file from Windows Explorer, but get the same error message if I try to launch the 32-bit C:\Windows\SysWOW64\osk.exe (both from TC and Explorer).

Any ideas?

My system:
Windows 10 Enterprise 64 bit Version 1607 (OS Build 14393.693)
Total Commander Version 9.0a 32 bit (2016-12-14)

I have searched the forum for a similar issue but failed finding it.
User avatar
Dalai
Power Member
Power Member
Posts: 10032
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Post by *Dalai »

Take a closer look at the Windows\system32 directory and you'll see that it doesn't contain what you think it contains. More on this topic can be found e.g. in this pinned thread.

Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
User avatar
tuska
Power Member
Power Member
Posts: 4121
Joined: 2007-05-21, 12:17 UTC

Post by *tuska »

For me it looks like this...

Code: Select all

!----------------------!---------!------------------!-------------------------------------------!
! Path                 ! osk.exe ! TC + Explorer    ! Windows                                   !
!----------------------!---------!------------------!-------------------------------------------!
! C:\Windows\System32  !   NOK   ! 9.0a 32bit       ! 10 Pro x64 Version 1607 (Build 14393.693) !
! C:\Windows\SysWOW64  !   NOK   ! 9.0a 32bit       ! 10 Pro x64 Version 1607 (Build 14393.693) !
!----------------------!---------!------------------!-------------------------------------------!
! C:\Windows\System32  !   OK    ! 9.0a 64bit       ! 10 Pro x64 Version 1607 (Build 14393.693) !
! C:\Windows\SysWOW64  !   NOK   ! 9.0a 64bit       ! 10 Pro x64 Version 1607 (Build 14393.693) !
!----------------------!---------!------------------!-------------------------------------------!
! C:\Windows\System32  !   OK    ! Windows Explorer ! 10 Pro x64 Version 1607 (Build 14393.693) !
! C:\Windows\SysWOW64  !   NOK   ! Windows Explorer ! 10 Pro x64 Version 1607 (Build 14393.693) !
!----------------------!---------!------------------!-------------------------------------------!

C:\WINDOWS\system32\osk.exe	611.328	16.07.2016 13:42	-a--
C:\WINDOWS\SysWOW64\osk.exe	587.776	16.07.2016 13:42	-a--
Regards
Karl
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

You should start C:\Windows\Sysnative\osk.exe if you're in 32-bit TC under 64-bit Windows.

BTW funny stupid Windows 10, I can start both 32- and 64-bit osk.exe under Windows 7. :D
User avatar
tuska
Power Member
Power Member
Posts: 4121
Joined: 2007-05-21, 12:17 UTC

Post by *tuska »

MVV wrote:You should start C:\Windows\Sysnative\osk.exe if you're in 32-bit TC under 64-bit Windows.
I migrated from Windows 7 Pro to Windows 10 Pro and the folder "Sysnative" did not exist.
Therefore I created this folder and it was filled automatically with files and folders AND
C:\Windows\Sysnative\osk.exe 611.328 16.07.2016 13:42 -a-- ... was there.

But this version of the file does not work and it is not possible to copy/overwrite
from: C:\WINDOWS\system32\osk.exe   611.328   16.07.2016 13:42   -a--
to .. : C:\Windows\Sysnative\osk.exe   587.776   16.07.2016 13:42   -a--

For me it's not a problem though.

EDIT:
The folder "Sysnative" (without creationdate, accessdate) is for me only visible under TC 9.0a 32bit
(and not in TC 9.0a 64bit and Windows Explorer!)

Regards
Karl
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

Sysnative is a pseudo-folder, a link to real 64-bit System32 folder which is only available in 32-bit programs, so of course Explorer doesn't see it, 32-bit programs also don't see it but can see files and folders in it, and 32-bit TC shows it as a folder because it is possible to enter it.
User avatar
tuska
Power Member
Power Member
Posts: 4121
Joined: 2007-05-21, 12:17 UTC

Post by *tuska »

Thanks for your explanation!

I stay with: http://ghisler.ch/board/viewtopic.php?p=324469#324469
BTW: The folder "Sysnative" is no longer deletable.

Regards
Karl
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

Yes, you can't delete Sysnative folder because it doesn't exist physically. :)

Hm, just tried to start C:\Windows\Sysnative\osk.exe, it doesn't work too, it seems that it does something really weird so can't work, it is definitely an osk.exe's bug (Windows 10's osk.exe) that it can't be started from neither of three folders from 32-bit process. It is interesting BTW why I can start osk.exe from either of the folders under Windows 7 correctly while some users can't.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50909
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Looks like a bug in Windows 10: There is an osk.exe in 32-bit system32, but it doesn't work. Solution: Run the keyboard from the task bar, there is a keyboard icon for that.
Author of Total Commander
https://www.ghisler.com
GPEX
Junior Member
Junior Member
Posts: 5
Joined: 2017-01-29, 22:48 UTC

Post by *GPEX »

That seems to happen on 64bit OS, when used in a 32bit app. The reason is that it starts the 32bit OSK (in C:\Windows\SysWoW64) instead of the required 64bit one. OSK starts, and then has issues with the OS.
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

GPEX wrote:The reason is that it starts the 32bit OSK (in C:\Windows\SysWoW64) instead of the required 64bit one.
It is a well-known fact, however it is a bug in 32-bit osk.exe that it doesn't work in 64-bit Windows 10 (it works fine e.g. in Windows 7).
User avatar
HolgerK
Power Member
Power Member
Posts: 5412
Joined: 2006-01-26, 22:15 UTC
Location: Europe, Aachen

Post by *HolgerK »

User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

HolgerK,
Oh, you're right! :D
I was able to detect them previously, but this one have loked just as a newbie...
Post Reply