Announcement

Collapse
No announcement yet.

Shutdown all rendernodes via command prompt or script ?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Shutdown all rendernodes via command prompt or script ?

    Is this possible ? Id rather do it so I can run a script rather than having to remote desktop and shutdown that way..
    Regards

    Steve

    My Portfolio

  • #2
    come up in the server room from behind...grab all power cords...pull...
    Dmitry Vinnik
    Silhouette Images Inc.
    ShowReel:
    https://www.youtube.com/watch?v=qxSJlvSwAhA
    https://www.linkedin.com/in/dmitry-v...-identity-name

    Comment


    • #3
      Sure, just make a .bat file (use notepad, and just rename extension to .bat)

      Here's one that we use:

      %windir%\System32\shutdown.exe -s -m \\server1 -t 00 -f

      Just add a line in there for every server. For more information on the switches look here: http://support.microsoft.com/kb/317371

      You can also create a bat file that will restart all your servers by adding the -r switch.
      Derik Bibb
      Architectural Visualizer

      TANGRAM 3DS
      International 3D & Design Solutions

      Comment


      • #4
        This sounds like a great idea. We've been using a trial piece of software running on our file server to do this recently, but it would be nice to do it 'for free'. If each rendernode has a username and password, must this go into the bat file somewhere as I don't seem to have success with it at the moment?
        Kind Regards,
        Richard Birket
        ----------------------------------->
        http://www.blinkimage.com

        ----------------------------------->

        Comment


        • #5
          you have to connect to the ipc share first to supply your credentials. Seems more straight forward to me to use psexec wich is free too and allows supplying credentials as well as run arbitrary commands.

          Regards,
          Thorsten

          Comment


          • #6
            Originally posted by instinct View Post
            you have to connect to the ipc share first to supply your credentials. Seems more straight forward to me to use psexec wich is free too and allows supplying credentials as well as run arbitrary commands.

            Regards,
            Thorsten
            You've lost me.....
            Kind Regards,
            Richard Birket
            ----------------------------------->
            http://www.blinkimage.com

            ----------------------------------->

            Comment


            • #7
              the ipc share is an administrative share you can use to supply user and password to gain admin access to the remote machine with a command like this :

              Code:
              net use \\hostname\ipc$ password /user:username
              (that was from the top of my head so i cant 100% confirm i got the syntax right :P)

              psexec is part of microsoft's sysinternal tools wich are available for free. It allows to remotely run command line commands with admin credentials:

              http://technet.microsoft.com/en-us/s.../bb896649.aspx


              Regards,
              Thorsten

              Comment


              • #8
                Cheers for the replies guys. I think I tried the shutdown command in prompt before but didnt have any luck with it...im guessing I need to do what instinct said first...
                Regards

                Steve

                My Portfolio

                Comment


                • #9
                  I believe for the command line shutdown, the user sending the shutdown has to be an administrator user on the servers.
                  Derik Bibb
                  Architectural Visualizer

                  TANGRAM 3DS
                  International 3D & Design Solutions

                  Comment

                  Working...
                  X