How to give administrator access to a application in windows 10 without administrator popup

Joined
Jun 20, 2023
Messages
2
Reaction score
0
Hi,

I need to change the system time using a Qt application. I have a specific function in Qt Creator that handles this task. However, changing the time requires administrative privileges for the application. The issue is that this application is running on a Single Board Computer (SBC) and it runs on autostart when the SBC boots up. Therefore, it is not feasible to manually press the "Yes" button for administrative permission every time.

Does anyone have any idea how to avoid this issue?

Thanks and regards,
Ashish Upara
 
Joined
Jun 25, 2023
Messages
1
Reaction score
0
Hello there,

If I understand your question correctly you don't want the UAC pop-up every time your program needs to make administrative changes.
To do this you must make changes to the User Account Control (UAC for short). To do this:
1. Open Control Panel (you can search for it through the windows search bar)
2. Go to System and Security > Security and Maintenance > Change User Account Control Settings (option on the left menu)
3. Set the slider to "Never notify"
4. Click OK
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top