Des commandes parfois utiles et souvent très utiles en ligne de commande
&&
– Command Chaining – Chainer les commandes%SYSTEMROOT%\System32\rcimlby.exe -LaunchRA
– Remote Assistance (Windows XP)appwiz.cpl
– Programmes et Fonctionnalités (Aussi connu comme « Ajout suppression de programmes »)appwiz.cpl @,2
– Pour activer (ou désactiver) les fonctionnalités de Windows (Ajout/Suppression composants Windows)arp
– Affiche et modifie les tables de traduction d’adresses IP en adresses physiques utilisées par le protocole de résolution d’adresses ARP.at
– Microsoft déconseille d’utiliser la commande « at » mais utilisez plutôt schtasks.exebootsect.exe
– Updates the master boot code for hard disk partitions to switch between BOOTMGR and NTLDRcacls
– Change Access Control List (ACL) est une commande obsolète. Utilisez icaclscalc
– La calculatricechkdsk
– Check/Fix la surface du disque dur.cipher
– Affiche ou modifie le chiffrement des répert. [fichiers] dans les partitions NTFS.cleanmgr.exe
– Disk Cleanupclip
– Redirige la sortie des outils de ligne de commande vers le Presse-Papiers.cls
– Efface l’écrancmd /k
– Démarre une nouvelle instance de l’interpréteur de commandes de Windowscolor
– Change les couleurs par défaut du premier plan et de l’arrière-plan de la console.compmgmt.msc
– Computer Management ou gestion de l’ordinateurcontrol.exe
/name Microsoft.NetworkAndSharingCenter – Pour lancer le « Centre réseau et Partage »control keyboard
– Keyboard Properties – Lance les propriétés du claviercontrol mouse(or main.cpl)
– Mouse Propertiescontrol sysdm.cpl,@0,3
– Advanced Tab of the System Properties dialogcontrol userpasswords2
– Opens the classic User Accounts dialogdesk.cpl
– opens the display propertiesdevmgmt.msc
– Device Managerdiskmgmt.msc
– Disk Managementdiskpart
– Disk management à partir de la ligne de commandedsa.msc
– Opens active directory users and computersdsquery
– Finds any objects in the directory according to criteriadxdiag
– Utilitaire de diagnostique DirectXeventvwr
– Lecteur des journaux et évènements Windows. L’utilisation de CMTrace inclus System Center 2012r2 Configuration Manager Toolkitexplorer .
– Open explorer with the current folder selected.explorer /e, .
– Open explorer, with folder tree, with current folder selected.F7
– View command historyfind
– Searches for a text string in a file or filesfindstr
– Find a string in a filefirewall.cpl
– Opens the Windows Firewall settingsfsmgmt.msc
– Shared Foldersfsutil
– Perform tasks related to FAT and NTFS file systemsftp
– Transfers files to and from a computer running an FTP server servicegetmac
– Affiche la MAC adresse (ou les MAC adresses) de vôtre(vos) carte(s) réseaugpedit.msc
– Group Policy Editorgpresult
– Displays the Resultant Set of Policy (RSoP) information for a target user and computerhttpcfg.exe
– HTTP Configuration Utilityiisreset
– Pour redémarrerwmic /? IISInetMgr.exe
– Internet Information Services (IIS) Manager 7InetMgr6.exe
– Internet Information Services (IIS) Manager 6intl.cpl
– Regional and Language Optionsipconfig
– Internet protocol configurationlusrmgr.msc
– Local Users and Groups Administratormsconfig
– System Configurationnotepad
– Notepad (ou blocnote)mmsys.cpl
– Sound/Recording/Playback propertiesmode
– Configure system devicesmore
– Displays one screen of output at a timemrt
– Microsoft Windows Malicious Software Removal Toolmstsc.exe
– Remote Desktop Connectionnbstat
– displays protocol statistics and current TCP/IP connections using NBTncpa.cpl
– Network Connectionsnetsh
– Display or modify the network configuration of a computer that is currently runningnetstat
– Network Statisticsnet statistics
– Pour connaitre le up time de la machinenet stop
– Arrêter un service.net use
– Connects a computer to or disconnects a computer from a shared resource, displays information about computer connections, or mounts a local share with different privileges (documentation)odbcad32.exe
– Adiministre les sources ODBCpathping
– A traceroute that collects detailed packet loss statsperfmon
– Opens Reliability and Performance Monitorping
– Determine whether a remote computer is accessible over the networkpowercfg.cpl
– Power management control panel appletqfecheck
– Shows installed Hotfixes applied to the server/workstation.quser
– Display information about user sessions on a terminal serverqwinsta
– See disconnected remote desktop sessionsreg.exe
– Console Registry Tool for Windowsregedit
– Registry Editorrasdial
– Connects to a VPN or a dialup networkrobocopy
– Backup/Restore/Copy large amounts of files reliablyrsop.msc
– Resultant Set of Policy (shows the combined effect of all group policies active on the current system/login)runas
– Run specific tools and programs with different permissions than the user’s current logon providessc
– Manage anything you want to do with services.schtasks
– Enables an administrator to create, delete, query, change, run and end scheduled tasks on a local or remote system.secpol.msc
– Local Security Settingsservices.msc
– Services control panelset
– Displays, sets, or removes cmd.exe environment variables.set DIRCMD
– Preset dir parameter in cmd.exestart
– Starts a separate window to run a specified program or commandstart.
– opens the current directory in the Windows Explorer.shutdown.exe
– Shutdown or Reboot a local/remote machinesubst.exe
– Associe un chemin à une lettre de lecteur ou affiche la liste des lecteurs virtuels en cours.systeminfo
– Cet outil affiche les informations de configuration du système
d’exploitation pour un ordinateur local ou distant, y compris les niveaux de Service Pack.taskkill
– terminate tasks by process id (PID) or image nametasklist.exe
– List Processes on local or a remote machinetaskmgr.exe
– Lance le Task Managertelephon.cpl
– Telephone and Modem propertiestimedate.cpl
– Date and Timetitle
– Définit le titre de la fenêtre pour une fenêtre DOS.tracert
– Trace routewhoami /all
– Display Current User/Group/Privilege Informationwmic
– Windows Management Instrumentation Command-line. Son usage est déconseilléwinver.exe
– Affiche la version de Windowswscui.cpl
– Windows Security Centerwuauclt.exe
– Windows Update AutoUpdate Client