Questions tagged [uac]

This tag is used for questions concerning the User Account Control (UAC) security feature of Windows Vista, Windows 7, 8 and higher versions of Windows.

This tag is used for questions concerning the User Account Control (UAC) security feature of Windows Vista, Windows 7, 8 and higher. This feature, enabled by default, reduces the privilege level of an Administrator account to those of Limited User account. Because of this, many programs that worked in previous Windows versions do not work as expected in Windows Vista, Windows 7, 8 and higher.

With UAC, each user having admin rights would have split-token - one for regular usage and one for administrative usage. Regular token won't be able to have administrative permissions (such as changing system-time, or installing applications). Administrative token would have rights to do any administrative activity.

A process (and all its threads) would have either of these tokens, and they cannot change to another token (for e.g. from Regular to Admin). User has to respond to UAC prompt when opening Admin mode (elevated) application.

Programmers can specify if their programs to require admin (elevated) token so that OS will always attempt to launch the process with elevation. This information is put into EXE header itself.

1432 questions
0
votes
1 answer

Disable UAC win7 & Vista by VB.net?

I already build an Antivirus but the problem is When the windows start show the UAC message for Users, so that let them aware from it. So how can I turn it off on bith windows Vista and win 7? or make my software as a secure software for Windows?
Samir Junaid
  • 113
  • 1
  • 3
  • 17
0
votes
1 answer

Autofill UAC Dialog Win 7

Hy there I searched a lot on google, but couldn't find an answer. Maybe you have some ideas: I have two account's on my pc, an admin account an user account. I usually work on my user account. When I want to run an application or install a new…
reneton
  • 61
  • 9
-1
votes
3 answers

Is there a way to install software that prompts for privilege escalation(UAC) programmatically?

Basically I either need to Click the UAC button with my program(which i don't believe is possible) or somehow make it so I don't need to click the button to install the software. I will also need to click buttons during the install with my program…
kthompson
  • 803
  • 6
  • 16
-1
votes
3 answers

Persistent UAC elevation

Is there any way that I can make a programs UAC elevation permanent across new instances. I have a program that runs in UAC elevated mode that needs to launch a process in UAC elevated mode but the user will not be at the computer to authorize each…
Bluebaron
  • 2,289
  • 2
  • 27
  • 37
-1
votes
1 answer

How to enforce users to install application with admin permissions in Inno Setup?

I'm updating our installer for Windows 7 (based on Inno Setup). What came into my mind is that if the user does not run the installer with admin permissions, later on the application cannot be launched directly from the installer. So I'd like to…
Tamir Gefen
  • 1,128
  • 2
  • 18
  • 35
-1
votes
2 answers

How to make application run as admin on user accounts?

Is it possible to make a .NET application always an admin while being run on a user account without a UAC popup? I've spent some time searching for this capability but haven't found any satisfactory answers. For some background info, users are…
Plaje
  • 65
  • 9
-1
votes
2 answers

Run AHK script as admin without hitting "run as administrator"

Is it possible to have an AHK script instantly run as admin without me having to right-click on it? I would like to have the UAC prompt pop up when I double-click the script. (Sorry if I am bad at explaining I am a beginner)
-1
votes
2 answers

Delphi Administrator rights D7 W7

Possible Duplicate: Delphi: Prompt for UAC elevation when needed My application written in Delphi 7 for Windows 7 requires administrator privileges for some functionality. How can I elevate it to Administrator from source code? I check the user…
wcale
  • 51
  • 9
-1
votes
1 answer

Last Logon timestamp gets changed for admin users whenever run as administartor action triggered

I logged in to my Windows 7 Enterprise machine by tests user which is standard user and runs command to check last logon info. Pleaser refer below output. >net user tests | findstr "logon" Last logon 9/16/2021 12:18:17 PM Then I…
kit
  • 1
  • 2
-1
votes
1 answer

Running a DLL as administrator

I try to execute a single DLL in admin context to force the user to enter UAC when calling a method in case that he is authenticated as a normal user. I have found the suggestion here: Visual Basic Program - Ask for Admin Permissions I have tried to…
-1
votes
1 answer

Being prompted for uac using c# process

I am trying to run an exe inside a console application. I am being prompted for UAC to enter admin credentials. The thing is i only have read and execute permissions. I cannot give full permissions as it is on a server. using (Process process = new…
user12053089
-1
votes
1 answer

Why Set UAC Execution level to asInvoker is not effect?

I've manifested a Visual Studio 2017 program to run asInvoker: But when I run the compiled program: still requires elevation: Notice the Shield overlay I've tried searching, but I cannot see what I am doing wrong.
No.6
  • 165
  • 3
  • 12
-1
votes
1 answer

Using a manifest to handle UAC in Delphi 5 causes a blank window to be created

I'm using Delphi 5 running on Windows 7. An old application we want to update now has issues with UAC. We are able to get around it by changing the EnableLUA setting in the registry, but that's NOT an ideal solution. I'm trying to elevate it and…
Keila
  • 113
  • 6
-1
votes
1 answer

check if UAC is enabled with VB6

is it possible to check if UAC is enabled with VB6 on win7 and vista? i know it has to do with reading a value in the registry, i have see .net versions, but i need a vb6 sample code thanks
Smith
  • 5,765
  • 17
  • 102
  • 161
-1
votes
1 answer

Is it possible to By Pass the UAC dialog while launching a process (.exe file) from c#?

Is it possible to By Pass the UAC dialog while launching a process (.exe file) from c# code without changing any system registry configurations?