How to Always run Windows Store App as Administrator











up vote
3
down vote

favorite












Is there a way to modify a Store App launcher to always run as administrator?



Specifically, I'm trying to launch Ubuntu 18.04 (WSL) as an administrator by default. I can right-click and "run as Administrator" just fine but can't get this to happen by default.



For most .exe's it's possible to do "always run as administrator" via Security tab in Properties window of the .exe, for troubleshooting.



The only Ubuntu .exe I can find is C:Program FileswindowsappsCanonicalGroupLimited.Ubuntu18.04onWindows_1804. 2018.427.0_x64__79rhkp1fndgscubuntu1804.exe.



But when I click the app launcher "Ubuntu 18.04" in the Start Menu, it doesn't respect the "always run as administrator" setting on the .exe. Further, when I "pin to start" the .exe, it creates the second icon in the screenshot. That makes me think that the issue is the Store App launcher that is in the start menu by default.



enter image description here










share|improve this question




















  • 1




    Running UWP applications as an Administrator cannot be done. Ths is a limitation of the Universal Windows Platform. Running a UWP application as an Administrator will NOT grant it elevated permissions like a Win32 desktop application. As the Store Launcher itself is a UWP application, running it as an Administrator, will not result in it's own permissions being elevated. The security context of UWP applications and Win32 desktop applications are entirely different. What problem are you trying to solve by running the WSL instance as an Administrator. That is a problem i can help with.
    – Ramhound
    Jun 18 at 17:26










  • Thanks for the answer. I suspect it isn't considered a supported use case, but I mainly want to be able to run amok with accessing/modifying files & directories as administrator.
    – Jeff
    Jun 18 at 18:33










  • My comment should not be considered an answer to your question. UWP applications have specific restrictions on what files and directories it can access.
    – Ramhound
    Jun 18 at 21:27















up vote
3
down vote

favorite












Is there a way to modify a Store App launcher to always run as administrator?



Specifically, I'm trying to launch Ubuntu 18.04 (WSL) as an administrator by default. I can right-click and "run as Administrator" just fine but can't get this to happen by default.



For most .exe's it's possible to do "always run as administrator" via Security tab in Properties window of the .exe, for troubleshooting.



The only Ubuntu .exe I can find is C:Program FileswindowsappsCanonicalGroupLimited.Ubuntu18.04onWindows_1804. 2018.427.0_x64__79rhkp1fndgscubuntu1804.exe.



But when I click the app launcher "Ubuntu 18.04" in the Start Menu, it doesn't respect the "always run as administrator" setting on the .exe. Further, when I "pin to start" the .exe, it creates the second icon in the screenshot. That makes me think that the issue is the Store App launcher that is in the start menu by default.



enter image description here










share|improve this question




















  • 1




    Running UWP applications as an Administrator cannot be done. Ths is a limitation of the Universal Windows Platform. Running a UWP application as an Administrator will NOT grant it elevated permissions like a Win32 desktop application. As the Store Launcher itself is a UWP application, running it as an Administrator, will not result in it's own permissions being elevated. The security context of UWP applications and Win32 desktop applications are entirely different. What problem are you trying to solve by running the WSL instance as an Administrator. That is a problem i can help with.
    – Ramhound
    Jun 18 at 17:26










  • Thanks for the answer. I suspect it isn't considered a supported use case, but I mainly want to be able to run amok with accessing/modifying files & directories as administrator.
    – Jeff
    Jun 18 at 18:33










  • My comment should not be considered an answer to your question. UWP applications have specific restrictions on what files and directories it can access.
    – Ramhound
    Jun 18 at 21:27













up vote
3
down vote

favorite









up vote
3
down vote

favorite











Is there a way to modify a Store App launcher to always run as administrator?



Specifically, I'm trying to launch Ubuntu 18.04 (WSL) as an administrator by default. I can right-click and "run as Administrator" just fine but can't get this to happen by default.



For most .exe's it's possible to do "always run as administrator" via Security tab in Properties window of the .exe, for troubleshooting.



The only Ubuntu .exe I can find is C:Program FileswindowsappsCanonicalGroupLimited.Ubuntu18.04onWindows_1804. 2018.427.0_x64__79rhkp1fndgscubuntu1804.exe.



But when I click the app launcher "Ubuntu 18.04" in the Start Menu, it doesn't respect the "always run as administrator" setting on the .exe. Further, when I "pin to start" the .exe, it creates the second icon in the screenshot. That makes me think that the issue is the Store App launcher that is in the start menu by default.



enter image description here










share|improve this question















Is there a way to modify a Store App launcher to always run as administrator?



Specifically, I'm trying to launch Ubuntu 18.04 (WSL) as an administrator by default. I can right-click and "run as Administrator" just fine but can't get this to happen by default.



For most .exe's it's possible to do "always run as administrator" via Security tab in Properties window of the .exe, for troubleshooting.



The only Ubuntu .exe I can find is C:Program FileswindowsappsCanonicalGroupLimited.Ubuntu18.04onWindows_1804. 2018.427.0_x64__79rhkp1fndgscubuntu1804.exe.



But when I click the app launcher "Ubuntu 18.04" in the Start Menu, it doesn't respect the "always run as administrator" setting on the .exe. Further, when I "pin to start" the .exe, it creates the second icon in the screenshot. That makes me think that the issue is the Store App launcher that is in the start menu by default.



enter image description here







windows-10 permissions windows-store-app






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 26 at 16:44









DaveInCaz

18011




18011










asked Jun 18 at 17:17









Jeff

1563




1563








  • 1




    Running UWP applications as an Administrator cannot be done. Ths is a limitation of the Universal Windows Platform. Running a UWP application as an Administrator will NOT grant it elevated permissions like a Win32 desktop application. As the Store Launcher itself is a UWP application, running it as an Administrator, will not result in it's own permissions being elevated. The security context of UWP applications and Win32 desktop applications are entirely different. What problem are you trying to solve by running the WSL instance as an Administrator. That is a problem i can help with.
    – Ramhound
    Jun 18 at 17:26










  • Thanks for the answer. I suspect it isn't considered a supported use case, but I mainly want to be able to run amok with accessing/modifying files & directories as administrator.
    – Jeff
    Jun 18 at 18:33










  • My comment should not be considered an answer to your question. UWP applications have specific restrictions on what files and directories it can access.
    – Ramhound
    Jun 18 at 21:27














  • 1




    Running UWP applications as an Administrator cannot be done. Ths is a limitation of the Universal Windows Platform. Running a UWP application as an Administrator will NOT grant it elevated permissions like a Win32 desktop application. As the Store Launcher itself is a UWP application, running it as an Administrator, will not result in it's own permissions being elevated. The security context of UWP applications and Win32 desktop applications are entirely different. What problem are you trying to solve by running the WSL instance as an Administrator. That is a problem i can help with.
    – Ramhound
    Jun 18 at 17:26










  • Thanks for the answer. I suspect it isn't considered a supported use case, but I mainly want to be able to run amok with accessing/modifying files & directories as administrator.
    – Jeff
    Jun 18 at 18:33










  • My comment should not be considered an answer to your question. UWP applications have specific restrictions on what files and directories it can access.
    – Ramhound
    Jun 18 at 21:27








1




1




Running UWP applications as an Administrator cannot be done. Ths is a limitation of the Universal Windows Platform. Running a UWP application as an Administrator will NOT grant it elevated permissions like a Win32 desktop application. As the Store Launcher itself is a UWP application, running it as an Administrator, will not result in it's own permissions being elevated. The security context of UWP applications and Win32 desktop applications are entirely different. What problem are you trying to solve by running the WSL instance as an Administrator. That is a problem i can help with.
– Ramhound
Jun 18 at 17:26




Running UWP applications as an Administrator cannot be done. Ths is a limitation of the Universal Windows Platform. Running a UWP application as an Administrator will NOT grant it elevated permissions like a Win32 desktop application. As the Store Launcher itself is a UWP application, running it as an Administrator, will not result in it's own permissions being elevated. The security context of UWP applications and Win32 desktop applications are entirely different. What problem are you trying to solve by running the WSL instance as an Administrator. That is a problem i can help with.
– Ramhound
Jun 18 at 17:26












Thanks for the answer. I suspect it isn't considered a supported use case, but I mainly want to be able to run amok with accessing/modifying files & directories as administrator.
– Jeff
Jun 18 at 18:33




Thanks for the answer. I suspect it isn't considered a supported use case, but I mainly want to be able to run amok with accessing/modifying files & directories as administrator.
– Jeff
Jun 18 at 18:33












My comment should not be considered an answer to your question. UWP applications have specific restrictions on what files and directories it can access.
– Ramhound
Jun 18 at 21:27




My comment should not be considered an answer to your question. UWP applications have specific restrictions on what files and directories it can access.
– Ramhound
Jun 18 at 21:27















active

oldest

votes











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',
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
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1332323%2fhow-to-always-run-windows-store-app-as-administrator%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown






























active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































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.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1332323%2fhow-to-always-run-windows-store-app-as-administrator%23new-answer', 'question_page');
}
);

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







Popular posts from this blog

Mouse cursor on multiple screens with different PPI

Agildo Ribeiro

Sometime when accessing a menu: “Ubuntu 16.04 has experienced an internal error”