697 questions
Best practices
0
votes
0
replies
56
views
Secure remote access
I have a question about the organization of secure access to remote working resources. The following remote access scheme is discussed:
OpenVPN Remote Desktop Gateway + 2FA (PrivacyIDEA) Remote ...
0
votes
0
answers
78
views
"Paste" menu item is disabled when run app via applescript with administrator privileges
When running the application through apple scripts with administrator rights, the menu item "Paste" is disabled on any input fields. For example
do shell script "/Applications/Safari....
1
vote
1
answer
147
views
User's role switches to "None" from "Administrator" on login [closed]
Whenever some users (but not others) log into a WordPress website, their role changes from "Administrator" to "None". Their first name, last name, and nickname also get set to ...
1
vote
1
answer
342
views
How to determine if user has admin rights, but script not running elevated
I have tried various solutions online (some not very clear on whether they are for detecting script being elevated, as opposed to script running under a user that doesn't need to supply creds to UAC ...
0
votes
0
answers
77
views
Check if a standard Windows user is launching an application with Run as Administrator option using Windows service
I've a custom Windows service (written in C#) which basically I'm using for whitelisting or blacklisting Windows applications. I don't want to use any existing Windows functionality or any commercial ...
0
votes
0
answers
109
views
WinUI3 application does not restart with administrator privileges on Windows 11
I’m trying to implement a program restart asking the user for admin rights for the WinUI3 application. The application uses Windows Update API and I need this functionality to allow the user to ...
0
votes
0
answers
84
views
How to install CA certificate into LocaMachine Root via powershell under standard user (Administrators group)
I need to install CA certificate into LocaMachine Root via powershell. I'm trying to run this script with elevated privileges to Standard user from Administrators group.
Import-PfxCertificate -...
0
votes
0
answers
69
views
Users running program as administrator
I need my users to be able to run a program as an admin but dont want to get them the admin details.
We work in a remote desktop environment (Azure VDI) and when they run a particular program as ...
3
votes
1
answer
193
views
Connect to admin named pipe from regular client
I'm trying to have a duplex named pipe in Windows using Golang and https://pkg.go.dev/github.com/Microsoft/go-winio package.
The client runs as a regular process but the server runs elevated (the ...
0
votes
1
answer
229
views
Get Active Directory Local Administrator account name using C#
I was try to get AD LAPS admin Account name using C#. I got MS documents that they mention msLAPS-Password attribute Contains Json of values {"n":"Administrator","t":&...
0
votes
0
answers
73
views
Make an external exe file to run as administrator in VB.NET
I'm currently working on an application that creates a CMD file. The application also allows the user to convert the CMD file to EXE file using the iexpress tool in Windows. The problem is, my ...
0
votes
0
answers
105
views
Python .py into exe and as administrator
I made a python text game ages ago that was really complicated but I wanted to send it to some friends. I tried to convert it into a exe using pyinstaller but I had a lot of issues. It wouldn't let me ...
0
votes
0
answers
541
views
C# requestedExecutionLevel with uiAccess="false" doesn't work properly
I'm creating a C# app that needs to run with admin rights - so I've added an app.manifest and made sure I have this line:
<requestedExecutionLevel level="requireAdministrator" uiAccess=&...
0
votes
0
answers
146
views
UAC get Token from Where?
When a User try to run an application as Administrator they have two option, if they are belongs to administrators group they gone through YES or NO consent prompt. if they are standard user who doesn'...
0
votes
0
answers
116
views
Android users asking for validation code?
I do support for an android app which uses device admin rights and people are asking me for a validation code. Does anyone know what the exact name for this code is and where I can point them? This ...