Notes windows

Charset lang

Source https://superuser.com/questions/482018/how-to-set-default-charset-in-windows-cmd

Get default charset in Windows cmd

chcp

How to set default charset in Windows cmd ?

Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Microsoft\Command Processor] "AutoRun"="chcp 1251"

Cmd - Get the System-locale setting for the current computer

systeminfo | findstr /B /C:"System Locale"

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]

Pb réseau entreprise

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 ERRORLEVEL (équivalent à RC)

Désactiver Menu Démarrer Arrêter HideShutDown

Eviter d'arrêter un hôte distant

HideShutDown

Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PolicyManager\default\Start\HideShutDown] "value"=dword:00000001