Cannot get program GUI to appear when run elevated by Task Scheduler - is that expected?Run task scheduler...

Java - What do constructor type arguments mean when placed *before* the type?

What (else) happened July 1st 1858 in London?

What is the term when two people sing in harmony, but they aren't singing the same notes?

Is there enough fresh water in the world to eradicate the drinking water crisis?

Can I use my Chinese passport to enter China after I acquired another citizenship?

How to prevent YouTube from showing already watched videos?

Simple recursive Sudoku solver

Partial sums of primes

Simulating a probability of 1 of 2^N with less than N random bits

Adding empty element to declared container without declaring type of element

Greatest common substring

Identify a stage play about a VR experience in which participants are encouraged to simulate performing horrific activities

Can a Gentile theist be saved?

Hostile work environment after whistle-blowing on coworker and our boss. What do I do?

Can a malicious addon access internet history and such in chrome/firefox?

A social experiment. What is the worst that can happen?

Invariance of results when scaling explanatory variables in logistic regression, is there a proof?

Can the harmonic series explain the origin of the major scale?

Giant Toughroad SLR 2 for 200 miles in two days, will it make it?

Female=gender counterpart?

Reply ‘no position’ while the job posting is still there (‘HiWi’ position in Germany)

A known event to a history junkie

Have I saved too much for retirement so far?

How do I repair my stair bannister?



Cannot get program GUI to appear when run elevated by Task Scheduler - is that expected?


Run task scheduler task on demand from limited user account in windows 7AutoHotkey cannot launch ClickOnce apps when launched at startup using Task SchedulerWindows task scheduler won't run file on non-system driveTask Scheduler is not executing the programTask Scheduler program writes to literal folder named %LOCALAPPDATA%batch file runs fine manually, but line that launches exe fails when batch run in task schedulerProgram run with Task Scheduler doesn't work properly (create file)Scheduled Task batch script doesn't appear to run as adminWindows Task Scheduler can't write to folder even when run as AdminWhy doesn't Outlook properly open when scheduled to start using Task Scheduler?













0















For troubleshooting purposes I'm trying to get Task Scheduler to run Notepad++, "with highest privileges", using a user account that has Admin privileges ("run whether user is logged in or not"). It is triggered only when a specific user logs in. Here's the catch: this "specific user" is a member of the Guest group.



When I login as that user Notepad++ does not appear.



The Autoit program I actually want to run in this manner has a GUI. It does several things but among them it runs Nirsoft's USBdeview, which disables the mouse. (so my program must be run elevated)



As with when I try running Notepad++ my program's GUI never appears, BUT the mouse ends up being disabled. So I know at least part of my program has been executed. Also, when I log out and back in using the admin account I can see my program still running in Task Manager.



Is it not possible to have task scheduler run a program in a guest account, elevated by an admin user's credentials, and have that program fully execute, GUI and all?










share|improve this question



























    0















    For troubleshooting purposes I'm trying to get Task Scheduler to run Notepad++, "with highest privileges", using a user account that has Admin privileges ("run whether user is logged in or not"). It is triggered only when a specific user logs in. Here's the catch: this "specific user" is a member of the Guest group.



    When I login as that user Notepad++ does not appear.



    The Autoit program I actually want to run in this manner has a GUI. It does several things but among them it runs Nirsoft's USBdeview, which disables the mouse. (so my program must be run elevated)



    As with when I try running Notepad++ my program's GUI never appears, BUT the mouse ends up being disabled. So I know at least part of my program has been executed. Also, when I log out and back in using the admin account I can see my program still running in Task Manager.



    Is it not possible to have task scheduler run a program in a guest account, elevated by an admin user's credentials, and have that program fully execute, GUI and all?










    share|improve this question

























      0












      0








      0








      For troubleshooting purposes I'm trying to get Task Scheduler to run Notepad++, "with highest privileges", using a user account that has Admin privileges ("run whether user is logged in or not"). It is triggered only when a specific user logs in. Here's the catch: this "specific user" is a member of the Guest group.



      When I login as that user Notepad++ does not appear.



      The Autoit program I actually want to run in this manner has a GUI. It does several things but among them it runs Nirsoft's USBdeview, which disables the mouse. (so my program must be run elevated)



      As with when I try running Notepad++ my program's GUI never appears, BUT the mouse ends up being disabled. So I know at least part of my program has been executed. Also, when I log out and back in using the admin account I can see my program still running in Task Manager.



      Is it not possible to have task scheduler run a program in a guest account, elevated by an admin user's credentials, and have that program fully execute, GUI and all?










      share|improve this question














      For troubleshooting purposes I'm trying to get Task Scheduler to run Notepad++, "with highest privileges", using a user account that has Admin privileges ("run whether user is logged in or not"). It is triggered only when a specific user logs in. Here's the catch: this "specific user" is a member of the Guest group.



      When I login as that user Notepad++ does not appear.



      The Autoit program I actually want to run in this manner has a GUI. It does several things but among them it runs Nirsoft's USBdeview, which disables the mouse. (so my program must be run elevated)



      As with when I try running Notepad++ my program's GUI never appears, BUT the mouse ends up being disabled. So I know at least part of my program has been executed. Also, when I log out and back in using the admin account I can see my program still running in Task Manager.



      Is it not possible to have task scheduler run a program in a guest account, elevated by an admin user's credentials, and have that program fully execute, GUI and all?







      scheduled-tasks






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 43 mins ago









      user428697user428697

      205




      205






















          0






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


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1417518%2fcannot-get-program-gui-to-appear-when-run-elevated-by-task-scheduler-is-that-e%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          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.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1417518%2fcannot-get-program-gui-to-appear-when-run-elevated-by-task-scheduler-is-that-e%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

          Cannot install PyQt5 The Next CEO of Stack OverflowCannot install tcpreplay 3.4.4cannot...

          Kapp-Putsch Acontecimentos | Outros artigos | Menu de navegação

          Why did early computer designers eschew integers? The Next CEO of Stack OverflowWhat register...