Page 1 of 3 123 LastLast

  1. Joined : May 2016
    Posts : 536
    Windows 10
       08 May 2016 #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 System SpecsSystem Spec


  2. Joined : Jun 2016
    Posts : 4
    Windows 10
       23 Jun 2016 #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 System SpecsSystem Spec


  3. Joined : May 2016
    Posts : 536
    Windows 10
       23 Jun 2016 #3

    KiloOne said: View Post
    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 System SpecsSystem Spec


  4. Joined : Jun 2016
    Posts : 4
    Windows 10
       23 Jun 2016 #4

    Adalwar said: View Post
    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 System SpecsSystem Spec


  5. Joined : May 2016
    Posts : 536
    Windows 10
       23 Jun 2016 #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 System SpecsSystem Spec


  6. Joined : Sep 2014
    Posts : 2,923
    Windows 10 Pro
       23 Jun 2016 #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 System SpecsSystem Spec


  7. Joined : May 2016
    Posts : 536
    Windows 10
       23 Jun 2016 #7

    Mystere said: View Post
    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 System SpecsSystem Spec


  8. Joined : Sep 2014
    Posts : 2,923
    Windows 10 Pro
       23 Jun 2016 #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 System SpecsSystem Spec


  9. Joined : Aug 2015
    Melbourne
    Posts : 199
    Win 10 Pro X64
       23 Jun 2016 #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 System SpecsSystem Spec


  10. Joined : Sep 2014
    Posts : 2,923
    Windows 10 Pro
       23 Jun 2016 #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 System SpecsSystem Spec


 
Page 1 of 3 123 LastLast


Similar Threads
Thread Forum
[HELP] Windows 8.1 to Windows 10 Beats audio program no longer working
typically i see the beats loggo in my task bar, but since ive upgraded to windows 10 i havent... when i searched for it and tried to run the program Windows pops up a 'missing shortcut' message saying "Windows is searching for IDTNC54.cpl. To...
Software and Apps
Anyone have Windows 10 working
with a mobile NVidia 7600 card?
Drivers and Hardware
windows 10 map app not working
This is on a dell venue pro 11 tablet with windows 10 pro. I downloaded an offline map in settings, then map app would not load. When I click on map, it pop up for 3 seconds then gone. I tried run App troubleshooter. It did not find any...
Software and Apps
Multiple Software not working: Windows Essentials, Acronis, Windows Up
Hi All- First time posting here and fingers crossed. I have a new Alienware PC that came with Windows 8.1. Everything was working great. I went on vacation and came back last Saturday the 8th. Turned it on and let it run. I believe several...
General Support
Solved Get Windows 10 App Not Working
I do not have the get windows 10 app on my computer. The windows 10 icon has never appeared at the icon tray. My system is up to date. I have a genuine copy of windows. I have above the minimum PC specs. I have always been connected to the internet....
General Support
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 16:34.
Find Us
Twitter Facebook Google+



Windows 10 Forums