Is there a way [using a batch file] that I can set a system to shutdown PRE-login
but POST-startup? I've tried a scheduled task to run this batch file with the
"/SC ONSTART" flag .. That didn't work. I've tried various registry entries and
couldn't find one that works.
Basically I've created a batch file to perform maintenance with zero user interaction.
One of the actions it performs is setting a "CHKDSK /R" to run on restart, it outputs
a SEPARATE batch file which will delete itself & shut the system down.
I want this separate batch file to run after chkdsk but before the user logs in
that way it still requires zero user interaction... The primary OS this will be
used on is Windows XP Professional.