Solved

Prevent User Access Control Prompts for given Windows user.

Posted on 2014-02-25
10
419 Views
Last Modified: 2014-04-07
I am getting UAC (user access control) prompt every time I try and run the Windows diskpart application. I have added the logged in user to the Administrators group but the prompt still occurs - I thought being an admin user would circumvent the prompt but it appears not.

I have an existing built in user that has the same group memberships as my user and when I use this account the problem does not occur? I have compared all settings between the two accounts and apart from the name and the fact one account is a built in Windows user there is no difference.

Do you know how I can configure the user to avoid the UAC prompt - I do not want to switch off the UAC entirely? Also if this configuration can be set via a dos prompt/vbscript all the better...

Any help much appreciated.
0
Comment
Question by:Blowfelt82
10 Comments
 
LVL 13

Expert Comment

by:Michael Machie
Comment Utility
From what I know UAC is either on or off, no middle ground of On for X and Off for Y.
0
 

Author Comment

by:Blowfelt82
Comment Utility
I think that is correct, but I have two users in my environment. One gets the prompt and the other doesnt - so I can only assume there is some difference between the users permissions?
0
 
LVL 13

Expert Comment

by:Michael Machie
Comment Utility
The built-in accounts have back-end access that a standard, even admin account, would NOT have. Built-in accounts are generally for internal O/S operations that could be affected if permissions were not correct, so they are segregated from the other types of User accounts.
0
Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

 
LVL 53

Accepted Solution

by:
McKnife earned 500 total points
Comment Utility
The built-in account "administrator" forms an exception: for him, the UAC behaves as if it were off, despite it's on. He is UAC immune. We cannot use other accounts and achieve the same for them, sorry. What you could do is start the script or program via a shortcut that launches task scheduler. See http://www.techrepublic.com/blog/windows-and-office/run-uac-restricted-programs-without-the-uac-prompt/ for a howto.
0
 
LVL 59

Expert Comment

by:LeeTutor
Comment Utility
I've requested that this question be deleted for the following reason:

Not enough information to confirm an answer.
0
 
LVL 53

Expert Comment

by:McKnife
Comment Utility
http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Windows/Windows_7/Q_28374176.html#a39901732 is a solution without a doubt. This problem is old, solutions are well-known.
0
 
LVL 13

Expert Comment

by:Michael Machie
Comment Utility
I believe McKnife should be marked as correct. He provided a valid reason as well as an accepted workaround.
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

First some basics on Windows 7 Backup.  It has 2 components one is a file based backup which is stored in .zip files each zip is split at around 200 Megabytes and there is the Image Backup which is as the name implies a total image of the partition …
New Windows 7 Installations take days for Windows-Updates to show up and install. This can easily be fixed. I have finally decided to write an article because this seems to get asked several times a day lately. This Article and the Links apply to…
In this Micro Tutorial viewers will learn how to use Boot Corrector from Paragon Rescue Kit Free to identify and fix the boot problems of Windows 7/8/2012R2 etc. As an example is used Windows 2012R2 which lost its active partition flag (often happen…
This Micro Tutorial will give you a introduction in two parts how to utilize Windows Live Movie Maker to its maximum editing capability. This will be demonstrated using Windows Live Movie Maker on Windows 7 operating system.

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now