Win7 - Opening “Programs and Features” as Admin from command line (logged in as regular user)
We have Win7 machines on a domain that we'd like to open the "Programs and Features" control applet via the command line while a regular user is logged in.
Here's the catch: I know how to do this using runas from the command line BUT after "Programs and Features" opens, I don't truly have the ability to remove a program. I am told that I need to be an Admin to do so. Here are the commands I have tried:
runas /user:%computername%administrator cmd.exe then in the new cmd window running: control appwiz.cpl
runas /user:%companydomain%%domainadminacct% cmd.exe then in the new cmd window running: control appwiz.cpl
runas /user:%computername%administrator cmd.exe then in the new cmd window running: rundll32.exe shell32.dll,Control_RunDLL appwiz.cpl
runas /user:%companydomain%%domainadminacct% cmd.exe then in the new cmd window running: rundll32.exe shell32.dll,Control_RunDLL appwiz.cpl
I have also tried all of the above as one long line of code instead of launching a cmd.exe as Admin
As you can see, I have tried running the command using both a local admin account (Administrator) AND a domain admin account. I have also tried launching the runas command as one long command (opening the "programs and features") AND 1st launching a cmd.exe with admin rights and THEN launching the "Programs and Features" window. The result is the same: The "Programs and Features" windows opens but when I try to perform an uninstall, I am told I need Admin rights. Thus I am lead to believe that this instance of "Programs and Features" is not truly being run as an admin.
I am trying to avoid logging the regular user out. I am also aware that every program has its own uninstaller, I do not want to uninstall that way. I want to use the uninstaller in "Programs and Features". Any help is appreciated.
windows-7
migrated from stackoverflow.com Oct 16 '12 at 4:40
This question came from our site for professional and enthusiast programmers.
add a comment |
We have Win7 machines on a domain that we'd like to open the "Programs and Features" control applet via the command line while a regular user is logged in.
Here's the catch: I know how to do this using runas from the command line BUT after "Programs and Features" opens, I don't truly have the ability to remove a program. I am told that I need to be an Admin to do so. Here are the commands I have tried:
runas /user:%computername%administrator cmd.exe then in the new cmd window running: control appwiz.cpl
runas /user:%companydomain%%domainadminacct% cmd.exe then in the new cmd window running: control appwiz.cpl
runas /user:%computername%administrator cmd.exe then in the new cmd window running: rundll32.exe shell32.dll,Control_RunDLL appwiz.cpl
runas /user:%companydomain%%domainadminacct% cmd.exe then in the new cmd window running: rundll32.exe shell32.dll,Control_RunDLL appwiz.cpl
I have also tried all of the above as one long line of code instead of launching a cmd.exe as Admin
As you can see, I have tried running the command using both a local admin account (Administrator) AND a domain admin account. I have also tried launching the runas command as one long command (opening the "programs and features") AND 1st launching a cmd.exe with admin rights and THEN launching the "Programs and Features" window. The result is the same: The "Programs and Features" windows opens but when I try to perform an uninstall, I am told I need Admin rights. Thus I am lead to believe that this instance of "Programs and Features" is not truly being run as an admin.
I am trying to avoid logging the regular user out. I am also aware that every program has its own uninstaller, I do not want to uninstall that way. I want to use the uninstaller in "Programs and Features". Any help is appreciated.
windows-7
migrated from stackoverflow.com Oct 16 '12 at 4:40
This question came from our site for professional and enthusiast programmers.
add a comment |
We have Win7 machines on a domain that we'd like to open the "Programs and Features" control applet via the command line while a regular user is logged in.
Here's the catch: I know how to do this using runas from the command line BUT after "Programs and Features" opens, I don't truly have the ability to remove a program. I am told that I need to be an Admin to do so. Here are the commands I have tried:
runas /user:%computername%administrator cmd.exe then in the new cmd window running: control appwiz.cpl
runas /user:%companydomain%%domainadminacct% cmd.exe then in the new cmd window running: control appwiz.cpl
runas /user:%computername%administrator cmd.exe then in the new cmd window running: rundll32.exe shell32.dll,Control_RunDLL appwiz.cpl
runas /user:%companydomain%%domainadminacct% cmd.exe then in the new cmd window running: rundll32.exe shell32.dll,Control_RunDLL appwiz.cpl
I have also tried all of the above as one long line of code instead of launching a cmd.exe as Admin
As you can see, I have tried running the command using both a local admin account (Administrator) AND a domain admin account. I have also tried launching the runas command as one long command (opening the "programs and features") AND 1st launching a cmd.exe with admin rights and THEN launching the "Programs and Features" window. The result is the same: The "Programs and Features" windows opens but when I try to perform an uninstall, I am told I need Admin rights. Thus I am lead to believe that this instance of "Programs and Features" is not truly being run as an admin.
I am trying to avoid logging the regular user out. I am also aware that every program has its own uninstaller, I do not want to uninstall that way. I want to use the uninstaller in "Programs and Features". Any help is appreciated.
windows-7
We have Win7 machines on a domain that we'd like to open the "Programs and Features" control applet via the command line while a regular user is logged in.
Here's the catch: I know how to do this using runas from the command line BUT after "Programs and Features" opens, I don't truly have the ability to remove a program. I am told that I need to be an Admin to do so. Here are the commands I have tried:
runas /user:%computername%administrator cmd.exe then in the new cmd window running: control appwiz.cpl
runas /user:%companydomain%%domainadminacct% cmd.exe then in the new cmd window running: control appwiz.cpl
runas /user:%computername%administrator cmd.exe then in the new cmd window running: rundll32.exe shell32.dll,Control_RunDLL appwiz.cpl
runas /user:%companydomain%%domainadminacct% cmd.exe then in the new cmd window running: rundll32.exe shell32.dll,Control_RunDLL appwiz.cpl
I have also tried all of the above as one long line of code instead of launching a cmd.exe as Admin
As you can see, I have tried running the command using both a local admin account (Administrator) AND a domain admin account. I have also tried launching the runas command as one long command (opening the "programs and features") AND 1st launching a cmd.exe with admin rights and THEN launching the "Programs and Features" window. The result is the same: The "Programs and Features" windows opens but when I try to perform an uninstall, I am told I need Admin rights. Thus I am lead to believe that this instance of "Programs and Features" is not truly being run as an admin.
I am trying to avoid logging the regular user out. I am also aware that every program has its own uninstaller, I do not want to uninstall that way. I want to use the uninstaller in "Programs and Features". Any help is appreciated.
windows-7
windows-7
edited Jun 20 '17 at 16:49
Glorfindel
1,35641220
1,35641220
asked Oct 12 '12 at 13:23
user1741264
migrated from stackoverflow.com Oct 16 '12 at 4:40
This question came from our site for professional and enthusiast programmers.
migrated from stackoverflow.com Oct 16 '12 at 4:40
This question came from our site for professional and enthusiast programmers.
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
Is there any particular reason you're trying to do this from the command-line as opposed to built-in features available in the UI? Also, might there be a system policy that's preventing you from performing these operations?
Here's a suggestion using the UI:
- Open the Start Menu
- In the Search Bar, type
appwiz.cpl
. - Wait for
appwiz.cpl
to appear in the search results. There should be only one entry at the top, under "Programs". It should have a document icon with some gears on it, and should be automatically highlighted. - With
appwiz.cpl
highlighted in the search results, press CTRL+SHIFT+ENTER. This will force Windows to attempt executingappwiz.cpl
with Administrator privileges. - Respond to any UAC prompts as appropriate.
If the above does not work, there may be an issue with your system's Security Policy. Do the following to check:
- Log into the system under an account that has Administrator permissions.
- Press Win+R.
- Type
secpol.msc
and hit ENTER. - Respond to any UAC prompts as appropriate.
- In the left pane, navigate the tree to the following location:
Security SettingsLocal PoliciesSecurity Options
- Find the "User Account Control" options, near the bottom of the list.
- Check the setting
User Account Control: Behavior of the elevation prompt for standard users
- If it is set to
Automatically deny elevation requests
, you will not be able to use Administrator permissions while running under a standard user account. - If this is set to any of the
Prompt for credentials...
settings, and the above process for runningappwiz.cpl
elevated still does not work for you, then you may have a different problem.
- If it is set to
very good answer, thanks well. do you coincidentally know if i can somehow get the path to the setup exes which are listed in the "Programs and Features" list?
– philx_x
Mar 3 '15 at 15:34
@philx_x That may be possible via WMI, PowerShell, or Registry queries. I'd suggest asking a separate question.
– Iszi
Mar 3 '15 at 15:58
This didn't work for me as apparentlyappwiz.cpl
was loaded with regular user privileges even though I attempted to run it with elevated privileges through UAC prompt. My security policies are as you suggested they should be. The other answer here worked, though.
– amn
Apr 24 '17 at 14:44
add a comment |
For whatever reason, the control panel applets inherit the privileges of the running Desktop shell (which is the Windows equivalent of a window manager). To escalate permissions in the control panel, you have to escalate permissions in this shell, via these steps:
- Open a command prompt as an administrative user
- Kill the running explorer process
Ctl+Shift+Esc Open task manager, and navigate to the processes tab- Find the
explorer.exe
process(es), and kill all of them. (Right-click, chooseEnd Process
) Your taskbar, desktop, and explorer windows will all disappear, but your command prompt will remain
- As the administrative user, run
explorer.exe
- Now, you should be able to open
appwiz.cpl
, or any other control panel applet with administrative privileges. - When you're done, kill the running explorer process(es), and run
explorer.exe
as the logged-in user.
Caveat: This can lose certain settings, or break your normal desktop environment. For instance, any network paths which have been mounted to a drive will be lost.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f488274%2fwin7-opening-programs-and-features-as-admin-from-command-line-logged-in-as%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
Is there any particular reason you're trying to do this from the command-line as opposed to built-in features available in the UI? Also, might there be a system policy that's preventing you from performing these operations?
Here's a suggestion using the UI:
- Open the Start Menu
- In the Search Bar, type
appwiz.cpl
. - Wait for
appwiz.cpl
to appear in the search results. There should be only one entry at the top, under "Programs". It should have a document icon with some gears on it, and should be automatically highlighted. - With
appwiz.cpl
highlighted in the search results, press CTRL+SHIFT+ENTER. This will force Windows to attempt executingappwiz.cpl
with Administrator privileges. - Respond to any UAC prompts as appropriate.
If the above does not work, there may be an issue with your system's Security Policy. Do the following to check:
- Log into the system under an account that has Administrator permissions.
- Press Win+R.
- Type
secpol.msc
and hit ENTER. - Respond to any UAC prompts as appropriate.
- In the left pane, navigate the tree to the following location:
Security SettingsLocal PoliciesSecurity Options
- Find the "User Account Control" options, near the bottom of the list.
- Check the setting
User Account Control: Behavior of the elevation prompt for standard users
- If it is set to
Automatically deny elevation requests
, you will not be able to use Administrator permissions while running under a standard user account. - If this is set to any of the
Prompt for credentials...
settings, and the above process for runningappwiz.cpl
elevated still does not work for you, then you may have a different problem.
- If it is set to
very good answer, thanks well. do you coincidentally know if i can somehow get the path to the setup exes which are listed in the "Programs and Features" list?
– philx_x
Mar 3 '15 at 15:34
@philx_x That may be possible via WMI, PowerShell, or Registry queries. I'd suggest asking a separate question.
– Iszi
Mar 3 '15 at 15:58
This didn't work for me as apparentlyappwiz.cpl
was loaded with regular user privileges even though I attempted to run it with elevated privileges through UAC prompt. My security policies are as you suggested they should be. The other answer here worked, though.
– amn
Apr 24 '17 at 14:44
add a comment |
Is there any particular reason you're trying to do this from the command-line as opposed to built-in features available in the UI? Also, might there be a system policy that's preventing you from performing these operations?
Here's a suggestion using the UI:
- Open the Start Menu
- In the Search Bar, type
appwiz.cpl
. - Wait for
appwiz.cpl
to appear in the search results. There should be only one entry at the top, under "Programs". It should have a document icon with some gears on it, and should be automatically highlighted. - With
appwiz.cpl
highlighted in the search results, press CTRL+SHIFT+ENTER. This will force Windows to attempt executingappwiz.cpl
with Administrator privileges. - Respond to any UAC prompts as appropriate.
If the above does not work, there may be an issue with your system's Security Policy. Do the following to check:
- Log into the system under an account that has Administrator permissions.
- Press Win+R.
- Type
secpol.msc
and hit ENTER. - Respond to any UAC prompts as appropriate.
- In the left pane, navigate the tree to the following location:
Security SettingsLocal PoliciesSecurity Options
- Find the "User Account Control" options, near the bottom of the list.
- Check the setting
User Account Control: Behavior of the elevation prompt for standard users
- If it is set to
Automatically deny elevation requests
, you will not be able to use Administrator permissions while running under a standard user account. - If this is set to any of the
Prompt for credentials...
settings, and the above process for runningappwiz.cpl
elevated still does not work for you, then you may have a different problem.
- If it is set to
very good answer, thanks well. do you coincidentally know if i can somehow get the path to the setup exes which are listed in the "Programs and Features" list?
– philx_x
Mar 3 '15 at 15:34
@philx_x That may be possible via WMI, PowerShell, or Registry queries. I'd suggest asking a separate question.
– Iszi
Mar 3 '15 at 15:58
This didn't work for me as apparentlyappwiz.cpl
was loaded with regular user privileges even though I attempted to run it with elevated privileges through UAC prompt. My security policies are as you suggested they should be. The other answer here worked, though.
– amn
Apr 24 '17 at 14:44
add a comment |
Is there any particular reason you're trying to do this from the command-line as opposed to built-in features available in the UI? Also, might there be a system policy that's preventing you from performing these operations?
Here's a suggestion using the UI:
- Open the Start Menu
- In the Search Bar, type
appwiz.cpl
. - Wait for
appwiz.cpl
to appear in the search results. There should be only one entry at the top, under "Programs". It should have a document icon with some gears on it, and should be automatically highlighted. - With
appwiz.cpl
highlighted in the search results, press CTRL+SHIFT+ENTER. This will force Windows to attempt executingappwiz.cpl
with Administrator privileges. - Respond to any UAC prompts as appropriate.
If the above does not work, there may be an issue with your system's Security Policy. Do the following to check:
- Log into the system under an account that has Administrator permissions.
- Press Win+R.
- Type
secpol.msc
and hit ENTER. - Respond to any UAC prompts as appropriate.
- In the left pane, navigate the tree to the following location:
Security SettingsLocal PoliciesSecurity Options
- Find the "User Account Control" options, near the bottom of the list.
- Check the setting
User Account Control: Behavior of the elevation prompt for standard users
- If it is set to
Automatically deny elevation requests
, you will not be able to use Administrator permissions while running under a standard user account. - If this is set to any of the
Prompt for credentials...
settings, and the above process for runningappwiz.cpl
elevated still does not work for you, then you may have a different problem.
- If it is set to
Is there any particular reason you're trying to do this from the command-line as opposed to built-in features available in the UI? Also, might there be a system policy that's preventing you from performing these operations?
Here's a suggestion using the UI:
- Open the Start Menu
- In the Search Bar, type
appwiz.cpl
. - Wait for
appwiz.cpl
to appear in the search results. There should be only one entry at the top, under "Programs". It should have a document icon with some gears on it, and should be automatically highlighted. - With
appwiz.cpl
highlighted in the search results, press CTRL+SHIFT+ENTER. This will force Windows to attempt executingappwiz.cpl
with Administrator privileges. - Respond to any UAC prompts as appropriate.
If the above does not work, there may be an issue with your system's Security Policy. Do the following to check:
- Log into the system under an account that has Administrator permissions.
- Press Win+R.
- Type
secpol.msc
and hit ENTER. - Respond to any UAC prompts as appropriate.
- In the left pane, navigate the tree to the following location:
Security SettingsLocal PoliciesSecurity Options
- Find the "User Account Control" options, near the bottom of the list.
- Check the setting
User Account Control: Behavior of the elevation prompt for standard users
- If it is set to
Automatically deny elevation requests
, you will not be able to use Administrator permissions while running under a standard user account. - If this is set to any of the
Prompt for credentials...
settings, and the above process for runningappwiz.cpl
elevated still does not work for you, then you may have a different problem.
- If it is set to
answered Dec 21 '12 at 16:17
Iszi
7,3033689156
7,3033689156
very good answer, thanks well. do you coincidentally know if i can somehow get the path to the setup exes which are listed in the "Programs and Features" list?
– philx_x
Mar 3 '15 at 15:34
@philx_x That may be possible via WMI, PowerShell, or Registry queries. I'd suggest asking a separate question.
– Iszi
Mar 3 '15 at 15:58
This didn't work for me as apparentlyappwiz.cpl
was loaded with regular user privileges even though I attempted to run it with elevated privileges through UAC prompt. My security policies are as you suggested they should be. The other answer here worked, though.
– amn
Apr 24 '17 at 14:44
add a comment |
very good answer, thanks well. do you coincidentally know if i can somehow get the path to the setup exes which are listed in the "Programs and Features" list?
– philx_x
Mar 3 '15 at 15:34
@philx_x That may be possible via WMI, PowerShell, or Registry queries. I'd suggest asking a separate question.
– Iszi
Mar 3 '15 at 15:58
This didn't work for me as apparentlyappwiz.cpl
was loaded with regular user privileges even though I attempted to run it with elevated privileges through UAC prompt. My security policies are as you suggested they should be. The other answer here worked, though.
– amn
Apr 24 '17 at 14:44
very good answer, thanks well. do you coincidentally know if i can somehow get the path to the setup exes which are listed in the "Programs and Features" list?
– philx_x
Mar 3 '15 at 15:34
very good answer, thanks well. do you coincidentally know if i can somehow get the path to the setup exes which are listed in the "Programs and Features" list?
– philx_x
Mar 3 '15 at 15:34
@philx_x That may be possible via WMI, PowerShell, or Registry queries. I'd suggest asking a separate question.
– Iszi
Mar 3 '15 at 15:58
@philx_x That may be possible via WMI, PowerShell, or Registry queries. I'd suggest asking a separate question.
– Iszi
Mar 3 '15 at 15:58
This didn't work for me as apparently
appwiz.cpl
was loaded with regular user privileges even though I attempted to run it with elevated privileges through UAC prompt. My security policies are as you suggested they should be. The other answer here worked, though.– amn
Apr 24 '17 at 14:44
This didn't work for me as apparently
appwiz.cpl
was loaded with regular user privileges even though I attempted to run it with elevated privileges through UAC prompt. My security policies are as you suggested they should be. The other answer here worked, though.– amn
Apr 24 '17 at 14:44
add a comment |
For whatever reason, the control panel applets inherit the privileges of the running Desktop shell (which is the Windows equivalent of a window manager). To escalate permissions in the control panel, you have to escalate permissions in this shell, via these steps:
- Open a command prompt as an administrative user
- Kill the running explorer process
Ctl+Shift+Esc Open task manager, and navigate to the processes tab- Find the
explorer.exe
process(es), and kill all of them. (Right-click, chooseEnd Process
) Your taskbar, desktop, and explorer windows will all disappear, but your command prompt will remain
- As the administrative user, run
explorer.exe
- Now, you should be able to open
appwiz.cpl
, or any other control panel applet with administrative privileges. - When you're done, kill the running explorer process(es), and run
explorer.exe
as the logged-in user.
Caveat: This can lose certain settings, or break your normal desktop environment. For instance, any network paths which have been mounted to a drive will be lost.
add a comment |
For whatever reason, the control panel applets inherit the privileges of the running Desktop shell (which is the Windows equivalent of a window manager). To escalate permissions in the control panel, you have to escalate permissions in this shell, via these steps:
- Open a command prompt as an administrative user
- Kill the running explorer process
Ctl+Shift+Esc Open task manager, and navigate to the processes tab- Find the
explorer.exe
process(es), and kill all of them. (Right-click, chooseEnd Process
) Your taskbar, desktop, and explorer windows will all disappear, but your command prompt will remain
- As the administrative user, run
explorer.exe
- Now, you should be able to open
appwiz.cpl
, or any other control panel applet with administrative privileges. - When you're done, kill the running explorer process(es), and run
explorer.exe
as the logged-in user.
Caveat: This can lose certain settings, or break your normal desktop environment. For instance, any network paths which have been mounted to a drive will be lost.
add a comment |
For whatever reason, the control panel applets inherit the privileges of the running Desktop shell (which is the Windows equivalent of a window manager). To escalate permissions in the control panel, you have to escalate permissions in this shell, via these steps:
- Open a command prompt as an administrative user
- Kill the running explorer process
Ctl+Shift+Esc Open task manager, and navigate to the processes tab- Find the
explorer.exe
process(es), and kill all of them. (Right-click, chooseEnd Process
) Your taskbar, desktop, and explorer windows will all disappear, but your command prompt will remain
- As the administrative user, run
explorer.exe
- Now, you should be able to open
appwiz.cpl
, or any other control panel applet with administrative privileges. - When you're done, kill the running explorer process(es), and run
explorer.exe
as the logged-in user.
Caveat: This can lose certain settings, or break your normal desktop environment. For instance, any network paths which have been mounted to a drive will be lost.
For whatever reason, the control panel applets inherit the privileges of the running Desktop shell (which is the Windows equivalent of a window manager). To escalate permissions in the control panel, you have to escalate permissions in this shell, via these steps:
- Open a command prompt as an administrative user
- Kill the running explorer process
Ctl+Shift+Esc Open task manager, and navigate to the processes tab- Find the
explorer.exe
process(es), and kill all of them. (Right-click, chooseEnd Process
) Your taskbar, desktop, and explorer windows will all disappear, but your command prompt will remain
- As the administrative user, run
explorer.exe
- Now, you should be able to open
appwiz.cpl
, or any other control panel applet with administrative privileges. - When you're done, kill the running explorer process(es), and run
explorer.exe
as the logged-in user.
Caveat: This can lose certain settings, or break your normal desktop environment. For instance, any network paths which have been mounted to a drive will be lost.
answered Apr 3 '17 at 14:57
jpaugh
1,062716
1,062716
add a comment |
add a comment |
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f488274%2fwin7-opening-programs-and-features-as-admin-from-command-line-logged-in-as%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown