tester2 Posted April 24, 2014 Share Posted April 24, 2014 hi guys i need your help, i got 5 PC's in my Home, like Win XP, Win 7 & Win 8.But i want to use my Win8 PC as a MAIN PC to Shut Down other 4 PC every day at 9PM & My Documents place have to be Clean up automatically on all 4 PC's before shut down at 9PM.I mean i want to sit on my Windows 8 PC, then I want to SHUT DOWN other all 4 PC's at 9PM.So i like to know "from where i have to start to do this PC Networking System in my Home" and i like to know1)--Which Windows i have to Install on Main PC may be you call it as SERVER Computer.2)--And which necessery changes i have to do in their Windows, on other all 4 PC as TERMINALS.Please let me know How to do this things.Hopefully waiting for your repliesThanks Quote Link to comment Share on other sites More sharing options...
Dodel Posted April 24, 2014 Share Posted April 24, 2014 (edited) hi guys i need your help, i got 5 PC's in my Home, like Win XP, Win 7 & Win 8.But i want to use my Win8 PC as a MAIN PC to Shut Down other 4 PC every day at 9PM & My Documents place have to be Clean up automatically on all 4 PC's before shut down at 9PM.I mean i want to sit on my Windows 8 PC, then I want to SHUT DOWN other all 4 PC's at 9PM.So i like to know "from where i have to start to do this PC Networking System in my Home" and i like to know1)--Which Windows i have to Install on Main PC may be you call it as SERVER Computer.2)--And which necessery changes i have to do in their Windows, on other all 4 PC as TERMINALS.Please let me know How to do this things.Hopefully waiting for your repliesThanksMaybe not quite perfect, however I'd look at PsShutdownhttp://ss64.com/nt/psshutdown.htmlFull syntax for above :-http://network-shutdown.com/using-psshutdown-and-shutdown-commandsSupports lists of connected devices to shutdown I believe, or are you wanting telenet ? (as terminals suggested) Edited April 24, 2014 by Dodel Quote Link to comment Share on other sites More sharing options...
Kalju Posted April 24, 2014 Share Posted April 24, 2014 The easiest way is to do a so-called scheduled tasks , or use some self-standing timer.But also TeamViewer is possible to use. http://www.teamviewer.com/en/index.aspx Quote Link to comment Share on other sites More sharing options...
tester2 Posted April 24, 2014 Author Share Posted April 24, 2014 How to do the Scheduled Task on main Windows 8 PC, to issude a Command to shut dowm all other 4 PC's. I don't want to do Manually each PC Shut Down by using Teamviewer.Once i issue a command then all 4 PC's must shut down with out waiting.So is there any Software or Any settings i have to do in all the PC's.I want to do this Task.Thanks Quote Link to comment Share on other sites More sharing options...
gipsy Posted April 24, 2014 Share Posted April 24, 2014 use some self-standing timerI think it's easyest way too.try Time PC(for example).it's free & have english interface.http://files5.freesoft.ru/rep/682758/timepc_setup.exe it's for XP& 7,in 8 use build in timer(use store ) Quote Link to comment Share on other sites More sharing options...
ricktendo Posted April 24, 2014 Share Posted April 24, 2014 (edited) shutdown /m \\pc-name /sIf you first go to the Network folder in explorer and browse shared folders on the computer you wish to shut down you will have the valid permissions (name & password) to shut it downEdit: more shutdown.exe goodness http://www.codeproject.com/Articles/22718/Shutdown-Remote-Using-Shutdown-exeEdit2: you can also use taskschd.msc to add a command that will shutdown your computer at a certain timeschtasks /create /sc DAILY /tn "Power Off" /tr "shutdown /s /t 60 /c \"Your PC will shutdown in aproximately 1 minute.\"" /st 21:00 /fIf you want to cleanup & shutdown you can change shutdown.exe for ccleaner.exeschtasks /create /sc DAILY /tn "Cleanup and Power Off" /tr "ccleaner /AUTO /SHUTDOWN" /st 21:00 /f Edited April 24, 2014 by ricktendo Quote Link to comment Share on other sites More sharing options...
davmil Posted April 25, 2014 Share Posted April 25, 2014 shutdown /m \\pc-name /sIf you first go to the Network folder in explorer and browse shared folders on the computer you wish to shut down you will have the valid permissions (name & password) to shut it downEdit: more shutdown.exe goodness http://www.codeproject.com/Articles/22718/Shutdown-Remote-Using-Shutdown-exeEdit2: you can also use taskschd.msc to add a command that will shutdown your computer at a certain timeschtasks /create /sc DAILY /tn "Power Off" /tr "shutdown /s /t 60 /c \"Your PC will shutdown in aproximately 1 minute.\"" /st 21:00 /fIf you want to cleanup & shutdown you can change shutdown.exe for ccleaner.exeschtasks /create /sc DAILY /tn "Cleanup and Power Off" /tr "ccleaner /AUTO /SHUTDOWN" /st 21:00 /fNice & elegant. Might add if one only wants to reboot change the /st to /rt . I do this to all the PC's on the Lan every night to get them ready (all files closed) for remote backup. Caveat - gotta train those users their equipment is getting rebooted... many folks just leave them running and don't appreciate you closing them down. Quote Link to comment Share on other sites More sharing options...
tester2 Posted April 25, 2014 Author Share Posted April 25, 2014 (edited) And all the PC's are running on one ISP Provider.first i am trying on Win XP PC, so i click on COMPUTERS, Shared Documents, Share this Folder, now i am in the sharing TAB,after this where i can enter this command [ schtasks /create /sc DAILY /tn "Power Off" /tr "shutdown /s /t 60 /c \"Your PC will shutdown in aproximately 1 minute.\"" /st 21:00 /f ]if you direct me , i will give a try, i am new to this things.Thanks Edited April 25, 2014 by tester2 Quote Link to comment Share on other sites More sharing options...
nanoman Posted April 25, 2014 Share Posted April 25, 2014 (edited) many Utilities and respected software will get the job done perfectly and like real administrator and to name few of them Wake On Lan <<<<----->>>>> Shut down -EMCO Remote Shutdown-EMCO WakeOnLan -Remote Computer Manager-Network LookOut Net Monitor for Employees Professional-...................................................... other options >>>>>>>>>>>>> here Edited April 25, 2014 by nanoman Quote Link to comment Share on other sites More sharing options...
masterupc Posted April 25, 2014 Share Posted April 25, 2014 Wanna custom made program? One that before shuts down deletes all what's in documents folder (local user) or in shared documents (public user)?Tell me and I can write it for you. If you want more features, you can tell me too. Quote Link to comment Share on other sites More sharing options...
tester2 Posted April 25, 2014 Author Share Posted April 25, 2014 hi Dr.Vicodian, walk me few steps,how to proceed to 1st clean it up My Documents on all 4 PC's before shutwodn,then SHUTDOWN all 4 PC's,So How to do this job with Scripts, insted of Installing a Sepetate Softwate to do this Job.Thanks Quote Link to comment Share on other sites More sharing options...
ricktendo Posted April 25, 2014 Share Posted April 25, 2014 (edited) del /f /s /q "%userprofile%\documents"BTW I dont think /rt is a supported command Edited April 25, 2014 by ricktendo Quote Link to comment Share on other sites More sharing options...
tester2 Posted April 25, 2014 Author Share Posted April 25, 2014 hi there, you guys knows this all commands,can i enter this command in cmd prompt [ del /f /s /q "%userprofile%\documents" ]for 4 pc's my documents to be clean it up all togather, then i have to enter this command in cmd prompt [ schtasks /create /sc DAILY /tn "Power Off" /tr "shutdown /s /t 60 /c \"Your PC will shutdown in aproximately 1 minute.\"" /st 21:00 /f ]i am still confuse where i have try to enter this commandsthanks Quote Link to comment Share on other sites More sharing options...
masterupc Posted April 25, 2014 Share Posted April 25, 2014 hi there, you guys knows this all commands,can i enter this command in cmd prompt [ del /f /s /q "%userprofile%\documents" ]for 4 pc's my documents to be clean it up all togather, then i have to enter this command in cmd prompt [ schtasks /create /sc DAILY /tn "Power Off" /tr "shutdown /s /t 60 /c \"Your PC will shutdown in aproximately 1 minute.\"" /st 21:00 /f ]i am still confuse where i have try to enter this commandsthanksThat's the reason I prefer writing my own programs instead of writing scripts... too much for a freelancer like me... xDIf you have a little experience in writing scripts, it's better to rely on programs... are much simplier for the user. One click on a red round button with a skull on it and the work's done!xD Quote Link to comment Share on other sites More sharing options...
ricktendo Posted April 25, 2014 Share Posted April 25, 2014 (edited) Use my schtasks command to create a task to shut down at 9 PM on all computers (you can do this manually as well in the task scheduler,) then open taskschd.msc, right click the task and go to Properties Now go to the Actions tab, click New... and add cmd in the Program/Scritpt box, then /c del /f /s /q "%userprofile%\documents" in the Add arguments box Now to test right click on the task, and Run BTW move the cleanup command UP before the shutdown command so this is executed FIRST Edited April 25, 2014 by ricktendo Quote Link to comment Share on other sites More sharing options...
masterupc Posted April 25, 2014 Share Posted April 25, 2014 Use my schtasks command to create a task to shut down at 9 PM on all computers (you can do this manually as well in the task scheduler,) then open taskschd.msc, right click the task and go to PropertiesNow go to the Actions tab, click New... and add del in the Program/Scritpt box, then /f /s /q "%userprofile%\documents" in the Add arguments boxNow to test right click on the task, and RunBTW move the cleanup command UP before the shutdown command so this is executed FIRSTThat's a fine solution but it's time fixed and independent of any external interaction and tester2 wants something he can control... what if he wants to shut down all the pc's at 11 pm or 6 pm?But i want to use my Win8 PC as a MAIN PC to Shut Down other 4 PC every day at 9PM & My Documents place have to be Clean up automatically on all 4 PC's before shut down at 9PM.I mean i want to sit on my Windows 8 PC, then I want to SHUT DOWN other all 4 PC's at 9PM.That's why I proposed the idea of a FREE custom made program (I'm freelancer systems developer)Well, it's up to him to decide what to do, isn't it?Have a nice day! Quote Link to comment Share on other sites More sharing options...
ricktendo Posted April 25, 2014 Share Posted April 25, 2014 (edited) Still no need for a custom app if he wants to shut down remote computer, you can also do this via taskschd.msc, just add these switches whith schtasks (remote user) /ru computer-name\user and (remote password) /rp passwordschtasks /create /sc DAILY /tn "Power Off Mikes" /tr "shutdown /s /t 60 /c \"Your PC will shutdown in aproximately 1 minute.\"" /st 21:00 /ru Mikes-PC\Mike /rp P455w0rd /fschtasks /create /sc DAILY /tn "Power Off Mollys" /tr "shutdown /s /t 60 /c \"Your PC will shutdown in aproximately 1 minute.\"" /st 21:00 /ru Mollys-PC\Molly /rp Bunn13s /fAgain, he can do this manually if he wants to in task schedulerAlso: http://technet.microsoft.com/en-us/library/cc766266.aspx Edited April 25, 2014 by ricktendo Quote Link to comment Share on other sites More sharing options...
tester2 Posted April 26, 2014 Author Share Posted April 26, 2014 (edited) i download this program from google search "taskschd" size is 142kB, then i double click on it, and Run it, i am getting error like this "MMC could not create the snap-in"and i am trying to attach screen shot to this site, but there is no option to attach screen like you guys attach.i want to show the errer.any way can you attach the exact file which you have shown in your SCREEN SHOTS like i need a file "taskschd.msc".then i will try the above all.finally i attach file,thanks Edited April 26, 2014 by tester2 Quote Link to comment Share on other sites More sharing options...
Kalju Posted April 26, 2014 Share Posted April 26, 2014 Do not understand why this is necessary so difficult and obscurely to do? If you want to do every day at the same time the same operation(s). Why will not fit Windows own Scheduled Task?Beauty lies in simplicity. Quote Link to comment Share on other sites More sharing options...
tester2 Posted April 26, 2014 Author Share Posted April 26, 2014 i just want to do 1)-clean up DOCUMENTS place where the files save usually,2)-there after shut down all the 4 PC's, with in the same network, i am using one ISP Provider in my Home.just 2 things i want to do in my Home,thanks Quote Link to comment Share on other sites More sharing options...
ricktendo Posted April 27, 2014 Share Posted April 27, 2014 You are impossible to help, I give up Quote Link to comment Share on other sites More sharing options...
Chancer Posted April 27, 2014 Share Posted April 27, 2014 Did you get any different answers across at MDL? Quote Link to comment Share on other sites More sharing options...
masterupc Posted April 29, 2014 Share Posted April 29, 2014 You are impossible to help, I give upROFLToo early to give up! Quote Link to comment Share on other sites More sharing options...
nanoman Posted April 30, 2014 Share Posted April 30, 2014 You are impossible to help, I give upROFLToo early to give up!I See You you have fallen sleep already or since along time :lol: :lol: :lol: Quote Link to comment Share on other sites More sharing options...
masterupc Posted May 1, 2014 Share Posted May 1, 2014 You are impossible to help, I give upROFLToo early to give up!I See You you have fallen sleep already or since along time :lol: :lol: :lol:I'm always in sleep mode... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.