Is this possible ? Id rather do it so I can run a script rather than having to remote desktop and shutdown that way..
Announcement
Collapse
No announcement yet.
Shutdown all rendernodes via command prompt or script ?
Collapse
X
-
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
-
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
-
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
-
Originally posted by instinct View Postyou 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,
ThorstenKind Regards,
Richard Birket
----------------------------------->
http://www.blinkimage.com
----------------------------------->
Comment
-
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
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
Comment