Disable "You'll need to provide administrator permission" prompt in Windows 7
Solution 1:
You are not allowed to take ownership of many files like C:\Users
, C:\bootmgr
, C:\hiberfile.sys
, pagefile.sys
, C:\Program Files
, etc., and thereby even the C:\
drive as a whole. Also, setting permissions isn't disabling the admin prompt, it's simply attempting to sidestep the issue instead.
Here is the actual solution: Disabling the prompt
For Windows 7 Ultimate, Business or Enterprise edition which has Local Group Policy, or computer joined to domain and has Active Directory-based GPO, the group policy can be used to disable UAC for local computer or many computer across large networks at once.
- Enter GPedit.msc in Start Search to run Local Group Policy editor. (Or gpmc.msc to run Group Policy Management Console for AD-based domain GPO editor).
-
Navigate to the following tree branch:
Computer Configuration -> Windows Settings -> Security Settings -> Local Policies -> Security Options
In GPMC, browse to the required GPO which is linked to the domain or OU where the policy wants to apply.
-
Locate the following policy in the right pane:
User Account Control: Behavior of the elevation prompt for administrators in Admin Approval Mode
Set its value to Elevate without prompt.
-
Locate the following policy in the right pane:
User Account Control: Detect application installations and prompt for elevation
Set its value to Disabled.
-
Locate the following policy in the right pane:
User Account Control: Run all administrators in Admin Approval Mode
Set its value to Disabled.
-
Locate the following policy in the right pane:
User Account Control: Only elevate UIAccess applications that are installed in secure locations
Set its value to Disabled.
Disable UAC with Group Policy
Restart the computer when done.
Solution 2:
You could take ownership of the internal folder you use.
Solution 3:
According to this article there may be some issues with Metro apps, but disabling UAC using regedit worked for me. To do so, start regedit (by typing regedit
in the run command) and navigate to:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System
Change the value of the entry EnableLUA
to 0
. Then restart your machine. Upon doing this, I never get nagged with a dialog to "provide administrator permission" anymore.