Hello Ashish Upara,
To avoid the issue of the "Yes" button for administrative permission every time the application runs, you can give your application administrator access without the popup. Here are some ways to achieve this:
1. Using a Manifest File: You can create a manifest file that specifies administrative privileges for your application, using the UAC Execution Level attribute. The manifest file can be embedded into your application by adding the resource file to the project in Qt Creator.
2. Editing Registry: You can edit the registry to disable the User Account Control (UAC) prompt every time your application is run. However, this might not be the safest option as it disables a security feature of Windows.
3. Using RunAs...