tech:notes_windows
Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
| tech:notes_windows [2025/07/16 18:34] – Jean-Baptiste | tech:notes_windows [2026/03/24 10:13] (Version actuelle) – Jean-Baptiste | ||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| + | < | ||
| + | {{tag> | ||
| + | |||
| + | # Notes windows | ||
| + | |||
| + | ## Charset lang | ||
| + | |||
| + | Source https:// | ||
| + | |||
| + | Get default charset in Windows cmd | ||
| + | ~~~winbatch | ||
| + | chcp | ||
| + | ~~~ | ||
| + | |||
| + | How to set default charset in Windows cmd ? | ||
| + | |||
| + | ~~~reg | ||
| + | Windows Registry Editor Version 5.00 | ||
| + | |||
| + | [HKEY_CURRENT_USER\Software\Microsoft\Command Processor] | ||
| + | " | ||
| + | ~~~ | ||
| + | |||
| + | Cmd - Get the System-locale setting for the current computer | ||
| + | ~~~winbatch | ||
| + | systeminfo | findstr /B / | ||
| + | ~~~ | ||
| + | |||
| + | PowerShell - Get the System-locale setting for the current computer | ||
| + | ~~~ | ||
| + | Get-WinSystemLocale | ||
| + | ~~~ | ||
| + | |||
| + | |||
| + | ### Recourci clavier changement layout keyboard | ||
| + | |||
| + | **[shift] + [ctrl]** | ||
| + | |||
| + | ou selon la version : | ||
| + | |||
| + | **[ctrl] + [alt]** | ||
| + | |||
| + | |||
| + | ## wmic | ||
| + | |||
| + | Voir : [[dell_service_tag]] | ||
| + | |||
| + | OS Architecture 32 64 bits | ||
| + | ~~~bash | ||
| + | wmic os get osarchitecture | ||
| + | ~~~ | ||
| + | |||
| + | |||
| + | ~~~bash | ||
| + | wmic computersystem get model | ||
| + | ~~~ | ||
| + | |||
| + | If a folder called C:\Program Files (x86)\ exists it also confirms it’s 64Bit | ||
| + | |||
| + | ## Pb réseau entreprise | ||
| + | |||
| + | ~~~winbatch | ||
| + | ipconfig /flushdns | ||
| + | timeout 30 | ||
| + | ipconfig /release | ||
| + | timeout 30 | ||
| + | ipconfig /renew | ||
| + | timeout 30 | ||
| + | gpupdate /force | ||
| + | ~~~ | ||
| + | |||
| + | |||
| + | |||
| + | ## Notes batch .bat cmd.exe | ||
| + | |||
| + | Le code de retour est renvoyé par la variable '' | ||
| + | |||
| + | |||
| + | |||
| + | |||
| + | ## Désactiver Menu Démarrer Arrêter HideShutDown | ||
| + | |||
| + | Eviter d' | ||
| + | |||
| + | '' | ||
| + | |||
| + | |||
| + | ~~~reg | ||
| + | Windows Registry Editor Version 5.00 | ||
| + | |||
| + | [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PolicyManager\default\Start\HideShutDown] | ||
| + | " | ||
| + | ~~~ | ||
| + | |||
| + | |||
| + | ## Registre windows GNU+Linux | ||
| + | |||
| + | Voir : '' | ||
| + | |||
| + | |||
| + | |||
| + | ## Shutdown | ||
| + | |||
| + | ~~~winbatch | ||
| + | shutdown.exe /f /s /t 0 | ||
| + | ~~~ | ||
| + | |||
| + | |||
| + | ~~~powershell | ||
| + | restart-computer -force | ||
| + | ~~~ | ||
| + | |||
