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

Access is denied #152

Open
louis030195 opened this issue Sep 3, 2024 · 8 comments
Open

Access is denied #152

louis030195 opened this issue Sep 3, 2024 · 8 comments

Comments

@louis030195
Copy link

louis030195 commented Sep 3, 2024

image

do you have any idea how to fix this?

running as admin does not fix the error, also tried to tweak windows defender settings

i'm trying to see if windows require permission on newer versions, could it be?

@louis030195
Copy link
Author

image

#139

same error (maybe)

@louis030195
Copy link
Author

wonder if its related to windows registry in any way

@louis030195
Copy link
Author

louis030195 commented Sep 4, 2024

fyi i use xcap in a tauri app and by running the app in admin it solves the issue (kinda annoying, wonder if there is alternative way to do this)

@louis030195
Copy link
Author

nvm: user is getting these errors even with admin

@nashaofu
Copy link
Owner

nashaofu commented Sep 5, 2024

Can you provide a sample code?

@louis030195
Copy link
Author

atm this is the code: https://github.com/mediar-ai/screenpipe/blob/main/screenpipe-vision/src/capture_screenshot_by_window.rs

@m13v can you help? can we create a code that reproduce this error?

@nashaofu
Copy link
Owner

nashaofu commented Sep 8, 2024

This should only output logs to the console and should not cause a crash. If your program does not depend on app_name, theoretically, it should not be affected.

@louis030195
Copy link
Author

louis030195 commented Sep 13, 2024

@nashaofu not sure to understand, do you know any way not to require admin right to use xcap on windows? happy to contribute anything

PS: $100 bounty for this fix

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

2 participants