How to use the remote shutdown command in Windows Comment utiliser la commande shutdown à distance dans Windows
Posted on May 26, 2008 at 5:31 am Posté le Mai 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. Cet article vous montre comment utiliser la télécommande d'arrêt outil de commande dans Windows à distance fermé, redémarrer ou quitter un local ou un réseau d'ordinateurs. 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. Cela peut être parfois très utile si vous disposez de plusieurs ordinateurs à la maison ou sur votre réseau que vous voulez rapidement arrêt ou redémarrage.
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. Vous pouvez effectuer un arrêt à distance de l'invite de commande en utilisant la commande shutdown et son associé commutateurs, de la télécommande d'arrêt boîte de dialogue ou d'un fichier batch. I’ll try to go through all three in this guide. Je vais essayer de passer par tous les trois dans ce guide.
Remote Shutdown Overview Vue d'ensemble à distance d'arrêt
Firstly, in order to remotely shutdown a computer on your network, you’ll need to make sure you have Administrative access to that computer. Tout d'abord, afin d'arrêt à distance un ordinateur sur votre réseau, vous devez vous assurer d'avoir un accès administratif à cet ordinateur. 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. Si vous êtes sur un réseau domestique, le meilleur moyen d'y parvenir est de faire en sorte que tous les ordinateurs sont dans le même groupe de travail et qu'ils ont tous au moins un compte administrateur avec le même nom d'utilisateur et mot de passe.
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. Vous pouvez aussi avoir différentes Administrateur noms de compte entre les différents ordinateurs, mais vous devrez alors assurez-vous d'ajouter l'Administrateur de compte un ordinateur pour le compte sur la liste d'autres ordinateurs. You’ll also need to know all the names of the other computers on the network. Vous aurez aussi besoin de connaître tous les noms des autres ordinateurs sur le réseau. You can do that by going to Control Panel and then clicking on System . Vous pouvez le faire en allant sur le Panneau de configuration puis cliquez sur Système. Then click on the Computer Name tab. Ensuite, cliquez sur l'onglet Nom de l'ordinateur.
Remote shutdown is useful for managing multiple computers at once and especially useful for helpdesk technicians when they have to fix remote computers. Distance d'arrêt est utile pour gérer plusieurs ordinateurs à la fois, et particulièrement utile pour les techniciens d'assistance quand ils doivent fixer des ordinateurs distants.
Remote shutdown via Command Prompt Arrêt à distance via une commande rapide
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. La commande shutdown est plus flexible lors de l'utilisation de l'invite de commande, parce que vous pouvez ajouter un groupe de commutateurs, ce qui vous permettent de personnaliser le comportement. Go to Start , then Run , and type in CMD . Cliquez sur Démarrer, puis Exécuter, tapez cmd. In the black command window, type in shutdown /? to see the list of switches. Dans le noir fenêtre de commande, tapez shutdown /? Pour voir la liste des commutateurs.
You have to use at least one switch in order for the command to do anything. Vous devez utiliser au moins un interrupteur pour que la commande pour faire quoi que ce soit. Basically you would type in shutdown -X -Y -Z where X, Y, Z are letters in the list above. En gros vous devrez taper en mode veille-X-Y-Z où X, Y, Z sont des lettres dans la liste ci-dessus.
Here are a couple of the most command switches and what actions they peform: Voici un couple des plus interrupteurs de commande et les actions qu'ils peform:
-l: Logs off the computer - l: Journaux de l'ordinateur
-s: Shuts down the computer - s: arrête l'ordinateur
-r: Restarts the computer - r: Redémarre l'ordinateur
-m - m \\computername \ \ computername : remote shutdown of a computer : Arrêt à distance d'un ordinateur
-f: Forces programs to close immediately - f: Forces programmes de fermer immédiatement
So for remotely shutting down another machine on your network, you would type into the command prompt the following commands: Donc, pour l'arrêt à distance d'une autre machine de votre réseau, vous devez taper dans l'invite de commande, les commandes suivantes:
shutdown –m \\computername –r –f shutdown-m \ \ computername-r-f
This above command will restart the computer named computername and force all programs that are still running to die. Cette commande ci-dessus redémarrer l'ordinateur et le nom computername vigueur tous les programmes qui sont encore en cours de mourir.
shutdown –m \\computername –r –f –c “The computer will restart, please save all work.” –t 60 shutdown-m \ \ computername-r-f-c "L'ordinateur va redémarrer, s’il vous plaît mettre tous les travaux."-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. Cette commande va redémarrer l'ordinateur nommé computername, la force tous les programmes en cours d'exécution à mourir, montrent un message à l'utilisateur, et à rebours de 60 secondes avant de se remettre en marche.
Remote Shutdown via Shutdown Dialog Arrêt à distance par arrêt de dialogue
If you don’t like all those switches, etc, or using the command prompt, then you can bring up the shutdown dialog box. Si vous n'aimez pas tous les commutateurs, etc, ou en utilisant l'invite de commande, vous pouvez faire apparaître la boîte de dialogue d'arrêt. You can open the dialog window by clicking Start, click Run, type CMD and typing shutdown -i and in the blank DOS window. Vous pouvez ouvrir la fenêtre de dialogue en cliquant sur Démarrer, cliquez sur Exécuter, tapez cmd et taper shutdown-i et dans la fenêtre DOS en blanc.
A window similar to the one below will appear: Une fenêtre similaire à celle ci-dessous apparaît:
Click the Add or Browse button to add computers to the list. Cliquez sur le bouton Ajouter ou bouton Parcourir pour ajouter des ordinateurs à la liste. You can then run the commands on the entire batch of computers. Vous pourrez ensuite utiliser les commandes sur l'ensemble des lots d'ordinateurs. If you click Add, you’ll need to enter in the network name of the computer in the format Si vous cliquez sur Ajouter, vous aurez besoin d'entrer dans le nom de réseau de l'ordinateur dans le format \\computername \ \ computername . You can even add your own computer to test it out and make sure it works. Vous pouvez même ajouter votre propre ordinateur pour le tester et assurez-vous qu'il fonctionne.
Of course, you need to know the actual computer name, which I mentioned how you can figure out above. Bien sûr, vous devez connaître le nom d'ordinateur, que j'ai mentionné comment vous pouvez la figure ci-dessus. You’ll also need Administrative access. Vous aurez aussi besoin d'un accès administratif. You can determine this by going to My Computer and typing Vous pouvez le déterminer en allant dans Poste de travail et la dactylographie \\computername \ \ computername into the address bar and seeing if you can get access without having to be prompted for a password. dans la barre d'adresse et de voir si vous pouvez accéder sans avoir à être invité à entrer un mot de passe.
So add as many computers to the list as you like and then set your options. Donc, ajouter autant d'ordinateurs à la liste que vous le souhaitez et ensuite vos options. You can shutdown, restart, or logoff. Vous pouvez arrêter, redémarrer, ou de deconnexion. You can also display a warning for however many seconds you like. Vous pouvez également afficher un avertissement pour le nombre de secondes cependant vous le souhaitez. You can type in a comment at the bottom which will be displayed to users. Vous pouvez taper un commentaire en bas qui sera affiché aux utilisateurs. That’s it! That's it!
Remote Shutdown via Batch File Arrêt à distance par l'intermédiaire de fichier batch
Finally, you can create a batch file so that you can do all of this by just clicking on a file! Enfin, vous pouvez créer un fichier batch de sorte que vous pouvez faire tout cela en cliquant simplement sur un fichier! Or you can even schedule the batch file to be run at specific intervals using Windows Scheduler. Ou vous pouvez même programmer le fichier batch pour être exécuté à des intervalles spécifiques en utilisant Windows Scheduler.
Just go to Notepad and type in the commands you would have typed into the command prompt: Il suffit d'aller sur le bloc-notes et tapez les commandes que vous avez tapé dans l'invite de commande:
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. Cela redémarrer trois ordinateurs sur mon réseau domestique. You would of course replace computername1 with the actual names of your computers. Vous devez bien sûr remplacer computername1 avec les noms de vos ordinateurs. Then simple save the file with a .BAT file extension. Ensuite, simple d'enregistrer le fichier avec une extension. BAT extension de fichier. You can put as many commands into the batch file as you like, so feel free to experiment! Vous pouvez mettre autant de commandes dans le fichier batch que vous le souhaitez, n'hésitez pas à expérimenter!
I’ve written an extensive post on J'ai écrit un post sur une vaste how to use batch files in Windows l'utilisation de fichiers batch sous Windows , so read that if you are not familiar with batch files. , De sorte que lire si vous n'êtes pas familier avec les fichiers batch. Enjoy! Apprécier!
Technorati Tags: Technorati Tags: remote shutdown distance d'arrêt , remote shutdown command commande à distance d'arrêt , remote windows shutdown arrêt à distance Windows , remote windows xp shutdown Windows XP distance d'arrêt , network remote shutdown réseau à distance d'arrêt , remote computer shutdown ordinateur à distance d'arrêtIf you enjoyed this post, make sure you Si vous avez aimé ce poste, assurez-vous subscribe to my RSS feed s'abonner à mes flux RSS ! !
» Filed Under »Classé dans Computer Tips Computer Tips
Related Posts Postes connexes
- How to setup Remote Desktop on Windows XP Comment configurer le Bureau à distance sur Windows XP
- How to navigate in the DOS command prompt Comment naviguer dans l'invite de commande DOS
- NirCmd - Free command line tool for Windows XP and Vista NirCmd - Libre outil en ligne de commande pour Windows XP et Vista
- How to access Mac files on a Windows PC Comment accéder aux fichiers Mac sur un PC Windows
- How to open multiple programs in Windows at once Comment ouvrir plusieurs programmes dans Windows à la fois
























