Prevent User Access Control Prompts for given Windows user.

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.
Blowfelt82Asked:
Who is Participating?
 
McKnifeConnect With a Mentor Commented:
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
 
Michael MachieFull-time technical multi-taskerCommented:
From what I know UAC is either on or off, no middle ground of On for X and Off for Y.
0
 
Blowfelt82Author Commented:
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
Cloud Class® Course: MCSA MCSE Windows Server 2012

This course teaches how to install and configure Windows Server 2012 R2.  It is the first step on your path to becoming a Microsoft Certified Solutions Expert (MCSE).

 
Michael MachieFull-time technical multi-taskerCommented:
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
 
LeeTutorretiredCommented:
I've requested that this question be deleted for the following reason:

Not enough information to confirm an answer.
0
 
McKnifeCommented:
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
 
Michael MachieFull-time technical multi-taskerCommented:
I believe McKnife should be marked as correct. He provided a valid reason as well as an accepted workaround.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.