Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to startup apps added in Azure VM

I have a simple console application runs in Azure VM. What I did is creating a Local Group Policy for this app but it works in the background process.

Is it possible to run the app on windows startup normally. Not in the background??

like image 506
Turgut Kanceltik Avatar asked Oct 15 '25 21:10

Turgut Kanceltik


1 Answers

Have you tried using the Task Scheduler to create a new task?

I ran the Task Scheduler on my local machine to run a Console Application that I just created. When it got triggered, the console app ran in the foreground by default.

See 2 screenshots below. It should work the same on a VM, but let me know if you have any issues with it, and I'll troubleshoot further.

Task Scheduler

Console App

like image 115
Shahed C - MSFT Avatar answered Oct 18 '25 11:10

Shahed C - MSFT



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!