Solved

Prevent User Access Control Prompts for given Windows user.

Posted on 2014-02-25
10
421 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
ID: 39886716
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
ID: 39886805
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
ID: 39886850
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
Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

 
LVL 53

Accepted Solution

by:
McKnife earned 500 total points
ID: 39901732
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
ID: 39955823
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
ID: 39955824
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
ID: 39973263
I believe McKnife should be marked as correct. He provided a valid reason as well as an accepted workaround.
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

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…
You may have a outside contractor who comes in once a week or seasonal to do some work in your office but you only want to give him access to the programs and files he needs and keep privet all other documents and programs, can you do this on a loca…
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
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…

910 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

19 Experts available now in Live!

Get 1:1 Help Now