1,443 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
2
votes
0
answers
109
views
Tkinter buttons appear outside window when using PyInstaller's --uac-uiaccess flag with topmost=True
I'm developing an accessibility application using Python and Tkinter where I need to use PyInstaller's --uac-uiaccess flag to ensure proper access to UI automation features.
The Problem
When I compile ...
1
vote
1
answer
177
views
Run Dart process as admin on Windows
I am working on a program for doing post-imaging tasks on Windows computers. Several of the things it needs to do require running subprocesses as admin. It seems like there are solutions for Linux and ...
0
votes
0
answers
144
views
Detecting Elevation Requirements in Newly Laucnhed Processes
I'm developing a process monitoring program that identifies processes requiring elevation.
My current approach involves:
GUI Thread to handle the user interface.
Monitoring Thread utilises Event ...
1
vote
1
answer
173
views
Supress "terminal-window" when executing an elevated windows command
An GUI application I wrote executes elevated diskpart /s some_script. This works fine except for the fact that a terminal window is popping open showing the execution of diskpart. I wonder if there ...
0
votes
1
answer
154
views
Is there a way to embed Azure AD admin creds to a script to bypass UAC prompt? (PS)
I've created a PowerShell script to clean endpoint devices joined to Entra, but I'm encountering issues with streamlining the UAC credential entry for admin processes like DISM. Running the script as ...
1
vote
0
answers
180
views
VB6.EXE on Windows 11 is treated as an app from an unknown publisher
I have installed Visual Basic 6 on Windows 11 and want to use it from a script to compile several programs. The annoyance is that VB6.exe is treated as an app from an unknown publisher and every time ...
3
votes
1
answer
380
views
How to Detect the Actual Program Name Triggering UAC?
I'm working on a C++ program to track newly launched processes using the Toolhelp32Snapshot API. Here's the relevant code snippet:
std::optional<Process> getNewProcess() {
static DWORD ...
0
votes
1
answer
88
views
OPOS LDN Not Found in VS2022 (possible UAC issue?)
I know this is super esoteric but here goes:
I've just recently ported a vs2008 app to vs2022. As part of this process I'm cleaning up our various UAC issues so the application can be run properly by ...
-1
votes
1
answer
81
views
Anaconda Windows Installer UAC NSIS flag
When I manually execute the Windows installer for Anaconda to install it for "All Users (required admin privileges)", the following parameters are specified by the manufacturer: /UAC:301B0 /...
0
votes
1
answer
107
views
Why doesn't my "try/except" block catch this error?
To make my Python code relaunch with admin privileges:
import sys
import os
from win32comext.shell import shell
asadmin = 'asadmin'
if sys.argv[-1] != asadmin:
script = os.path.abspath(sys.argv[0])...
1
vote
0
answers
143
views
MSI installer temporary name in UAC: How to change using 'Set-AuthenticodeSignature'?
I have the same problem as the following questions, i.e. wix created, and signed msi installer is displaying its random name while in UAC. BUT I am not using the SignTool to sign, rather the Set-...
-1
votes
1
answer
113
views
UAC shield on icon stops the icon scaling in folder view
After many days of searching, I couldn't find the answer anywhere.
I've created a Windows Forms app in Visual Studio 2022. I have an icon that scales correctly when I zoom in folder view.
Now, my app ...
2
votes
0
answers
49
views
Unable to write to Program Files even with requireAdministrator [duplicate]
I'm creating a custom WPF .NET 8 installer for an app we're deploying. The app itself won't require admin rights to run, but the installer needs permission to write to Program Files.
According to lots1...
1
vote
0
answers
56
views
How to copy file from local appdata to temp in C#?
I'm trying to create app that needs files from local appdata and I edit it for app, so I copy it to temp folder. C# can't copy it because "Acces denied".
I've already tried to create ...
0
votes
1
answer
116
views
Delete files after pressing no in batch file UAC prompt
I have a SFX zip with files and a batch inside that auto-starts after extraction. The batch starts by attempting to elevate priviliges to the batch using the get admin code below.
Works fine, have ...