Vista!
Shutting down or rebooting Windows allowing existing applications to reopen
Windows Vista introduced the /g
switch in shutdown.exe
and was unchanged in Windows 7:
/g Shutdown and restart the computer. After the system is rebooted, restart any registered applications.
I never noticed it until Windows 10 which began actively use it when applying system updates: then suddenly many of the previously running applications would reopen during startup.