Table des matières

,

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]

OS Architecture 32 64 bits

wmic os get osarchitecture

If a folder called C:\Program Files (x86)\ exists it also confirms it’s 64Bit

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

Registre windows GNU+Linux

Voir : virt-win-reg

Shutdown

shutdown.exe /f /s /t 0
restart-computer -force