Jump to content

Recommended Posts

Posted

I'm looking for a small exe program (or anything else!) wich doesn't look ugly as shutdown.exe.

shutdown.gif

To me it looks like a big error message and remind me one of those summer 2003 virus! ;)

Maybe something more graphical with a few buttons like Reboot Now and Cancel.

EDIT: WoW 400 post!


Posted

Ok, I tried PsShutdown.exe:

basic

psshutdown.gif

Some options

psshutdown2.gif

At least I can put a cancel button...

EDIT: I don't understand how to use the -e option:

-e Shutdown reason code.

Specify 'u' for user reason codes and 'p' for planned shutdown reason codes.

xx is the major reason code (must be less than 256)

yy is the minor reason code (must be less than 65536)

psshutdown [[\\computer[,computer[,..] | @file [-u user [-p psswd]]] -s|-r|-h|-d|-k|-a|-l|-o [-f] [-c] [-t nn|h:m] [-n s] [-e [u|p]:xx:yy] [-m "message"]

  • 2 weeks later...
Posted
Ok, I tried PsShutdown.exe:

basic

psshutdown.gif

Some options

psshutdown2.gif

At least I can put a cancel button...

EDIT: I don't understand how to use the -e option:

-e Shutdown reason code.

Specify 'u' for user reason codes and 'p' for planned shutdown reason codes.

xx is the major reason code (must be less than 256)

yy is the minor reason code (must be less than 65536)

psshutdown [[\\computer[,computer[,..] | @file [-u user [-p psswd]]] -s|-r|-h|-d|-k|-a|-l|-o [-f] [-c] [-t nn|h:m] [-n s] [-e [u|p]:xx:yy] [-m "message"]

Windows Server 2003 requires you enter a reason when you attempt to restart...

Posted

t 00 would reboot the computer instantly... not a good thing since Windows isn't fully booted at the end of RunOnceEx.cmd.

Keep in mind I only want a gentle warning with a timer, and maybe a few buttons like Reboot Now and Cancel.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...