| Forum Home | ||||
| Press F1 | ||||
| Thread ID: 106538 | 2010-01-12 23:45:00 | need someway to shutdown all desktop machines but not server | nedkelly (9059) | Press F1 |
| Post ID | Timestamp | Content | User | ||
| 848158 | 2010-01-12 23:45:00 | Hey my old school has asked me to find a way to turn off all their pcs in the school at 6pm. Was thinking about trying the shutdown command, but there are 50 or so machines and of course they dont want the servers to shut down. Any ideas? | nedkelly (9059) | ||
| 848159 | 2010-01-12 23:57:00 | Whats the server and whats the OS's on the workstations ? Most servers have the ability to shut down PC's connected to them at a set time. Example (www.computerperformance.co.uk) For Server 2003 shutdown.exe Use the shutdown.exe command to shut down or restart local or remote computers. You can also use it for shutting down several computers at once using the /i option. With this option, a new window appears where you add the names of the computers that you want to shut down or restart. |
wainuitech (129) | ||
| 848160 | 2010-01-13 00:48:00 | server is running windows server 2003 (not sure what version) and all of the windows desktops are running xp pro. | nedkelly (9059) | ||
| 848161 | 2010-01-13 01:43:00 | server is running windows server 2003 (not sure what version) and all of the windows desktops are running xp pro. So yes the shutdown command will work here. I have a VM server (windows 2003) with a couple of W7 and XP machines on it. I run a shutdown command on the server which shuts down the clients, then shuts the server down. You just connect to the client machine over the network then issue the shutdown command to the client machine. |
psycik (12851) | ||
| 848162 | 2010-01-13 02:27:00 | You could go to sleepysoftware.com, they have a little app that you can set restart or shutdowns | SolMiester (139) | ||
| 848163 | 2010-01-13 03:42:00 | psycik: need the server to stay on as well as the other ones as well. SolMiester: I thought there might be a setting in group policy for shutting them down. But will look into that app. |
nedkelly (9059) | ||
| 848164 | 2010-01-13 04:23:00 | run a batch file on the server with a for loop to shutdown all required machines. could do it by ip if the servers are distinct for /l %%a in (10,1,60) do shutdown -f -s -m \\192.168.0.%%a -c "muahahaha" or by a list of machine names in a text file for /f %%a in (machinelist.txt) do shutdown -f -s -m \\%%a -c "go home, your dinner is cold" or drop a scheduled task onto each client to do it themselves. |
fred_fish (15241) | ||
| 848165 | 2010-01-13 04:46:00 | Yeah a batch file would be easier than going around all the machines and adding a scheduled task. Especially the last method of having the machines in a list, what would be the information in the txt file? Can you give all the pcs a scheduled task through group policy? Shame I did not ask this soon. Just re-imaged the entire school. | nedkelly (9059) | ||
| 848166 | 2010-01-13 04:48:00 | Are the PC's & Server in a domain, or just a workgroup ? | wainuitech (129) | ||
| 848167 | 2010-01-13 04:54:00 | They are in a domain. I am very certain that the servers all have statics. But the thing is the school is a mixed environment. No set ranges for macs or pcs. | nedkelly (9059) | ||
| 1 2 3 | |||||