mikkydoos Posted January 28, 2014 Posted January 28, 2014 Hi all, Shutdown software that works on Windows 7 & 8 ? Need to schedule, configure and deploy remotely from server 2012. Any suggestions appreciated. Cheers.
fairm010 Posted January 28, 2014 Posted January 28, 2014 Subscribed, I too am interested. I have looked into PowerMan by Data Synergy but not trialled yet. Matt
Mr.Ben Posted January 28, 2014 Posted January 28, 2014 Use a scheduled task with GPP - it's free and fairly simple to setup. you just need to ensure that you specify the timing of the shutdown 20mins after the school should have been closed.
fairm010 Posted January 28, 2014 Posted January 28, 2014 At the moment I use GPP to schedule a shutdown command at a certain time but find it doesnt work all the time.
Oaktech Posted January 28, 2014 Posted January 28, 2014 we use Remote Computer Manager Remote Computer Manager - remote shutdown, reboot, turn on, turn off and wake up computers on network with Wake-on-LAN. Remote execute commands on multiple network computers. it works on our RM network, it works on our vanilla 2008r2/win7 network. We haven't tried it on win 8, but we see no reason it wouldn't work.
mark100 Posted January 28, 2014 Posted January 28, 2014 Remote Shutdown - Automatic Shutdown and WOL Software links into AD.
SkreeM1980 Posted January 28, 2014 Posted January 28, 2014 We're using Faronics Powersave ... does the job, haven't pointed it at Win8 but I would imagine it will work.
HPlum78 Posted January 28, 2014 Posted January 28, 2014 powershell stop-computer "%computername%" -Force will do it for you, you could write a task to run the script. You could also poll the computers on your network to see if they are on and pass the names to it and I suppose you could even check if it has any active sessions on it as well.
birchanger Posted January 28, 2014 Posted January 28, 2014 We use Impero - it's one of the nice extras.
GeekyPete Posted January 28, 2014 Posted January 28, 2014 (edited) You don't need to spend any money on this. Use the Shutdown command, it works in win7 and win8. You can write a command for each computer (shutdowm /s /m \\computername) in a text file. Save it as a .bat to make a batch file. You can then schedule the batch file as a regular scheduled task. I prefer to do this from the command line too using the "at" command. It saves using admin account credentials that you can forget to update the password for. If you have a lot, copy the first part of the command in to a column in excel, copy the computer names (exported) in to the next column. Use the concatenate (&) function to make the completed commands in a third column. Cut and paste this to third column to notepad. Edit: see Shutdown Command Details and Examples for what else you can do with the shutdown command. restart, x minute delay, force user log off etc. Edited January 28, 2014 by GeekyPete
Michael Posted January 28, 2014 Posted January 28, 2014 Here's how I do it Not tested on Windows 8, but have no reason to believe it won't work 2
mikkydoos Posted January 29, 2014 Author Posted January 29, 2014 (edited) OK so a GPP it is. Now... when I run %systemroot%\system32\shutdown.exe -f -s -t 180 "This computer will automatically shutdown in 3 minutes. Please save your work now" from a cmd prompt on my machine it asks for a reason code in the argument. Never got my head around this. Its to do with the "MSG in quotes" Can someone send me an example ? Edited January 29, 2014 by mikkydoos
Mr.Ben Posted January 29, 2014 Posted January 29, 2014 (edited) It should be: %systemroot%\system32\shutdown.exe -s -f -t 180 -c "This computer will automatically shutdown in 3 minutes. Please save your work now" I would also give them a bit longer warning time - 1800 (30 minutes) is what trial and error have told me to be a reasonable compromise. I you are running this on a server, then you will need a reason code - you don't on clients. Edited January 29, 2014 by Mr.Ben Bad Math! 1
cooka Posted January 29, 2014 Posted January 29, 2014 This is ours via GPP - %systemroot%\System32\Shutdown.exe -f -s -t 60, scheduled to run at 9PM as we have various after school clubs and staff doing work. (for some reason leaving the PCs on all night ...). I didnt think you could add a message to the shutdown? I thought a message was displayed informing the user that the PC was being shutdown, with a countdown timer? 1
chazzy2501 Posted January 29, 2014 Posted January 29, 2014 I do an automated daily shutdown this way and it works very well.
HPlum78 Posted January 29, 2014 Posted January 29, 2014 Import-Module ActiveDirectory New-PSDrive -PSProvider ActiveDirectory -Server "Name of your DC HERE" -Root "Name of your AD Root HERE" -Name Name of the drive -FormatType Canonical cd Name of the drive: cd "where your computers live:" Get-ADComputer -Filter * | FT DNSHostName #this is just a simple way of getting all the computer names, you can make this filter find whatever you like. you don't need this line as we pipe the results into a var below. $computer = Get-ADComputer -Filter * | FT DNSHostName #put the list of AD computers in a variable Stop-Computer -ComputerName $computer -Force #put the throttlelimit in here if you are shutting down a lot of computers, you can also use the asjob and then get the results back use get-help stop-computer -examples
mikkydoos Posted January 29, 2014 Author Posted January 29, 2014 (edited) I take it the action for this should be create. Doesn't seem to work for me on Win7. Looks right to me. GPO is Computer Configuration Edited January 29, 2014 by mikkydoos
chazzy2501 Posted January 30, 2014 Posted January 30, 2014 (edited) @mikkydoos I use the local system account not an AD account. It'll only need access to local resources anyway. When using GPP just don't use the "Run as" section. I also do not specify a "start in" directory. EDIT: I use replace with an apply once only ILT Edited January 30, 2014 by chazzy2501 1
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now