Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to fix UIPI error ? #30

Open
kenlmm opened this issue Dec 18, 2019 · 7 comments
Open

How to fix UIPI error ? #30

kenlmm opened this issue Dec 18, 2019 · 7 comments

Comments

@kenlmm
Copy link

kenlmm commented Dec 18, 2019

windows10 os
HResult=0x80131500
Message=Some simulated input commands were not sent successfully. The most common reason for this happening are the security features of Windows including User Interface Privacy Isolation (UIPI). Your application can only send commands to applications of the same or lower elevation. Similarly certain commands are restricted to Accessibility/UIAutomation applications. Refer to the project home page and the code samples for more information.
Source=WindowsInput

@OvaisMemon
Copy link

Some simulated input commands were not sent successfully. The most common reason for this happening are the security features of Windows including User Interface Privacy Isolation (UIPI). Your application can only send commands to applications of the same or lower elevation. Similarly certain commands are restricted to Accessibility/UIAutomation applications.

I need to fix this error. Pls help me out.

@peteryang023
Copy link

I encounter the same issue, is there any ideas?

@sreeraj05
Copy link

I am also facing same issue any one have a solution for this

@ChristianErdtmann
Copy link

Zou can try this. If that should work on normal pc if you found a better solution i would be happy to hear: https://social.msdn.microsoft.com/Forums/windowsdesktop/en-US/674b4951-1c6e-400a-838e-dc72c672a12c/uac-automation-success?forum=windowssecurity

@JianQinJS
Copy link

I have the same issue, my automation runs on github self-hosted runner which is a VM. If I RDP to this VM, then everything works fine. But if I don't RDP, then all the tests failed because of the above error.

I have tried https://social.msdn.microsoft.com/Forums/windowsdesktop/en-US/674b4951-1c6e-400a-838e-dc72c672a12c/uac-automation-success?forum=windowssecurity, but not working for me.

@sreeraj05
Copy link

@JianQinJS I am using a web application automation and trying to bypass the windows authentication using selenium .

I am loaded the authentication url like below before the actual url starts .

https://username@domain:password@api.domain.net/test/api/Authentication/test

eg: https://sreeuser@abc.net:mypwd@abc.uat.net/test/api/Authentication/auth

I have an angular web app and its calling API , that API having authentication

@qidongdong
Copy link

qidongdong commented Sep 18, 2024

Most of the problems are caused by antivirus software
Turn off the anti-virus software or add the software to the whitelist

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants