I need to run a certain script each time Windows goes up.
How could I execute it when starting Windows (that is, in boot)?
Put a shortcut to the script in your Start Menu, Startup folder.
Press Winkey R (or otherwise open Run window). Type shell:startup. Click OK button. Drag a shortcut to it.