PC Review Forums Newsgroups Windows XP Windows XP Embedded reboot or halt machine in minilog and command shell?

Reply

reboot or halt machine in minilog and command shell?

 
Thread Tools Rate Thread
Old 06-12-2004, 08:15 AM   #1
canbaby
Guest
 
Posts: n/a
Default reboot or halt machine in minilog and command shell?


Hi:
How I can do that?

---canbaby---
  Reply With Quote
Old 06-12-2004, 08:26 AM   #2
KM
Guest
 
Posts: n/a
Default Re: reboot or halt machine in minilog and command shell?

canbaby,

Use:

\windows\fba\fba.exe -reboot

- or -

xpepm.exe -reboot (include "Power Management Application" component)

- or -

shutdown -r (you may get a privilege error)

- or -

write your own simple app that calls to API ExitWindows[Ex], or InitiateSystemShutdown, or directly NtShutdownSystem.

KM

> Hi:
> How I can do that?
>
> ---canbaby---



  Reply With Quote
Old 06-12-2004, 08:39 AM   #3
canbaby
Guest
 
Posts: n/a
Default Re: reboot or halt machine in minilog and command shell?

KM wrote:

> canbaby,
>
> Use:
>
> \windows\fba\fba.exe -reboot
>
> - or -
>
> xpepm.exe -reboot (include "Power Management Application" component)
>
> - or -
>
> shutdown -r (you may get a privilege error)
>
> - or -
>
> write your own simple app that calls to API ExitWindows[Ex], or InitiateSystemShutdown, or directly NtShutdownSystem.
>
> KM
>
>
>>Hi:
>>How I can do that?
>>
>>---canbaby---

>
>
>

before I use rundll32.exe user32.dll ExitWindowsEx
but it not function.
now I know it, thank
  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off