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

UAC confirmation and command prompt window #1

Closed
Polygon1177 opened this issue Nov 6, 2023 · 7 comments
Closed

UAC confirmation and command prompt window #1

Polygon1177 opened this issue Nov 6, 2023 · 7 comments
Assignees
Labels
bug Something isn't working enhancement New feature or request

Comments

@Polygon1177
Copy link

Hi there, great tool - I'm using it for Steelseries Sonar. : )

Is there a way to avoid having to confirm the UAC popup, and the command prompt showing up?

Thanks!

@SystemXFiles SystemXFiles self-assigned this Nov 6, 2023
@SystemXFiles
Copy link
Owner

@Polygon1177 Hi!

I'm glad to see you're using Process Governor. To assist you further, I need to clarify a couple of things:

  1. Have you downloaded the latest version of the program?
  2. Are you launching it using the Process Governor.exe file or the process-governor.py script?

I would also like to remind you that it's crucial to run the program with administrative rights for it to function correctly, as some features may not work as expected without them.

@Polygon1177
Copy link
Author

Hi there, thanks for your quick reply.

  1. Have you downloaded the latest version of the program?

Yes, just started to use it yesterday, having downloaded the latest version.

  1. Are you launching it using the Process Governor.exe file or the process-governor.py script?

I'm using the binary file.

I would also like to remind you that it's crucial to run the program with administrative rights for it to function correctly, as some features may not work as expected without them.

I do understand it needs admin rights for its functionality to work properly.

I right-clicked the systray icon and checked "Run on Startup". All works well, but I was just wondering if there's a way to get around the admin confirmation pop-up, and if the command prompt window can somehow be hidden. : )

Also, I'm on WIndows 11 Home 23H2 22631.2506.

Thanks!

@SystemXFiles
Copy link
Owner

Thank you for the clarification.

Are you referring to the command prompt window that briefly appears before the Process Governor starts upon Windows startup? If so, this is standard behavior due to Windows restrictions that prevent executable files from being run with administrative rights at startup directly. As a result, a workaround through a script was implemented, which launches Process Governor with the necessary rights.

I will try to find an alternative solution to avoid the command prompt window's appearance, and possibly a way to eliminate the UAC prompt altogether at startup with Windows.

I will update you in the comments here if I find a solution.

@SystemXFiles SystemXFiles added the enhancement New feature or request label Nov 6, 2023
@SystemXFiles
Copy link
Owner

SystemXFiles commented Nov 13, 2023

Hello, @Polygon1177 !

I'm pleased to inform you that the issue you reported regarding UAC prompts and console window appearance during autostart has been resolved in our latest release.

Task Scheduler integration has been implemented for managing the autostart process, effectively eliminating UAC prompts and console window appearances at startup.

@SystemXFiles
Copy link
Owner

SystemXFiles commented Nov 14, 2023

During additional tests, the problem was reproduced again, specifically the display of the console window when starting with Windows, which is very strange. Because there was no problem before that. I find out the reasons for this behavior. I apologize for the premature decision, which has not been fully tested. Initially, it turns out that the problem was incorrectly classified by me.

@SystemXFiles SystemXFiles reopened this Nov 14, 2023
@SystemXFiles SystemXFiles added bug Something isn't working and removed enhancement New feature or request labels Nov 14, 2023
@SystemXFiles
Copy link
Owner

@Polygon1177
I found out what the problem was and fixed it in version 1.1.5

Can you please test the new version of the application and let me know if the problem is fixed now?

@SystemXFiles SystemXFiles added the enhancement New feature or request label Nov 14, 2023
@Polygon1177
Copy link
Author

Apologies for this late reply. Thanks for having looked into this. I can confirm - even though terribly late - that the issue is fixed. : )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants