locked
Controlling computer with UAC RRS feed

  • Question

  • I have created an application which can send keyboard commands using Sendkeys, as well as move the mouse. This doesn't work when a UAC window is open or when the user is on the Windows Login screen.  I have tried to change the manifest file to include this:  <requestedExecutionLevel level="highestAvailable" uiAccess="true" />

    and then I signed the program and ran it from the Program Files directory. It was my understanding that doing this would allow my program to control the computer even when a UAC window was open or when in a Login screen. However, this is not the case. Can anyone tell me, does the uiAccess actually enable this or was I mistaken? If it doesn't can anyone tell me if/how I could do this with my application?

    Thanks!
    Wednesday, October 7, 2009 8:19 PM

All replies

  • Hi - I think my information can help:

    A User Account Control (UAC) Windows means = a switched
    desktop which equals to "secure desktop area".

    So all programs in the background including in the normal desktop,
    will be still during a UAC prompt.

    But, you're doing correct, the app shall be signed (as far as I know with a payed
    MS digital certificate, maybe you can also use the sign tool), and you should
    only run it from C:\Program Files\ directory (dir).

    I hope the above helps...

    Have a nice day...

    Best regards,
    Fisnik



    Coder24.com
    • Proposed as answer by Fisnik Hasani Sunday, October 11, 2009 8:37 AM
    Friday, October 9, 2009 5:51 AM
  • Hello coolerkid9999:

    How is the situation on your side?
    Is this issue or Thread solved?

    Please tell me!

    Have a nice day...

    Best regards,
    Fisnik
    Coder24.com
    Saturday, October 10, 2009 8:09 AM
  • Hi coolerkid9999:

    How is the situation on your side?
    Is this thread solved?

    Please tell me!

    Have a nice day...

    Best regards,
    Fisnik
    Coder24.com
    Friday, November 13, 2009 8:28 PM
  • Hi coolerkid9999:

    How is the situation on your side?
    Is this thread solved?

    Please tell me!

    Have a nice day...

    Best regards,
    Fisnik
    Coder24.com
    Thursday, November 26, 2009 12:17 PM
  • Hi again:

    How is the situation on your side?
    Is this thread solved?

    Please tell me!

    Have a nice day...

    Best regards,
    Fisnik
    Coder24.com
    Sunday, December 27, 2009 9:44 AM
  • Hi again:

    How is the situation on your side?
    Is this thread solved?

    Please tell me!

    Have a nice day...

    Best regards,
    Fisnik

    Coder24.com
    Saturday, January 2, 2010 2:57 PM