Questions tagged [autostart]

A mechanism to start automatically a script or program as soon as the operating system or execution environment that executes it is ready.

In general terms, autostart is mechanism whereby a script or program is started automatically as soon as the operating system or execution environment that executes it is ready. The script or program to execute typically needs to be registered in some list of autostart programs.

A typical example of autostart feature is the , which starts a program on a medium as soon as the medium (such as CD or USB key) is inserted in the reading device.

Use this tag for questions about implementations of an autostart feature, or issues with autostarting a particular program.

507 questions
5
votes
4 answers

Delphi: How to create a Windows autostart application like Skype does?

I'd like to add an option to my application similar to the Skype's option "run Skype as my computer starts". Skype doesnt't go on the "Auto start applications" of the start menu folder, I'd like to have the same effect. Note, one answer to this…
UnDiUdin
  • 14,924
  • 39
  • 151
  • 249
5
votes
1 answer

IIS 7.5 Auto Start Not working with Ninject using Web Activator

I have the auto start feature configured for my server as outlined here: http://msdn.microsoft.com/en-us/library/ee677260(v=azure.10).aspx I am not using a custom method as I don't need to do any pre warming, I just have the app pool set to auto…
Alex Spence
  • 1,478
  • 3
  • 17
  • 22
5
votes
3 answers

Has my application been started by hand?

I am developing a Forms application that is either supposed to start on Windows boot (by registering a key in the registry) or by the actual user. In case the user starts it by hand (i.e. clicking the executable file), I want the form to show up. In…
fjdumont
  • 1,517
  • 1
  • 9
  • 22
4
votes
2 answers

How can I autostart a UI-application under windows that a non-admin user cannot close?

I have developed a C# Windows Forms application that runs in the background as a systray icon and does some stuff when it's clicked. It is supposed to launch when Windows starts and run continously, and a normal user without administrator rights…
Darkslide
  • 43
  • 2
4
votes
2 answers

Application manifest, admin rights and autostart on Windows Vista\7

So, I have an app that needs admin rights to work. I created an app.manifest file. It works perfectly. But now I need to set my program to autostart in Windows, and I am having trouble with this. If my program has an app.manifest file - program does…
NYV
  • 85
  • 1
  • 7
4
votes
1 answer

After enabling IIS 7.5 autostart, first request is still slow

I've set startMode="AlwaysRunning" attribute on my application pool and serviceAutoStartEnabled="true" attribute on my application in IIS configuration. I've even set up serviceAutoStartProvider and can see that "warm up" code is being executed. I…
Konstantin
  • 3,817
  • 4
  • 29
  • 39
4
votes
1 answer

How to automatically start docker container on windows boot ~ Wait for docker to be running

I have a container that I pretty much need every time when starting my development PC, so I am trying to get it to autostart. I have already written a .bat file that works fine for starting the container once docker is up, and have put that into the…
Kira Resari
  • 1,718
  • 4
  • 19
  • 50
4
votes
2 answers
4
votes
0 answers

How to check for Auto Start status of app in xiaomi in android

I need to check the status of Auto Start in permission setting of Xiaomi phone, I got solution to open that setting but I am not getting how to check that my app status is on/off in permission for Auto Start. How can I solve this?
Jalpesh Khakhi
  • 288
  • 4
  • 17
4
votes
1 answer

how to programmatically enable Auto-start option for my app in Lenovo devices?

I need to enable auto-start for Lenovo device if it is not enabled. Settings -> Power Manager -> Background App Management -> enable my app.
4
votes
3 answers

systemd script: Assignment outside of section; Missing '='

I have the following (anonymised) systemd script called tomcat-autostart.service, stored in "/usr/lib/systemd/system/tomcat-autostart.service" [Unit] Description=Tomcat Autostart…
Digit Cruncher
  • 91
  • 1
  • 1
  • 5
4
votes
1 answer

Autostart application while phone boots up

How can I make my application to get started while my phone boots up itself.
Nandagopal T
  • 2,037
  • 9
  • 42
  • 54
4
votes
0 answers

How to automatically enable autostart my apps in Xiaomi Mi4i security menu?

My apps if already install, can't start service. If running service must setup in Security Menu and then allow this apps with manual setting. And i want for setup not manual setup but with programmatically in my code service. My…
4
votes
2 answers

Qt C++ application: self autostart installation in Linux

I'm porting some Qt Windows/VC++ code to Linux/GCC. The application can add it's own shortcut to the Windows Autostart folder so the application starts after login. I want to do the same in Linux. I'm using Kubuntu 15.10 but the solution should work…
Silicomancer
  • 8,604
  • 10
  • 63
  • 130
4
votes
4 answers

Double click to start Windows Service

How do I make my Windows Service to work in the following way... 1.) Automatically start after it installs 2.) Automatically start even if we simply double click on the executable In other words,I dont want to use the "NET START","SC" commands and…
Josh
  • 13,530
  • 29
  • 114
  • 159