Commande à distance de PC (Vista - windows 7)

MicK-B Messages postés 1 Statut Membre -  
 Mick-B -
Bonsoir,

Je dispose de 2 portables, un configuré en Vista et l'autre en Windows Seven. Je travaille en réseau sans fil.

Mon but serait d'éteindre le portable sous Seven avec celui sous Vista via l'invité de commande].

J'ai tenté le shutdown -i mais sans succès.

Auriez-vous la solution ?

Merci d'avance!
A voir également:

1 réponse

DannyTremblay Messages postés 270 Statut Membre 20
 
Voici la commande Shutdown

Utilisation : shutdown | /l | /s | /r | /g | /a | /p | /h | /e /f
\\ordinateurxxx[/d [p|u:]xx:yy "commentaire"]

Sans argument Afficher l'aide. Cela revient à entrer /?.
/? Afficher l'aide. Cela revient à n'entrer aucune option.
/i Afficher l'interface utilisateur graphique (GUI).
Ce doit être la première option.
/l Fermer la session. Ne peut pas être utilisé avec l'option /m
ou /d.
/s Arrêter l'ordinateur.
/r Arrêter et redémarrer l'ordinateur.
/g Éteignez et redémarrez l'ordinateur. Une fois le système
réinitialisé, redémarrez toute application enregistrée.
/a Annuler un arrêt du système.
Cela peut être utilisé uniquement pendant la période de délai.
/p Arrêter l'ordinateur local sans délai d'expiration ou
avertissement.
Peut être utilisé avec l'option /d ou /f.
/h Mettre l'ordinateur local en veille prolongée.
Utilisable avec l'option /f.
/e Documenter la raison de l'arrêt inattendu d'un ordinateur.
/m \\ordinateur Spécifier l'ordinateur cible.
/t xxx Définir la période de délai avant l'arrêt au bout de xxx secondes
.
La plage valide est comprise entre 0 et 315360000 (10 ans),
30 étant la valeur par défaut.
If the timeout period is greater than 0, the /f parameter is
implied.
/c "comment" Comment on the reason for the restart or shutdown.
Maximum of 512 characters allowed.
/f Force running applications to close without forewarning users.
The /f parameter is implied when a value greater than 0 is
specified for the /t parameter.
/d [p|u:]xx:yy Provide the reason for the restart or shutdown.
p indicates that the restart or shutdown is planned.
u indicates that the reason is user defined.
If neither p nor u is specified the restart or shutdown is
unplanned.
xx is the major reason number (positive integer less than 256).
yy is the minor reason number (positive integer less than 65536).

Raisons sur cet ordinateur :
(E = Attendu U = Inattendu P = planifié, C = défini par le client)
Type Majeur Mineur Titre

U 0 0 Autre (non planifié)
E 0 0 Autre (non planifié)
E P 0 0 Autre (planifié)
U 0 5 Autre panne : le système ne répond pas
E 1 1 Matériel : maintenance (non planifiée)
E P 1 1 Matériel : maintenance (planifiée)
E 1 2 Matériel : installation (non planifiée)
E P 1 2 Matériel : installation (planifiée)
E 2 2 Système d'exploitation : Récupération (planifiée)
E P 2 2 Système d'exploitation : Récupération (planifiée)
P 2 3 Système d'exploitation : mise à jour (planifiée)
E 2 4 Système d'exploitation : reconfiguration (non planifiée)

E P 2 4 Système d'exploitation : reconfiguration (planifiée)
P 2 16 Système d'exploitation : Service pack (Planifié)
2 17 Système d'exploitation : correctif logiciel (non planifi
é)
P 2 17 Système d'exploitation : correctif logiciel (planifié)
2 18 Système d'exploitation : correctif de sécurité (Non plan
ifié)
P 2 18 Système d'exploitation : correctif de sécurité (Planifié
)
E 4 1 Application : maintenance (non planifiée)
E P 4 1 Application : maintenance (planifiée)
E P 4 2 Application : installation (planifiée)
E 4 5 Application : aucune réponse
E 4 6 Application : instable
U 5 15 Échec du système : erreur d'arrêt
U 5 19 Problème de sécurité
E 5 19 Problème de sécurité
E P 5 19 Problème de sécurité
E 5 20 Perte de connexion réseau (Non planifié)
U 6 11 Panne d'alimentation : cordon déconnecté
U 6 12 Panne d'alimentation : environnement
P 7 0 Arrêt d'une interface API héritée

Elle te dit d'utiliser l'option /m \\nomdelautreordinateur pour arreter un ordinateur à distance. Par contre il faut que le partage de fichiers soit activé sur l'autre ordinateur? Il faut aussi que...tu sois reconnu comme administrateur de l'autre poste aussi.
2
Mick-B
 
Merci! Je vais tester ceci! Bonne soirée.
0