| | |
How to shutdown remote pc from DOS?
Thread Solved
![]() |
•
•
Join Date: Nov 2007
Posts: 5
Reputation:
Solved Threads: 1
It has been brought to my attention that there is an error in teh programming for my previous post. This version seems to work a bit better:
Dim objShell, strComputer, strInput
Dim strShutdown
Do
strComputer = (InputBox(" ComputerName to shutdown", "Computer Name"))
If strComputer <> "" Then
strInput = True
End if
Loop until strInput = True
strShutdown = "shutdown -r -t 0 -f -m \\" & strComputer
set objShell = CreateObject("WScript.Shell")
objShell.Run strShutdown
Wscript.Quit
thanks,
Brandon
Dim objShell, strComputer, strInput
Dim strShutdown
Do
strComputer = (InputBox(" ComputerName to shutdown", "Computer Name"))
If strComputer <> "" Then
strInput = True
End if
Loop until strInput = True
strShutdown = "shutdown -r -t 0 -f -m \\" & strComputer
set objShell = CreateObject("WScript.Shell")
objShell.Run strShutdown
Wscript.Quit
thanks,
Brandon
•
•
•
•
Try this VBScipt. Copy and paste the below text in to notepad. then save it with the extension .vbs. Then when you double click it, it should give you an input box. What ever IP or PC name you enter there will be shut down!:
Sub RebootComputer( strServer )
Set objOSSet = GetObject("winmgmts:{(RemoteShutdown)}//" & strServer & "/root/cimv2").ExecQuery("select * from Win32_OperatingSystem where Primary=true")
For each objOS in objOSSet
objOS.Reboot()
Next
End Sub
' *************************************************************
' Main
' **************************************************************
Dim strComputer
Do
strComputer = inputbox( "Please enter the name of the computer you want to reboot", "Input" )
Loop until strComputer <> ""
RebootComputer( strComputer )
WScript.Echo( "Computer " & strComputer & " rebooted" )
•
•
Join Date: Aug 2008
Posts: 1
Reputation:
Solved Threads: 0
which OS U R using.
for windows xp/2000/2k3 it worked
shutdown /s /m \\<system ip address> /t <time>
<time> : it should be in seconds. For example 2 min = 120
<ip address> : target system ip address
for any quries pls reply to : downloadsrk@yahoo.com
for windows xp/2000/2k3 it worked
shutdown /s /m \\<system ip address> /t <time>
<time> : it should be in seconds. For example 2 min = 120
<ip address> : target system ip address
for any quries pls reply to : downloadsrk@yahoo.com
•
•
Join Date: Nov 2008
Posts: 2
Reputation:
Solved Threads: 0
There are others ways to make easier remote shutdown in a machine network, follow this link to download Easy Net Control a network administrator tool that help you to easy shutdown, logoff, restart send messages, and instructions to remote machines.
http://enc.idraconnectivesolutions.com/
http://enc.idraconnectivesolutions.com/
Or
http://idraconnectivesolutions.com/enc/
http://idraconnectivesolutions.com/enc/
I hope that this could help you.
http://enc.idraconnectivesolutions.com/
http://enc.idraconnectivesolutions.com/
Or
http://idraconnectivesolutions.com/enc/
http://idraconnectivesolutions.com/enc/
I hope that this could help you.
![]() |
Similar Threads
- i can't shutdown my remote computer in the network (Networking Hardware Configuration)
- help me to configure my network to shutdown my remote PC (Windows NT / 2000 / XP)
Other Threads in the Windows NT / 2000 / XP Forum
- Previous Thread: Net Access Restricter
- Next Thread: ftp problem in winxp system
| Thread Tools | Search this Thread |
.net 64bit 2007 2010 a.exe activedirectory address android apache appstore black blue bsod bulletin canonical chinese codeplex combofix computer crash cursor deployment deployments desktop desktops dns dotnetnuke drive eartlink error errors explorer fax features folder fontmanagers format framework freeze hardware home interoperability laptop laptops lcd linux login mac markshuttleworth memory microsoft monitor motionle1600 netbooks novell nvidia opensource operatingsystems options oracle osinstallationproblem osx palm printer product program proxy reformat remotedesktop replacingraiddrive retail retrieve screen security sharepoint simplifiedchinese sitetositevpn slowperformance sp3 studios technology ubuntu update upgrade videodrivers videogames virus vista visual vpn vulnerability wab win win32/heur windows windows7 windowsxp windowsxpnotstartingup. xp xpde





