Outils pour utilisateurs

Outils du site


tech:notes_windows

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
tech:notes_windows [2025/07/16 18:34] Jean-Baptistetech:notes_windows [2026/03/24 10:13] (Version actuelle) Jean-Baptiste
Ligne 1: Ligne 1:
 +<!DOCTYPE markdown>
 +{{tag>Brouillon CA}}
 +
 +# Notes windows
 +
 +## Charset lang
 +
 +Source https://superuser.com/questions/482018/how-to-set-default-charset-in-windows-cmd
 +
 +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]
 +"AutoRun"="chcp 1251"
 +~~~
 +
 +Cmd - Get the System-locale setting for the current computer
 +~~~winbatch
 +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]**
 +
 +
 +## 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 ''ERRORLEVEL'' (équivalent à ''RC'')
 +
 +
 +
 +
 +## Désactiver Menu Démarrer Arrêter HideShutDown
 +
 +Eviter d'arrêter un hôte distant
 +
 +''HideShutDown''
 +
 +
 +~~~reg
 +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
 +
 +~~~winbatch
 +shutdown.exe /f /s /t 0
 +~~~
 +
 +
 +~~~powershell
 +restart-computer -force
 +~~~
 +
  

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki