For the reference, there are bunch of irrelevant question when you try to search for generic words windows run app during boot
but few dozens I went through are all incorrect since they target the cases when things needs to be ran at startup.
Mine inst.
I need to run some basic operations/program during Windows boot time BEFORE most of the services started. Ideally - before RPCSS
(Remote Procedure Call) starts. Testing few different methods shows that this service up and running as early as it gets. So I somehow need to be able to run an executable earlier than that or at least on par.
I probably could make a fake service, screw around with OrderGroups
and ServiceGroupOrder
, make the service start practically the first and then successfully make it stop/quit after doing the operation but this seems absolute overkill for a simple file copy operation. I also cannot really on any 3rd party solution, this is something that should be doable on stock Windows.