shutdown and minlogon

  • Thread starter Thread starter Henry Markov
  • Start date Start date
H

Henry Markov

I have a small footprint configuration that uses minlogon. If I execute a
"shutdown /l" the machine shuts down and can only be restarted by a hard reset.
If I execute a "shutdown /r" I am informed that I don't have permission. How
can I perform a shutdown and restart and am I wrong in thinking that the
different behaviors I described seem ill considered?

Henry
 
Hi Henry,

Try "windows\fba\fba.exe -shutdown"
or xpepm.exe utility.

Regards,
Slobodan
 
Note that xpepm does an immediate hard shutdown, does not notify any services
that a shutdown is in progress, so that may not be what you want.
Not sure about fba -shutdown, haven't tried that.

Ann
 
Ann,

If you need a graceful shutdown, you can write a simple app that makes a call to ExitWindowsEx(EWX_SHUTDOWN) but queries for
SE_SHUTDOWN_NAME privilege first through AdjustTokenPrivileges. Do googling (or search MSDN) and you will hit a bunch of samples
available.
 
Hi Henry
i have the same problem. Did you already got a solution? Because the FBA
shutdown does not a restart and in my case it damaged my image so that i got
a stop screen when booting again.

Thanks
Jo
 
Back
Top