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
-1
votes
1 answer

UAC Elevation using Simple COM dll

How to create a simple COM DLL which can be used to elevate administrative tasks, I found a sample on codeproject but it deal with EXE, and i want to convert it to…
Rahul
  • 441
  • 1
  • 6
  • 16
-1
votes
1 answer

Why does Administrator rights not allow me to disable UAC programatically?

I am trying to make a program that does basic check to make a hack work. The hack injects code, and needs to make sure UAC is disabled. Is there a special way i have to do it with windows 8? ************** Exception Text…
Synposis
  • 19
  • 1
  • 6
-1
votes
1 answer

UAC Manifest file in VS2005 not working

I have an add-in in Excel that needs to store some data in the HKEY_LOCAL_MACHINE registry. because of the UAC control in Windows Vista and earlier versions, I added a manifest file. But it is just not working. I even added the manifests in each of…
-1
votes
1 answer

Windows UAC is messing with file buffers

I ask for your patience about the lack of code snippets in this question and the its vagueness, but I'm totally clueless, I don't have any clue about the location of the bug, and I cannot paste an entire application. I have a cross platform…
Lorenzo Pistone
  • 5,028
  • 3
  • 34
  • 65
-1
votes
3 answers

Activating Administrator via C++ when users are already administrator [Run as administrator]

Well I noticed that on Windows 7, sometimes even when you are an administrator, you can't do a lot of things, probably it's some sort of bug, my application I check if an user is administrator before start the program because my program creates file…
Grego
  • 2,220
  • 9
  • 43
  • 64
-2
votes
1 answer

Run PsExec from C# with admin right without UAC

I want to run a PSExec action, that need admin right, from a C# app launch from user space. Of course, the complication, that's I don't want the UAC. I want to run an action like this: PsExec.exe -i -s powershell.exe -command "whoami *>…
-2
votes
2 answers

Get list of folders protected by UAC

How to get the list of protected from write folders with UAC enabled? The process that needs this information is launched with admin rights (installer).
lightstep
  • 765
  • 2
  • 8
  • 19
-2
votes
1 answer

How to undo the "install" in compatibility administrator?

After creating a fix in the Compatibility Administrator, we can go to File menu -> Install to install it. My question is how can we undo this and restore the system to the old state? I believe the install makes some changes to registry, I can…
zar
  • 11,361
  • 14
  • 96
  • 178
-2
votes
1 answer

Windows Form Startup with Admin Permission

I have a windows form application that need of the admin permission for running, to make this, I use this code: The next step for complete the development is that this…
-2
votes
3 answers

C# library for startInfo

I can't find a C# library to use startInfo.Verb="runas". Please tell me where I can find it. using ???; ... startInfo.Verb="runas";
Lazar Galić
  • 3
  • 1
  • 4
-2
votes
2 answers

Windows UAC Security With Exe

I have an exe created with an old Borland C++ compiler. It needs administrator privileges to function correctly. Since the app will run at startup, I do not want the user prompted if it's OK to run the program (testing on Win7). My question is is…
kizeloo
  • 183
  • 8
-2
votes
1 answer

Turn UAC off with python

Does anyone know of a way to turn User Account Control off with python 3.3 for Windows. Possibly editing the registry? I know this is not reccomended, but for my purposes this would be ideal. Please help!
Luke Dinkler
  • 731
  • 5
  • 16
  • 36
-2
votes
1 answer

.net Admin Rights

Before saying this is another duplicate question, it is not. So I'm coding an application which needs full admin rights and until here is all good, I can do it without problems by editing the manifest and setting it as requireAdministrator. Now..…
xpirt
  • 30
  • 1
  • 7
-2
votes
2 answers

How to run .exe without admin rights at school

I am trying to play some online games on the school computers. Although everytime i try to run exes of setups such as Hearthstone-Setup-enUS.exe i get the User Account Control blocking me from installing applications. I undersrand that installing…
Samuel Cota
  • 57
  • 1
  • 2
  • 6
-2
votes
2 answers

Registry permission in Windows

In my small application I am trying to create a sub-key in registry. I am doing this in Windows 7. I've tried all the possible combinations of keys for the RegCreateKeyEx function. As I remember, in Win XP everything was fine. Nevertheless it…
besworland
  • 747
  • 2
  • 7
  • 17
1 2 3
95
96