\documentclass[10pt,a4paper]{article} % Packages \usepackage{fancyhdr} % For header and footer \usepackage{multicol} % Allows multicols in tables \usepackage{tabularx} % Intelligent column widths \usepackage{tabulary} % Used in header and footer \usepackage{hhline} % Border under tables \usepackage{graphicx} % For images \usepackage{xcolor} % For hex colours %\usepackage[utf8x]{inputenc} % For unicode character support \usepackage[T1]{fontenc} % Without this we get weird character replacements \usepackage{colortbl} % For coloured tables \usepackage{setspace} % For line height \usepackage{lastpage} % Needed for total page number \usepackage{seqsplit} % Splits long words. %\usepackage{opensans} % Can't make this work so far. Shame. Would be lovely. \usepackage[normalem]{ulem} % For underlining links % Most of the following are not required for the majority % of cheat sheets but are needed for some symbol support. \usepackage{amsmath} % Symbols \usepackage{MnSymbol} % Symbols \usepackage{wasysym} % Symbols %\usepackage[english,german,french,spanish,italian]{babel} % Languages % Document Info \author{Troudballedeguerre} \pdfinfo{ /Title (consoles-et-commandes-windows.pdf) /Creator (Cheatography) /Author (Troudballedeguerre) /Subject (Consoles et commandes Windows Cheat Sheet) } % Lengths and widths \addtolength{\textwidth}{6cm} \addtolength{\textheight}{-1cm} \addtolength{\hoffset}{-3cm} \addtolength{\voffset}{-2cm} \setlength{\tabcolsep}{0.2cm} % Space between columns \setlength{\headsep}{-12pt} % Reduce space between header and content \setlength{\headheight}{85pt} % If less, LaTeX automatically increases it \renewcommand{\footrulewidth}{0pt} % Remove footer line \renewcommand{\headrulewidth}{0pt} % Remove header line \renewcommand{\seqinsert}{\ifmmode\allowbreak\else\-\fi} % Hyphens in seqsplit % This two commands together give roughly % the right line height in the tables \renewcommand{\arraystretch}{1.3} \onehalfspacing % Commands \newcommand{\SetRowColor}[1]{\noalign{\gdef\RowColorName{#1}}\rowcolor{\RowColorName}} % Shortcut for row colour \newcommand{\mymulticolumn}[3]{\multicolumn{#1}{>{\columncolor{\RowColorName}}#2}{#3}} % For coloured multi-cols \newcolumntype{x}[1]{>{\raggedright}p{#1}} % New column types for ragged-right paragraph columns \newcommand{\tn}{\tabularnewline} % Required as custom column type in use % Font and Colours \definecolor{HeadBackground}{HTML}{333333} \definecolor{FootBackground}{HTML}{666666} \definecolor{TextColor}{HTML}{333333} \definecolor{DarkBackground}{HTML}{2238A3} \definecolor{LightBackground}{HTML}{F1F2F9} \renewcommand{\familydefault}{\sfdefault} \color{TextColor} % Header and Footer \pagestyle{fancy} \fancyhead{} % Set header to blank \fancyfoot{} % Set footer to blank \fancyhead[L]{ \noindent \begin{multicols}{3} \begin{tabulary}{5.8cm}{C} \SetRowColor{DarkBackground} \vspace{-7pt} {\parbox{\dimexpr\textwidth-2\fboxsep\relax}{\noindent \hspace*{-6pt}\includegraphics[width=5.8cm]{/web/www.cheatography.com/public/images/cheatography_logo.pdf}} } \end{tabulary} \columnbreak \begin{tabulary}{11cm}{L} \vspace{-2pt}\large{\bf{\textcolor{DarkBackground}{\textrm{Consoles et commandes Windows Cheat Sheet}}}} \\ \normalsize{by \textcolor{DarkBackground}{Troudballedeguerre} via \textcolor{DarkBackground}{\uline{cheatography.com/218115/cs/48131/}}} \end{tabulary} \end{multicols}} \fancyfoot[L]{ \footnotesize \noindent \begin{multicols}{3} \begin{tabulary}{5.8cm}{LL} \SetRowColor{FootBackground} \mymulticolumn{2}{p{5.377cm}}{\bf\textcolor{white}{Cheatographer}} \\ \vspace{-2pt}Troudballedeguerre \\ \uline{cheatography.com/troudballedeguerre} \\ \end{tabulary} \vfill \columnbreak \begin{tabulary}{5.8cm}{L} \SetRowColor{FootBackground} \mymulticolumn{1}{p{5.377cm}}{\bf\textcolor{white}{Cheat Sheet}} \\ \vspace{-2pt}Not Yet Published.\\ Updated 31st May, 2026.\\ Page {\thepage} of \pageref{LastPage}. \end{tabulary} \vfill \columnbreak \begin{tabulary}{5.8cm}{L} \SetRowColor{FootBackground} \mymulticolumn{1}{p{5.377cm}}{\bf\textcolor{white}{Sponsor}} \\ \SetRowColor{white} \vspace{-5pt} %\includegraphics[width=48px,height=48px]{dave.jpeg} Measure your website readability!\\ www.readability-score.com \end{tabulary} \end{multicols}} \begin{document} \raggedright \raggedcolumns % Set font size to small. Switch to any value % from this page to resize cheat sheet text: % www.emerson.emory.edu/services/latex/latex_169.html \footnotesize % Small font. \begin{multicols*}{2} \begin{tabularx}{8.4cm}{x{1.08 cm} x{2.376 cm} x{1.368 cm} x{2.376 cm} } \SetRowColor{DarkBackground} \mymulticolumn{4}{x{8.4cm}}{\bf\textcolor{white}{Commandes CMD}} \tn % Row 0 \SetRowColor{LightBackground} cls & \{\{width=28\}\}Clear screen & arp -a & \{\{width=28\}\}Correspondances IP / MAC \tn % Row Count 3 (+ 3) % Row 1 \SetRowColor{white} color {[}0-9|a-f{]} & Changer couleur (front|back) & getmac /v /fo list & Adresse MAC et protocole réseau \tn % Row Count 6 (+ 3) % Row 2 \SetRowColor{LightBackground} exit & Quitter & ping \seqsplit{1.1.1.1} & check si DNS local ok \tn % Row Count 8 (+ 2) % Row 3 \SetRowColor{white} \seqsplit{msinfo32} & Infos système (fenêtre windows) & ping \seqsplit{site.com} & Check réponse site \tn % Row Count 11 (+ 3) % Row 4 \SetRowColor{LightBackground} \seqsplit{systeminfo} & Infos systèmes & \seqsplit{pathping} \seqsplit{site.com} & Mesurer itinéraire vers routeurs \tn % Row Count 14 (+ 3) % Row 5 \SetRowColor{white} set & Afficher les variables \seqsplit{d'environnement} & \seqsplit{netstat} & Affiche TCP/IP actifs \tn % Row Count 17 (+ 3) % Row 6 \SetRowColor{LightBackground} tree & Arborescence répertoire & \seqsplit{netstat} -a & Affiche TCP/UDP en écoute \tn % Row Count 19 (+ 2) % Row 7 \SetRowColor{white} tree c:\textbackslash{} /f | more & Afficher écran par écran & \seqsplit{netstat} -b & Affiche TCP/UDP par application \tn % Row Count 22 (+ 3) % Row 8 \SetRowColor{LightBackground} cd \textless{}path\textgreater{} & Lister contenu répertoire & \seqsplit{ipconfig} /all & Affiche les TCP/IP \tn % Row Count 24 (+ 2) % Row 9 \SetRowColor{white} cd\textbackslash{} & Aller au répertoire racine & \seqsplit{ipconfig} \seqsplit{/flushdns} & Vider cache DNS \tn % Row Count 27 (+ 3) % Row 10 \SetRowColor{LightBackground} cd.. & Remonter d'un répertoire & netsh \seqsplit{winsock} reset & \seqsplit{Réinitialise} catalogue winsock \tn % Row Count 30 (+ 3) \end{tabularx} \par\addvspace{1.3em} \vfill \columnbreak \begin{tabularx}{8.4cm}{x{1.08 cm} x{2.376 cm} x{1.368 cm} x{2.376 cm} } \SetRowColor{DarkBackground} \mymulticolumn{4}{x{8.4cm}}{\bf\textcolor{white}{Commandes CMD (cont)}} \tn % Row 11 \SetRowColor{LightBackground} cd \textless{}path\textgreater{} & Changer répertoire & netsh int ip reset & \seqsplit{Réinitialise} la pile TCP/IP \tn % Row Count 3 (+ 3) % Row 12 \SetRowColor{white} \seqsplit{manage-bde} \seqsplit{-status} & Etat des protections Bitlocker & \seqsplit{ipconfig} \seqsplit{/release} & Libérer l'adresse IP actuelle \tn % Row Count 6 (+ 3) % Row 13 \SetRowColor{LightBackground} \seqsplit{diskpart} & Gestion partitions (list, select, exit) & \seqsplit{ipconfig} /renew & Demander nouvel IP \tn % Row Count 9 (+ 3) % Row 14 \SetRowColor{white} \seqsplit{chkdsk} c: /f /r & Intégrité disques & netsh \seqsplit{advfirewall} reset & Reset Windows Defender firewall \tn % Row Count 13 (+ 4) % Row 15 \SetRowColor{LightBackground} \seqsplit{format} & Formatage disques & \seqsplit{shutdown} /l | /r | /s & Fermer session | redémarrer | arrêter \tn % Row Count 16 (+ 3) % Row 16 \SetRowColor{white} \seqsplit{verifier} & \seqsplit{Vérificateur} des pilotes & \seqsplit{shutdown} /r /o /f /t 2 & Redémarrer en recovery boot \tn % Row Count 20 (+ 4) % Row 17 \SetRowColor{LightBackground} & & \seqsplit{shutdown} /r /fw /t 2 & Redémarrer en BIOS/UEFI \tn % Row Count 23 (+ 3) \hhline{>{\arrayrulecolor{DarkBackground}}----} \SetRowColor{LightBackground} \mymulticolumn{4}{x{8.4cm}}{{\bf{F7}}: historique dernières commandes utilisées | {\bf{↑}}: historique des lignes entrées | {\bf{/?}} : afficher l'aide syntaxe et arguments de commande \newline {\bf{netsh wlan show networks mode=bssid}} : Affiche les Wi-Fi environnants \newline {\bf{manage-bde -protectors -get C:}} : Afficher les types de protection \newline {\bf{manage-bde -unlock C: -password}} : Déverrouiller la protection sur C:} \tn \hhline{>{\arrayrulecolor{DarkBackground}}----} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{2.64 cm} x{5.36 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Variables d'environnement (explorer.exe)}} \tn % Row 0 \SetRowColor{LightBackground} \%USERNAME\% & Explorer Mes Documents \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} \seqsplit{\%USERPROFILE\%} & Explorer dossier utilisateur \tn % Row Count 3 (+ 2) % Row 2 \SetRowColor{LightBackground} \%USERDOMAIN\% & Nom de l'ordinateur \tn % Row Count 4 (+ 1) % Row 3 \SetRowColor{white} \%APPDATA\% & Utilisateur - roaming \tn % Row Count 5 (+ 1) % Row 4 \SetRowColor{LightBackground} \seqsplit{\%LOCALAPPDATA\%} & Utilisateur - local \tn % Row Count 7 (+ 2) % Row 5 \SetRowColor{white} \%HOMEDRIVE\% & C:\textbackslash{} \tn % Row Count 8 (+ 1) % Row 6 \SetRowColor{LightBackground} \%WINDIR\% & C:\textbackslash{}Windows \tn % Row Count 9 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{3.2 cm} x{4.8 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Consoles informations système (Win+R)}} \tn % Row 0 \SetRowColor{LightBackground} winver & Version de Windows \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} cmd /k systeminfo & Infos système \tn % Row Count 3 (+ 2) % Row 2 \SetRowColor{LightBackground} msinfo32 & Infos système \tn % Row Count 4 (+ 1) % Row 3 \SetRowColor{white} dxdiag & Infos DirectX + système \tn % Row Count 5 (+ 1) % Row 4 \SetRowColor{LightBackground} eventvwr & Journaux d'évènements \tn % Row Count 6 (+ 1) % Row 5 \SetRowColor{white} resmon & Moniteur de ressources \tn % Row Count 7 (+ 1) % Row 6 \SetRowColor{LightBackground} perfmon /report & Analyseur de performances \tn % Row Count 9 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{2.72 cm} x{5.28 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Consoles gestion paramètres Windows (Win+R)}} \tn % Row 0 \SetRowColor{LightBackground} sysdm.cpl & Paramètres systèmes - avancé \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} \seqsplit{optionalfeatures} & Options additionnelles Windows \tn % Row Count 4 (+ 2) % Row 2 \SetRowColor{LightBackground} control & Panneau de configuration \tn % Row Count 5 (+ 1) % Row 3 \SetRowColor{white} dcomcnfg & Services de composants \tn % Row Count 6 (+ 1) % Row 4 \SetRowColor{LightBackground} gpedit.msc & Editeur de group policies \tn % Row Count 7 (+ 1) % Row 5 \SetRowColor{white} control folders & Options des dossier explorer \tn % Row Count 9 (+ 2) % Row 6 \SetRowColor{LightBackground} rstrui & Restauration du système \tn % Row Count 10 (+ 1) % Row 7 \SetRowColor{white} sdclt & Sauvegarde \& récupération \tn % Row Count 12 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{3.52 cm} x{4.48 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Consoles de configuration diverses (Win+R)}} \tn % Row 0 \SetRowColor{LightBackground} computerdefaults & Programmes par défaut \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} appwiz.cpl & Programmes et fonctionnalités \tn % Row Count 3 (+ 2) % Row 2 \SetRowColor{LightBackground} \seqsplit{systempropertiesperformance} & Options de performances \tn % Row Count 5 (+ 2) % Row 3 \SetRowColor{white} control userpasswords & Comptes d'utilisateurs \tn % Row Count 7 (+ 2) % Row 4 \SetRowColor{LightBackground} control admintools & Outils d'administration \tn % Row Count 9 (+ 2) % Row 5 \SetRowColor{white} desk.cpl & Options d'affichage \tn % Row Count 10 (+ 1) % Row 6 \SetRowColor{LightBackground} ncpa.cpl & Connexions réseau \tn % Row Count 11 (+ 1) % Row 7 \SetRowColor{white} inetcpl.cpl & Options internet \tn % Row Count 12 (+ 1) % Row 8 \SetRowColor{LightBackground} \seqsplit{printmanagement.msc} & Gestion de l'impression \tn % Row Count 14 (+ 2) % Row 9 \SetRowColor{white} fonts & Explorer polices système \tn % Row Count 16 (+ 2) % Row 10 \SetRowColor{LightBackground} intl.cpl & Région et langue \tn % Row Count 17 (+ 1) % Row 11 \SetRowColor{white} timedate.cpl & Date et heure \tn % Row Count 18 (+ 1) % Row 12 \SetRowColor{LightBackground} psr & Enregistreur d'actions utilisateur \tn % Row Count 20 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{3.04 cm} x{4.96 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Consoles explorateur - CMD - Powershell (Win+R)}} \tn % Row 0 \SetRowColor{LightBackground} regedit {\bf{|}} explorer & Registre Windows {\bf{|}} Explorateur de fichiers \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} \textbackslash{} {\bf{|}} \textbackslash{}dossier {\bf{|}} . & Explorer C:\textbackslash{} {\bf{|}} dossier {\bf{|}} dossier utilisateur \tn % Row Count 5 (+ 3) % Row 2 \SetRowColor{LightBackground} charmap {\bf{|}} osk & Table des caractères {\bf{|}} Clavier virtuel \tn % Row Count 7 (+ 2) % Row 3 \SetRowColor{white} cmd {\bf{|}} powershell & Invite de commandes {\bf{|}} Terminal powershell \tn % Row Count 9 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}--} \SetRowColor{LightBackground} \mymulticolumn{2}{x{8.4cm}}{{\emph{Win+R}} {\bf{\textless{}commande\textgreater{} CTRL+MAJ+ENTREE}} pour lancer en mode administrateur \newline {\emph{Win+R}} {\bf{CMD /K \textless{}commande\textgreater{}}} pour lancer depuis Win+R une commande qui s'auto-ferme \newline {\emph{Win+R}} {\bf{CMD /K powershell \textless{}commande powershell\textgreater{}}} pour lancer un powershell depuis Win+R} \tn \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{4 cm} x{4 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Consoles sécurité et nettoyage (Win+R)}} \tn % Row 0 \SetRowColor{LightBackground} secpol.msc & Stratégie de sécurité locale \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} wscui.cpl & Centre de maintenance \tn % Row Count 4 (+ 2) % Row 2 \SetRowColor{LightBackground} start \seqsplit{ms-settings:windowsupdate} & Panneau Windows update \tn % Row Count 6 (+ 2) % Row 3 \SetRowColor{white} firewall.cpl & Firewall - options basiques \tn % Row Count 8 (+ 2) % Row 4 \SetRowColor{LightBackground} wf.msc & Firewall - options avancées \tn % Row Count 10 (+ 2) % Row 5 \SetRowColor{white} mrt & Outil suppression malware \tn % Row Count 12 (+ 2) % Row 6 \SetRowColor{LightBackground} cleanmgr & Nettoyeur de disque \tn % Row Count 13 (+ 1) % Row 7 \SetRowColor{white} \%temp\% | temp & Répertoires fichiers temp. \tn % Row Count 15 (+ 2) % Row 8 \SetRowColor{LightBackground} cmd /k powercfg /h off & Désactiver hibernation \tn % Row Count 17 (+ 2) % Row 9 \SetRowColor{white} {[}powershell{]} get-MpThreat & Menaces bloquées par Defender \tn % Row Count 19 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{3.92 cm} x{4.08 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Consoles matériel / boot / processus (Win+R)}} \tn % Row 0 \SetRowColor{LightBackground} powercfg.cpl & Gestion alimentation \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} cmd /k powercfg /batteryreport & Etat (log \%USERPROFILE\%) \tn % Row Count 3 (+ 2) % Row 2 \SetRowColor{LightBackground} cmd wmic puis diskdrive & Etat disques (\textless{}win11.24H2) \tn % Row Count 5 (+ 2) % Row 3 \SetRowColor{white} cmd /k powershell Get-PhysicalDisk & Etat de santé des disques \tn % Row Count 7 (+ 2) % Row 4 \SetRowColor{LightBackground} devmgmt.msc & Gestionnaire périphériques \tn % Row Count 9 (+ 2) % Row 5 \SetRowColor{white} cmd /k driverquery /v | /si & Détails pilotes (soit /v soit /si) \tn % Row Count 11 (+ 2) % Row 6 \SetRowColor{LightBackground} verifier & Vérificateur des pilotes \tn % Row Count 13 (+ 2) % Row 7 \SetRowColor{white} msconfig & Config démarrage système \tn % Row Count 15 (+ 2) % Row 8 \SetRowColor{LightBackground} taskschd.msc & Planificateur de tâches \tn % Row Count 17 (+ 2) % Row 9 \SetRowColor{white} taskmgr & Gestionnaire processus \tn % Row Count 19 (+ 2) % Row 10 \SetRowColor{LightBackground} services.msc & Gestion des services \tn % Row Count 20 (+ 1) % Row 11 \SetRowColor{white} compmgmt.msc & Gestion de l'ordinateur \tn % Row Count 22 (+ 2) % Row 12 \SetRowColor{LightBackground} diskmgmt.msc & Gestion des disques \tn % Row Count 23 (+ 1) % Row 13 \SetRowColor{white} netplwiz & Gestion comptes utilisateurs \tn % Row Count 25 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} % That's all folks \end{multicols*} \end{document}