How to use the remote shutdown command in Windows Come utilizzare il comando a distanza di arresto in Windows

Posted on May 26, 2008 at 5:31 am Posted on Maggio 26, 2008 5:31 am

This article will show you how to use the remote shutdown command tool in Windows to remotely shut down, restart, or logoff a local or networked computer. Questo articolo vi mostrerà come usare il comando a distanza di arresto strumento di Windows per chiudere in remoto, riavviare, o logoff un locale o in rete computer. This can be very useful sometimes if you have multiple computers at home or on your network that you want to quickly shutdown or restart. Questo può essere molto utile a volte se si dispone di più computer a casa o sulla propria rete che si desidera rapidamente di arresto o riavvio del sistema.

You can perform a remote shutdown from the command prompt using the shutdown command and it’s associated switches, from the remote shutdown dialog box, or from a batch file. È possibile effettuare una distanza di arresto dal prompt dei comandi utilizzando il comando di arresto ed è associata interruttori, dal telecomando di arresto finestra di dialogo, o da un file batch. I’ll try to go through all three in this guide. Io cerco di passare attraverso tutti e tre in questa guida.

Remote Shutdown Overview Arresto remoto Panoramica

Firstly, in order to remotely shutdown a computer on your network, you’ll need to make sure you have Administrative access to that computer. In primo luogo, al fine di arresto remoto di un computer nella propria rete, è necessario assicurarsi di aver accesso amministrativo al computer. If you’re on a home network, the best way to do this is to make sure all computers are in the same workgroup and that they all have at least one Administrator account with the same user name and password. Se sei in una rete domestica, il modo migliore per farlo è quello di assicurarsi che tutti i computer si trovano nello stesso gruppo di lavoro e che tutti hanno almeno un account di amministratore con lo stesso nome utente e password.

You can also have different Administrator account names across computers, but then you’ll need to make sure you add the Administrator account of one computer to the account list on the other computers. È anche possibile avere diversi nomi di account di amministratore sui computer, ma poi devi fare in modo di aggiungere l'account Administrator di un computer per il conto alla lista altri computer. You’ll also need to know all the names of the other computers on the network. Dovrai anche conoscere tutti i nomi degli altri computer della rete. You can do that by going to Control Panel and then clicking on System . Potete farlo andando su Pannello di controllo e quindi facendo clic su Sistema. Then click on the Computer Name tab. Quindi fare clic sulla scheda Nome computer.

nome del computer

Remote shutdown is useful for managing multiple computers at once and especially useful for helpdesk technicians when they have to fix remote computers. Arresto remoto è utile per la gestione di più computer in una sola volta e particolarmente utile per i tecnici di assistenza quando devono fissare computer remoti.

Remote shutdown via Command Prompt Shutdown remoto tramite Prompt dei comandi

The shutdown command is most flexible when using it from the command prompt because you can add a bunch of switches to it, which allow you to customize the behavior. Il comando di arresto è più flessibile quando la si utilizza dal prompt dei comandi, perché è possibile aggiungere un mazzo di interruttori ad esso, che consentono di personalizzare il comportamento. Go to Start , then Run , and type in CMD . Selezionare Start, quindi Esegui e digitare CMD. In the black command window, type in shutdown /? to see the list of switches. Nella finestra nera comando, digitare shutdown /? Per visualizzare l'elenco delle opzioni.

shutdown comando

You have to use at least one switch in order for the command to do anything. È necessario utilizzare almeno un interruttore per il comando a fare nulla. Basically you would type in shutdown -X -Y -Z where X, Y, Z are letters in the list above. Fondamentalmente si digita shutdown-X-Y-Z dove X, Y, Z sono le lettere della lista di cui sopra.

Here are a couple of the most command switches and what actions they peform: Qui ci sono un paio di più interruttori di comando e le azioni che vi peform:

-l: Logs off the computer - l: Annota dal computer

-s: Shuts down the computer - s: si spegne il computer

-r: Restarts the computer - r: consente di riavviare il computer

-m - m \\computername \ \ nomecomputer : remote shutdown of a computer : Arresto remoto di un computer

-f: Forces programs to close immediately - f: Forze di programmi di chiudere immediatamente

So for remotely shutting down another machine on your network, you would type into the command prompt the following commands: In modo remoto per spegnere un altro computer in rete, sarà necessario digitare nel prompt dei comandi i seguenti comandi:

shutdown –m \\computername –r –f shutdown-m \ \ nomecomputer-r-f

This above command will restart the computer named computername and force all programs that are still running to die. Questo comando sopra riavviare il computer denominato nomecomputer vigore e tutti i programmi che sono ancora in corso a morire.

shutdown –m \\computername –r –f –c “The computer will restart, please save all work.” –t 60 shutdown-m \ \ nomecomputer-r-f-c "Il computer verrà riavviato, si prega di salvare tutti i lavori."-t 60

This command will restart the computer named computername , force all programs that are running to die, show a message to the user, and countdown 60 seconds before it restarts. Questo comando riavviare il computer denominato nomecomputer, forza tutti i programmi in esecuzione a morire, mostra un messaggio per l'utente, rovescia e 60 secondi prima del riavvio.

Remote Shutdown via Shutdown Dialog Shutdown remoto tramite finestra di dialogo di arresto

If you don’t like all those switches, etc, or using the command prompt, then you can bring up the shutdown dialog box. Se non ti piace tutti gli interruttori, ecc, o utilizzando il prompt dei comandi, allora si può far apparire la finestra di dialogo di arresto. You can open the dialog window by clicking Start, click Run, type CMD and typing shutdown -i and in the blank DOS window. È possibile aprire la finestra di dialogo facendo clic su Start, fare clic su Esegui, digitare CMD e digitando shutdown-i, e nella finestra DOS in bianco.

arresto i

A window similar to the one below will appear: Una finestra simile a quella qui di seguito verranno visualizzati:

finestra di dialogo a distanza di arresto

Click the Add or Browse button to add computers to the list. Fare clic su Aggiungi o il pulsante Sfoglia per aggiungere i computer all'elenco. You can then run the commands on the entire batch of computers. È quindi possibile eseguire i comandi su tutto il lotto di computer. If you click Add, you’ll need to enter in the network name of the computer in the format Se si fa clic su Aggiungi, devi inserire nel nome di rete del computer nel formato \\computername \ \ nomecomputer . You can even add your own computer to test it out and make sure it works. Si può anche aggiungere il vostro computer per testarlo e assicurarsi che funzioni.

nome del computer [6]

Of course, you need to know the actual computer name, which I mentioned how you can figure out above. Naturalmente, è necessario conoscere l'effettivo nome del computer, che ho citato come potete capire sopra. You’ll also need Administrative access. Inoltre devi accesso amministrativo. You can determine this by going to My Computer and typing È possibile determinare questo andando a Risorse del computer e digitando \\computername \ \ nomecomputer into the address bar and seeing if you can get access without having to be prompted for a password. nella barra degli indirizzi e di vedere se si possono avere accesso senza dover essere chiesta una password.

calcolare il mio nome

So add as many computers to the list as you like and then set your options. Così aggiungere un numero illimitato di computer per l'elenco come ti piace e quindi impostare le opzioni. You can shutdown, restart, or logoff. È possibile arresto, riavviare, o logoff. You can also display a warning for however many seconds you like. È anche possibile visualizzare un messaggio di avviso tuttavia per molti secondi che ti piace. You can type in a comment at the bottom which will be displayed to users. È possibile digitare in un commento in fondo che sarà visualizzato agli utenti. That’s it! Questo è tutto!

Remote Shutdown via Batch File Shutdown remoto tramite file batch

Finally, you can create a batch file so that you can do all of this by just clicking on a file! Infine, è possibile creare un file batch in modo tale che si può fare tutto questo da solo clic su un file! Or you can even schedule the batch file to be run at specific intervals using Windows Scheduler. Oppure è possibile anche programmare il file batch per essere eseguito ad intervalli specifici utilizzando Windows pianificazione.

Just go to Notepad and type in the commands you would have typed into the command prompt: Semplicemente andare in Blocco note e digitare i comandi che avrebbe digitati nel prompt dei comandi:

shutdown –m shutdown-m \\computername1 \ \ computername1 –r - R
shutdown –m shutdown-m \\computername2 \ \ computername2 –r - R
shutdown –m shutdown-m \\computername3 \ \ computername3 –r - R

This will restart three computers on my home network. Questo verrà riavviato tre computer sulla mia rete domestica. You would of course replace computername1 with the actual names of your computers. Si naturalmente computername1 sostituire con il nome del vostro computer. Then simple save the file with a .BAT file extension. Quindi semplice salvare il file con estensione. BAT file con estensione. You can put as many commands into the batch file as you like, so feel free to experiment! Si può mettere come molti comandi nel file batch che desideri, così si sentono liberi di esperimento!

I’ve written an extensive post on Ho scritto un post su vasta how to use batch files in Windows come utilizzare i file batch in Windows , so read that if you are not familiar with batch files. , Così leggere che, se non siete familiari con i file sequenziali. Enjoy! Gustare!

Technorati Tags: Technorati: , , , , ,

If you enjoyed this post, make sure you Se si godeva questo post, assicuratevi di subscribe to my RSS feed iscriviti al mio feed RSS ! !

» Filed Under »Archiviato in Computer Tips Suggerimenti per computer

Related Posts Posti connessi

Please post your comments/suggestions! Vi preghiamo di inviare i vostri commenti / suggerimenti!