Hot answers tagged

42

You want a device called a "Remote Power Switch", one that we have used at my workplace to remotely restart cable modems is the UIS-322b below: You can set it up with an IP address, and then log in to it to power on, power off, or power cycle either device connected, and set it on a schedule. You cannot control it via email, but through the web ...


31

Can I setup a program, event, or a script that will tell the machines to reboot? It depends on what you mean by: they freeze or "stall" If the remote machine has hung in a way that requires a "hard reset" then a remote restart will not work. Having said that, you can use shutdown to remotely restart a device. Example: shutdown /r /f /m \\computer ...


13

If you have actual servers, they likely have a remote management feature that can be connected to even if the machine's main OS is completely frozen. Generally, you use SSH to connect to the controller. The specific command issued depends on the brand of your server. For a Dell servers, which use DRAC (Dell Remote Access Controller), the command to execute ...


11

Use Outlook. Link at the bottom of the answer has information that helped with this answer. Kudos to GuidingTech.com Create a .bat file first. shutdown.exe /r /t 00 Save as Restart.bat Make sure the computer is logged in with the email you receive the email Notification in. You can setup different accounts for each computer if you wish and have your ...


5

To be honest, if all you want to do is to (hard) bounce a box, the easiest way is to "press the reset switch". Since you need to do a HARD reset, you could either mess about on the High Voltage end (rather risky), or do it on the motherboard. Some high-end motherboards have a built-in network card/controller for bouncing the PC. However you can also wire ...


3

Have you considered running your server as a client on a virtual machine? You'd run the VM sofware (VMware, VirtualBox) on the physical server, then run a virtual machine with your rendering software as the client. With no other processing going on on the machine, you should get comparable performance, and it would be easier to stop and restart a virtual ...


2

I found the GIMP Saver Plugin that does exactly that and a little more. I mapped it to Ctrl+E.  Now Ctrl+E just saves the plain image and I'm done!  perfect!  I left Ctrl+Shift+E to "Export as", which is the only one I use anyway. It is perfect for those times when you have to visually tweak a dozen JPEGs and you can't just use ImageMagick.


2

I'm not actually sure you need ELSE, let alone a nested IF, for your use case: @echo off IF NOT "%1%"=="0" ( goto proc3 ) IF "%2%"=="0" ( goto proc1 ) goto proc2 :proc1 echo in Proc1 0 0 pause exit :proc2 echo in Proc2 0 N0 pause exit :proc3 echo in Proc3 N0 0 pause exit If for some reason you really do want to nest your IFs, you're missing ...


2

Give a try for this example : Option Explicit Dim Title,Question Title = "user input in VBS with MsgBox" Question = MsgBox("Proceeding will wipe the contents of your C: Drive. Proceed ?",vbYesNo+vbQuestion, Title) If Question = vbYes Then MsgBox "We proceed wipping your C:\ drive",vbExclamation,Title 'Call your sub here to continue proceeding your ...


2

I don't know how to put these commands together I know I can do: wmic os get Caption to get the window version and: wmic os get ServicePackMajorVersion to get the service pack. You can indeed use wmic to retrieve these values. However, in order to use them later in your batch file (for example in an if expression) you need to store ...


1

I actually solve my problem, before, in my first script I fire second script like I wrote above, but actually in my first script I should use: second_script "$@" To fire second script, now it works as expected. Relevant are quotes around $@.


1

I have the same "error" as you. This message box is run by VBScript. This is completely normal. This is only because the operating system thinks it is a system file and tries to run it. If you want to edit it, you can select the default program to open the file. Change it from Microsoft Windows Based Script Host to notepad or a text editor. That should open ...


1

You can issue the command apt-get install ${package_list} and all packages in the the package-list variable will be installed if possible. There are tools that will give you lists of installed packages. You should remove any packages installed as dependencies, as well as packages installed by default. Look at the command listed by man -k apt. If you ...


1

It looks like the software just added a 36-character GUID to the end of each file name. You can use this short bash script to remove them. Just cd to the folder with the files in a Terminal, and run the following: for i in *; do j="$(echo "$i" | sed -e 's/\.........-....-....-....-............$//')" mv -- "$i" "$j" done Only files that have a ...



Only top voted, non community-wiki answers of a minimum length are eligible