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
-3
votes
3 answers

How to allow a python script to make changes to program files?

Using the code below I would like to move these files to the Program Files directory. If I try the code below I get this error. How can you request admin privileges like other programs do? import os import glob import shutil files =…
Arjuna
  • 188
  • 1
  • 11
-3
votes
3 answers

Inno Setup - How to prevent installation to limited windows user account

I need to prevent installation if Login User account is limited. PrivilegesRequired key is not what I am looking for. it's value already defined as "admin" by default. so that variable has nothing to do with my question. I don't want to install even…
Zen Of Kursat
  • 2,672
  • 1
  • 31
  • 47
-3
votes
2 answers

compile a C program that can run as admin without manual settings

okay~ i have searched for this question ,but the ans always solved C++ or C# i want to fopen ("C:\\myfile.txt","w"); it will permission denied . how can i compile a C program can run as admin without any manual setting? i'm using wxDEV-C++…
郭維倫
  • 39
  • 6
-3
votes
1 answer

Always run as admin after displaying UAC once?

I have an C# app that requires admin privileges for some components, so I figured out the application manifest way with level="requireAdministrator" and such. That works, but UAC asks every time the app is started now, which is really annoying for…
user3112658
  • 121
  • 2
  • 8
-3
votes
1 answer

Using Runtime, UAC and Security Manager in JAVA

Pls am trying to run this code: try{ Runtime runtime = Runtime.getRuntime(); Process p = runtime.exec("netsh wlan show hostednetwork"); } catch (Exception e){} i then get this error: You must run this command at an administrator privilege. After…
-4
votes
1 answer

Where get whitelist uac binaries?

Where I may get whitelist uac binaries for windows 7. I am try looked in msdn, google, but nothing found. I know about this lists 1 and 2, but how he build them...
DOD
  • 1
  • 1
-4
votes
1 answer

Run any application admin mode programmatically c#

I need to run my .exe with admin privileged. I searched google and found piece of xml which I need to put in app.config file. here is the xml:
Thomas
  • 33,544
  • 126
  • 357
  • 626
1 2 3
95
96