Run any application as a Windows Service

How to Start your AlwaysUp Application "In Session" at Logon

Sidestep the dreaded Session 0 Isolation and ensure that your AlwaysUp application is visible when you log on

Since the dawn of time, the easiest way to start a Windows program when you log on is to place a shortcut to the program in your Startup folder. This continues to work fine for regular applications, but with the advent of User Account Control (UAC) in Vista and Windows 7, administrative applications (like AlwaysUp) placed in the Startup folder will now throw up the intimidating UAC prompt, interrupting the smooth automatic starting of your application. Phooey!

Luckily we can use the Windows Task Scheduler to evade UAC and start your AlwaysUp application in the session, silently in the background when you log on. To do so:

  1. Start the Windows Task Scheduler by clicking on the Start button, typing in Taskschd.msc and hitting the Enter key:

    Start Task Scheduler

  2. Select Action > Create Basic Task... to open the Create Basic Task Wizard window.

    Create Basic Task

  3. In the Name field, enter the name for the new task. We have specified Start My AlwaysUp App at Login but you can specify almost anything you like.

    Create Basic Task Wizard: Name

    Click Next >

  4. Specify when the task should be started. Select When I log on.

    Create Basic Task Wizard: Trigger

    Click Next >

  5. Specify what the task should do. Leave the selection at the default, Start a program.

    Create Basic Task Wizard: Action

    Click Next >

  6. Next, we specify that we would like to run AlwaysUp (with special command line flags to restart your application in the session).

    • In the Program/script field, enter the full path to the AlwaysUp executable. By default, this is:

      "C:\Program Files\AlwaysUp\AlwaysUp.exe"

    • In the Add arguments (optional) field, enter:

      -restart-in-current-session "MyAppName"
      where MyAppName is the name of your application in AlwaysUp.

      Since we want to start our AlwaysUp application called "Notepad", we enter:

      -restart-in-current-session "Notepad"

      Be sure to put quotes around the name if it contains spaces!

    Create Basic Task Wizard: Program

    Click Next >

  7. Almost done! Check the Open the properties dialog for this task when I click Finish near the bottom and click the Finish button.

    Create Basic Task Wizard: Finish

  8. On the properties window that comes up, check the Run with highest privileges box. This is the magic necessary to avoid the annoying UAC Prompt when you log in.

    Scheduled Task: Run with highest privileges

    Click OK to save the change.

  9. That's it! Next time you log on you should see your AlwaysUp application running on your desktop. Here is our Notepad application ready and waiting after a log on:

    Notepad launched by AlwaysUp in the session

  10. Application not starting properly when you log on?

Download & Try it Free!

Download AlwaysUp and Run as a Service Today! Version 9.7 New!

4.6 MB Installer
  • Unrestricted 30-day trial for new users; upgrade for existing users
  • Windows 10/8.1/8/7/XP & Windows Server 2012 R2/2008/2003
  • How to Install | EULA
Our customers include...

Compatible with Windows 10 (32 & 64-bit)

Windows Server 2012 Certified (32 & 64-bit)

Windows 8 Compatible (32 & 64-bit)

Compatible with Windows 7 (32 & 64-bit)

Works with Windows Server 2008 R2 (32 & 64-bit)

Over 68,000 installations, and counting!
AlwaysUp is number 1! Run as a Service with AlwaysUp

Rock-solid for the past 10+ years!