SendKeys not working on Windows 10

Page 1 of 3 123 LastLast

  1. Posts : 579
    Windows 10
       #1

    SendKeys not working on Windows 10


    Hi every body,
    Sorry for my poor English.

    I am trying to use the "SendKeys" command to the Windows Calculator in Win 10 but it does not work at all.
    In Win 8.1 it works fine, but only if I have disabled completly the UAC via Registry (EnableLUA=0).

    In Win 10, disabling UAC via Regsitry the Calculator does not Start at all as many other things stop working. And with EnableLUA=1 the SendKeys just does not work, but the Calculator is copying and reding from Clipboard (Ctrl+c, Ctrl+V).

    Does anybody have an a Ideia how un-block this?
    Thank you.
      My Computer


  2. Posts : 4
    Windows 10
       #2

    I have a similar problem in Win 10 with a mintty (a Cygwin64 Terminal) window not accepting wscript sendkeys, any help would be appreciated. Worked fine in Win 7.
      My Computer


  3. Posts : 579
    Windows 10
    Thread Starter
       #3

    KiloOne said:
    I have a similar problem in Win 10 with a mintty (a Cygwin64 Terminal) window not accepting wscript sendkeys, any help would be appreciated. Worked fine in Win 7.
    Hi,
    SendKeys is Blocked in W10. In W8.1 it still works.
    There are other anoying things, like not allowing App to Read or Wright to Drive C. The "file" is there but W10 "hides" it or simply not allowing to access it.
    There are Netwok problems also, not allowing App to work on LAN environement.
    Well, my opinion is that W10 behaves like Malware to user PC. Useless.
      My Computer


  4. Posts : 4
    Windows 10
       #4

    Adalwar said:
    Hi,
    SendKeys is Blocked in W10. In W8.1 it still works.
    There are other anoying things, like not allowing App to Read or Wright to Drive C. The "file" is there but W10 "hides" it or simply not allowing to access it.
    There are Netwok problems also, not allowing App to work on LAN environement.
    Well, my opinion is that W10 behaves like Malware to user PC. Useless.
    Right from the start of my Win 10 experiment I have been discouraged. Took amazing gymnastics to get my right side taskbar setup with my old quicklaunch icons, even had to revert back to a windows color theme just so I could read the taskbar items due to limited taskbar back colors.
    Then, I ran into existing file write issues on ALL my hard drives. That was unbelievable. Not sure I have even corrected all that yet.
    Now, Sendkeys doesn't work, I have written so many sendkeys programs over the years I lost track. There are way more reasons than malware to use sendkeys.
    I am afraid if I go back to Win 7 it will never be the same there, will they put all the file permissions back to the way they were before I installed this Win 10 abortion?
    Last edited by KiloOne; 23 Jun 2016 at 13:48.
      My Computer


  5. Posts : 579
    Windows 10
    Thread Starter
       #5

    "I am afraid if I go back to Win 7 it will never be the same there, will they put all the file permissions back to the way they were before I installed this Win 10 abortion?"
    Well, I can not tell you. But I am convinced all that "lockinng Files, Folders and App" Features are W10 related. If you move back, I bleieve the OS will not be able to do all that "locking Features" that they advertising as "Security".
    In the mean time I have been come acroos with crazy things in W10. There are several Hidden Folders, containing COPIES of Key Files for the Application. Why is W10 doing that? to make Programmers Crazy or what?
    That is the case , for example, of certain files located origanly under "Program Files > Commeon FIles" they beeing copied to a Hidden Folder named "Programm Data" under the Root of C: . That is preventing the App to find its File, because Windows wants to present to the App the file Hidden in Programm Data Folder.
    Also there is a Hidden Folder under "Users" called "VirtualData" which contains a copy of Data Files from an App. When App starts it is woking with the Copy rather than the original. That is all a bull sheet.
      My Computer


  6. Posts : 3,257
    Windows 10 Pro
       #6

    You really should learn how UAC works. If you had a deeper understanding of it, you would understand exactly what's going on and why it's doing what it does. As it stands, you comments seem to be coming from a lack of understanding.
      My Computer


  7. Posts : 579
    Windows 10
    Thread Starter
       #7

    Mystere said:
    You really should learn how UAC works. If you had a deeper understanding of it, you would understand exactly what's going on and why it's doing what it does. As it stands, you comments seem to be coming from a lack of understanding.
    What is there to understand?! There is nothing to undertand. I have been losing Weeks of work to figure out what was BLOCKING my Aplication, including the Network! That "Security" thing is solely based on BLOCKING User´s activity. I even believe that MS is using that "Security" argument to defeat its concurrents.
    I have more than 25 Years on Computing experience, I have University Programming Study, so you have nothing to tell me about.
      My Computer


  8. Posts : 3,257
    Windows 10 Pro
       #8

    Wow.

    First of all. The Calculator in Windows 10 is a Universal app, unlike the old calculator. You cannot use SendKeys with it. Nothing you can do will fix that. It has nothing to do with UAC, there simply is no Win32 message passing between Desktop and Universal Apps. Further, Universal apps don't work at all without UAC because they depend on the UAC subsystem to function.

    Second of all, some of the stuff you're talking about has very logical reasons for it. For instance, read this:

    UAC Architecture

    In particular, pay close attention to the Virtualization section.

    Finally, Windows does not allow messages to be sent between windows of different privilege. This is to prevent Shatter attacks. It's called User Interface Privilege Isolation.

    Shatter attack - Wikipedia, the free encyclopedia

    The fact that you don't know ANY of this stuff makes me just shake my head when you sit here yelling about how you know everything, and have nothing to learn. Just amazing.

    If you plan to use Windows 10, then i'd suggest giving up on SendKeys. It's not a maintainable solution.

    You also don't mention what you're using to do your SendKeys implementation. If you're using .NET (C# or VB.NET) and you aren't trying to send between different privilege contexts, then there is an app.config entry that might help, read the note on the SendKeys class

    SendKeys Class (System.Windows.Forms)
    Last edited by Mystere; 23 Jun 2016 at 18:14.
      My Computer


  9. Posts : 260
    Win 10 Pro X64
       #9

    You can always use the old calculator and see if it works with the send keys

    Old Windows 7 Calculator for Windows 10
      My Computer


  10. Posts : 3,257
    Windows 10 Pro
       #10

    I doubt that's legal. Microsoft owns the copyright on the old calculator, and I doubt they've allowed anyone to distribute it like that.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 04:47.
Find Us




Windows 10 Forums