| | |
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 2007 2010 a.exe address alaris apache appstore arm auto automatically black blue book bulletin cellphones chkdsk collaboration computer computerfreezes crash cursor deployment desktop desktops dns dotnetnuke drive eartlink error errors explorer features folder fontmanagers format framework gadgets intel internet interoperability killprocess laptop linux load login mac memory microsoft mobile monitor motionle1600 netbooks novell nvidia open operatingsystems osx palm partition patch port printer product proxy remotedesktop remotedesktopconnection repair replacingraiddrive retrieve screen sharepoint simplifiedchinese sitetositevpn sp1 technology unreadable update usb verizon videodrivers videogames virtual virus vista visual vulnerability wab webos weecam win win32/heur window windows windows7 windowsxp windowsxpnotstartingup. worm xp xpde





