User Tools

Site Tools


informatique:windows:cmd

This is an old revision of the document!


Commandes diverses

Commandes relatives au réseau

Ping via une passerelle spécifique

ping -k PASSERELLE IP_A_JOINDRE

Par exemple :

ping -k 192.168.1.1 fr.wikipedia.org

Ping via une interface spécifique

ping IP_A_JOINDRE -S ADDR_INTERFACE_SOURCE

Par exemple :

ping fr.wikipedia.org -S 192.168.1.86

Reset couche IP et winsock

netsh int ip reset
netsh winsock reset

Mettre en veille Windows

Verrouiller :

Rundll32.exe User32.dll,LockWorkStation

Veille prolongée :

Rundll32.exe User32.dll,LockWorkStation

Veille simple : Il faut la veille prolongée soit désactivée :

powercfg -hibernate off
rundll32.exe powrprof.dll,SetSuspendState 0,1,0

Activation Windows 2022

DISM /Online /Set-Edition:ServerStandard /ProductKey:xxxxx-xxxxx-xxxxx-xxxxx-xxxxx /AcceptEula

https://learn.microsoft.com/en-us/answers/questions/717383/windows-server-2022-standard-activation.html

informatique/windows/cmd.1669395358.txt.gz · Last modified: 2022/11/25 16:55 by yahiko

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki