Starting an application requires administrator by the Task Scheduler

Joined
Nov 21, 2017
Messages
3
Reaction score
0
The application starts up the service program, but it will fail on startup by the task scheduler.
Of course, when I run that application manually, it will start normally.
Also, it started without problem from startup on windows7.
Please tell me how to solve this problem.
 
Joined
Nov 21, 2017
Messages
3
Reaction score
0
Hi Wolfie,

Thank you for your reply.

The application that we made.
The version of Windows 10 is as follows.
Edition: Windows10 Enterprise 2016 LTSB
Version:1607
OS Build:14393.1066
 

Regedit32

Moderator
Joined
Mar 4, 2016
Messages
3,609
Reaction score
1,141
Hi Yoshi,

I'll create a new task step by step, and then create a desktop shortcut, to demonstrate what you need to do to allow an application you are running to open with Administrator privileges and avoid the User Account Control [UAC] prompt.
  • Press Windows key + S to give focus to your Search field
  • In the search field type Task Scheduler and press Enter key to open
  • On the right pane of the Task Scheduler window click on Create Task
  • Enter a name for your task then check the box next to Run with highest privileges
  • Next, using the drop arrow select the operating system this task will run on. For example: Windows 10
Sample image

img1.png
  • Next, select the Actions tab
  • Click the New button
  • Click the Action's drop arrow and select Start a program
  • Click inside the program script field then click the browse button and select the application you intend to start and click Open to accept the selection, then click OK on the Action tab
Sample image

img2.png
  • Next select the Settings tab
  • Make sure that Allow task to be run on command is checked!
  • At the bottom of Setting tab click the drop arrow and select Do not start a new instance
  • Click the Settings tab's OK button
Sample image

img3.png
  • You'll now be back at the main Task Scheduler window. In its left pane click Task Scheduler Library
  • Now in the middle pane left-click once on your new task
  • Go to your Desktop and right-click and select New > Shortcut
  • For the Type the location of the item field enter the following:
Code:
schtasks /run /tn "Command Prompt"

Note: Replace Command Prompt with name of your task


Sample image

img4.png
  • Click the next button then if you wish, type a name for your shortcut and finally click Finish
Done!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top