Pregunta

Hoping its a simple one.

I need to run a vb.net program at Windows startup before the logon screen is even displayed. It will require no input and will be a console only program that checks a few system settings with values stored in a mysql database and updates any mismatched settings, such as IP information or local username's

I know of the Run and RunOnce reg keys, but I believe these will execute on user login, which is not suitable for what I require.

I already utilize the SetupComplete.cmd scripts on first boot following OS deploy to handle a fair bit of the initial setup, but now I need to ensure that the settings applied on first boot are maintained following each reboot.

Any help appriciated!

Thanks in advance! :)

¿Fue útil?

Solución

You could just run the vb script with a scheduled task (windows task scheduler) and use the trigger "at startup".

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top