A
A
Alexander Shapoval2017-08-06 11:32:16
Amazon Web Services
Alexander Shapoval, 2017-08-06 11:32:16

How to automatically start the server?

I have an account on AWS Amazon that has an instance on which windows is installed, how can I make sure that when the instance is activated, the server (on Windows) starts automatically?
Registered the appropriate path for autorun in the registry HKEY_CURRENT_USER and HKEY_LOCAL_MACHINE

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run

But when you start the instance, nothing happens until you manually connect to it, when I connect, Windows loads and everything starts up by itself, but until you connect to it, nothing happens, who knows how to make everything start automatically?
I check the launch in the following way, I placed it on the server go.url where the link leads to my site which is hosted on the hosting, by clicking on the link on the hosting it will create a file that would mean that the server has started.
In the registry, I indicated that I needed to run this file, turned off the server, turned on the server, I’m waiting for the file, but it’s still not there, but when I myself, as I said, manually go to the server, my link will open automatically through the browser and the file appears.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander Shapoval, 2017-08-06
@sanek_os9

You need to enable automatic registration in the system when it boots up, more about this is written here
guruadmin.ru/page/how-to-enable-autologon-in-windo...
Also, do not forget to register autorun in the registry, respectively

T
TyzhSysAdmin, 2017-08-06
@POS_troi

You add a launch to the user's registry branch - the launch will occur when the user logs in.
Add your service as a service.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question