« Windows 10 » : différence entre les versions
(61 versions intermédiaires par le même utilisateur non affichées) | |||
Ligne 2 : | Ligne 2 : | ||
= [[Astuces_Windows|Astuces]] = | = [[Astuces_Windows|Astuces]] = | ||
* [[Astuces_Windows#Variables_d.27environnement|Variables d'environnement]] | * [[Astuces_Windows#Variables_d.27environnement|Variables d'environnement]] | ||
* [https://superuser.com/questions/1522905/windows-10-search-not-loading-showing-blank-window/1522939#1522939 Windows 10 Search not loading, showing blank window] | |||
* [[Batch_commandes#MKLINK|Symbolic link]] | |||
= | = Windows + R commands = | ||
= | {| class="wikitable wtp wtmono1" | ||
! Command | |||
! Description | |||
|- | |||
| lusrmgr.msc || local user and group management | |||
|- | |||
| msinfo32 || system information | |||
|- | |||
| winver || Windows build version | |||
|} | |||
= Raccourcis clavier = | = Raccourcis clavier = | ||
Ligne 18 : | Ligne 28 : | ||
= Programmes exécutés au démarrage = | = Programmes exécutés au démarrage = | ||
Lister les programmes : Task Manager | Lister les programmes : Task Manager → Startup | ||
* Pour l'utilisateur courant: | * Pour l'utilisateur courant: {{boxx|%AppData%\Microsoft\Windows\Start Menu\Programs\Startup}} | ||
{{boxx|%AppData%\Microsoft\Windows\Start Menu\Programs\Startup}} | * Pour tous les utilisateurs: {{boxx|C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup}} | ||
* Pour tous les utilisateurs: | |||
{{boxx|C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup}} | |||
* Dans le registre | * Dans le registre | ||
** {{boxx|HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run}} | ** {{boxx|HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run}} | ||
Ligne 28 : | Ligne 36 : | ||
* Task Manager → Startup | * Task Manager → Startup | ||
= | = Special folders = | ||
* [[Astuces_Windows#Variables_d'environnement|Environment variables]] | |||
{| class="wikitable wtp wtmono1" | {| class="wikitable wtp wtmono1" | ||
! Path | |||
! Description | |||
|- | |||
| %LocalAppData%\Programs || Current user programs folder | |||
|- | |||
| %AppData%\Microsoft\Windows\Start Menu\Programs || Current user start menu folder | |||
|} | |||
= Settings = | |||
== [https://superuser.com/questions/88548/prevent-monitor-switching-when-closing-laptop-lid Prevent monitor switching off when closing laptop lid] == | |||
# {{boxx|Device Manager}} → {{boxx|System devices}} → {{boxx|ACPI lid}} | |||
# right-click {{boxx|Properties}} → {{boxx|Driver}} tab → {{boxx|Update driver}} | |||
# {{boxx|Browse my computer for driver software}} → {{boxx|Let me pick...}} | |||
# Uncheck {{boxx|Show compatible hardware}} | |||
# {{boxx|Manufacturer}} = {{boxx|Microsoft}} | |||
# {{boxx|Model}} = {{boxx|Volume manager}} | |||
# Restart the system | |||
{{info | The system device is now named {{boxx|Volume manager}}}} | |||
== [https://www.howtogeek.com/howto/15132/stop-your-mouse-from-waking-up-your-windows-7-computer/ Prevent wake up from hibernation] == | |||
# Control Panel → Hardware and Sound → Devices and Printers | |||
# Right-click on device → Mouse settings → Hardware tab | |||
# Select the device → Properties → Change settings button | |||
# Power Management tab → uncheck "Allow this device to wake the computer" | |||
== Sound and microphone == | |||
Windows → Sound settings → Sound Control Panel (up, right) | |||
* Playback → select device → Properties → Enhancements: Headphone Virtualization, Loundness Equalization | |||
* Recording → select device → Properties → Level → Microphone Boost | |||
* Sounds: change system sounds | |||
== [https://www.tenforums.com/tutorials/109302-turn-use-print-screen-key-launch-screen-snipping-windows-10-a.html Lancer le Snipping Tool lors de l'appuie sur PrintScreen] == | |||
Settings → Ease of Access keyboard settings → Print Screen shortcut | |||
== Modifier le dpi == | |||
Settings → System → Display → Change the size of text | |||
== Désactiver les sons Windows == | |||
Control Panel → Hardware and Sound → Sound → Change system sounds → Sound Scheme: No Sounds | |||
== Couleur du pointeur de la sourie == | |||
Settings → Ease of Access → Mouse | |||
== [https://winaero.com/blog/change-color-of-inactive-title-bars-in-windows-10/ Change color of inactive title bars] == | |||
{{boxx|regedit}} → {{boxx|HKEY_CURRENT_USER\Software\Microsoft\Windows\DWM}} → new {{boxx|DWORD}} → name = {{boxx|AccentColorInactive}}<br> | |||
Pour la valeur s'inspirer d'{{boxx|AccentColor}} | |||
== Masquer les icônes de la barre des tâches == | |||
Settings → Personalization → Taskbar → Notification area → Select which icons appear on the taskbar | |||
=== Old === | |||
Settings → System → Notifications & actions | |||
* Select which icons appear on the taskbar | |||
* Turn system icons on or off | |||
== [https://www.howtogeek.com/222057/how-to-remove-the-folders-from-%E2%80%9Cthis-pc%E2%80%9D-on-windows-10 Remove "Folders" from "My PC"] == | |||
<filebox fn='Remove Folders From This PC 64-bit.reg' collapsed> | |||
Windows Registry Editor Version 5.00 | |||
; Remove Desktop From This PC | |||
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{B4BFCC3A-DB2C-424C-B029-7FE99A87C641}] | |||
[-HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{B4BFCC3A-DB2C-424C-B029-7FE99A87C641}] | |||
; Remove Documents From This PC | |||
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{A8CDFF1C-4878-43be-B5FD-F8091C1C60D0}] | |||
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{d3162b92-9365-467a-956b-92703aca08af}] | |||
[-HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{A8CDFF1C-4878-43be-B5FD-F8091C1C60D0}] | |||
[-HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{d3162b92-9365-467a-956b-92703aca08af}] | |||
; Remove Downloads From This PC | |||
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{374DE290-123F-4565-9164-39C4925E467B}] | |||
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{088e3905-0323-4b02-9826-5d99428e115f}] | |||
[-HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{374DE290-123F-4565-9164-39C4925E467B}] | |||
[-HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{088e3905-0323-4b02-9826-5d99428e115f}] | |||
; Remove Music From This PC | |||
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{1CF1260C-4DD0-4ebb-811F-33C572699FDE}] | |||
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{3dfdf296-dbec-4fb4-81d1-6a3438bcf4de}] | |||
[-HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{1CF1260C-4DD0-4ebb-811F-33C572699FDE}] | |||
[-HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{3dfdf296-dbec-4fb4-81d1-6a3438bcf4de}] | |||
; Remove Pictures From This PC | |||
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{3ADD1653-EB32-4cb0-BBD7-DFA0ABB5ACCA}] | |||
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{24ad3ad4-a569-4530-98e1-ab02f9417aa8}] | |||
[-HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{3ADD1653-EB32-4cb0-BBD7-DFA0ABB5ACCA}] | |||
[-HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{24ad3ad4-a569-4530-98e1-ab02f9417aa8}] | |||
; Remove Videos From This PC | |||
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{A0953C92-50DC-43bf-BE83-3742FED03C9C}] | |||
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{f86fa3ab-70d2-4fc7-9c99-fcbf05467f3a}] | |||
[-HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{A0953C92-50DC-43bf-BE83-3742FED03C9C}] | |||
[-HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{f86fa3ab-70d2-4fc7-9c99-fcbf05467f3a}] | |||
; Remove 3D Objects From This PC | |||
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{0DB7E03F-FC29-4DC6-9020-FF41B59E513A}] | |||
[-HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{0DB7E03F-FC29-4DC6-9020-FF41B59E513A}] | |||
</filebox> | |||
<filebox fn='Restore Folders From This PC 64-bit.reg' collapsed> | |||
Windows Registry Editor Version 5.00 | |||
; Restore Desktop To This PC | |||
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{B4BFCC3A-DB2C-424C-B029-7FE99A87C641}] | |||
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{B4BFCC3A-DB2C-424C-B029-7FE99A87C641}] | |||
; Restore Documents To This PC | |||
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{A8CDFF1C-4878-43be-B5FD-F8091C1C60D0}] | |||
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{d3162b92-9365-467a-956b-92703aca08af}] | |||
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{A8CDFF1C-4878-43be-B5FD-F8091C1C60D0}] | |||
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{d3162b92-9365-467a-956b-92703aca08af}] | |||
; Restore Downloads To This PC | |||
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{374DE290-123F-4565-9164-39C4925E467B}] | |||
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{088e3905-0323-4b02-9826-5d99428e115f}] | |||
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{374DE290-123F-4565-9164-39C4925E467B}] | |||
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{088e3905-0323-4b02-9826-5d99428e115f}] | |||
; Restore Music To This PC | |||
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{1CF1260C-4DD0-4ebb-811F-33C572699FDE}] | |||
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{3dfdf296-dbec-4fb4-81d1-6a3438bcf4de}] | |||
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{1CF1260C-4DD0-4ebb-811F-33C572699FDE}] | |||
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{3dfdf296-dbec-4fb4-81d1-6a3438bcf4de}] | |||
; Restore Pictures To This PC | |||
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{3ADD1653-EB32-4cb0-BBD7-DFA0ABB5ACCA}] | |||
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{24ad3ad4-a569-4530-98e1-ab02f9417aa8}] | |||
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{3ADD1653-EB32-4cb0-BBD7-DFA0ABB5ACCA}] | |||
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{24ad3ad4-a569-4530-98e1-ab02f9417aa8}] | |||
; Restore Videos To This PC | |||
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{A0953C92-50DC-43bf-BE83-3742FED03C9C}] | |||
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{f86fa3ab-70d2-4fc7-9c99-fcbf05467f3a}] | |||
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{A0953C92-50DC-43bf-BE83-3742FED03C9C}] | |||
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{f86fa3ab-70d2-4fc7-9c99-fcbf05467f3a}] | |||
; Restore 3D Objects From This PC | |||
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{0DB7E03F-FC29-4DC6-9020-FF41B59E513A}] | |||
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{0DB7E03F-FC29-4DC6-9020-FF41B59E513A}] | |||
</filebox> | |||
== Change de language == | |||
* Main: Settings → Time & Language → Language | |||
* Welcome screen: Control Panel → Clock and Region → Region → Administrative tab → Welcome screen → Copy settings | |||
== Supprimer un clavier == | |||
Settings → Time & Language → Language → sélectionner une langue → Options → sélectionner un keyboard → Remove | |||
== Changer format du Short date == | |||
Control panel → Clock, Language, and Region → Language → Change date, time, or number formats | |||
* Short date = ddd d MMM | |||
== [http://winaero.com/blog/enable-numlock-logon-screen-windows-10/ Verrou numérique sur l'écran de connexion (numlock)] == | |||
regedit → {{boxx|HKEY_USERS\.DEFAULT\Control Panel\Keyboard}} → {{boxx|InitialKeyboardIndicators}} | |||
{| class="wikitable wtp wtmono2" | |||
|- | |||
| ancienne valeur || 2147483648 | |||
|- | |||
| nouvelle valeur || 2147483650 | |||
|} | |||
{{info | La fonctionnalité Fast startup peut écraser la valeur InitialKeyboardIndicators.<br> | |||
Désactiver fast startup: Power Options → Choose what the power buttons do → décocher fast startup<br> | |||
Une fois le verrou numérique fonctionnel au démarrage, réactiver fast startup.}} | |||
== Clique molette pour fermer une fenêtre == | |||
* Natif dans la barre de tâche, puis sur l'aperçu. | |||
* Installer [http://www.premeforwindows.com/ Preme] pour pouvoir le faire dans la barre de titre des fenêtres | |||
= Performances = | |||
== [http://www.thewindowsclub.com/disable-visual-effects-windows Optimiser les performances au détriment de l'apparence] == | |||
Windows → performance → select Adjust the appearance and performance of Windows | |||
* Adjust for best performance | |||
Windows + x → System → Advanced system settings → Onglet Advanced → Performance → Settings | |||
* Show shadows under windows | |||
* Smooth edges of screen fonts | |||
== Disable transparency effects == | |||
# Settings → Personalization → Colors → Transparency Effects = Off | |||
== [https://ss64.com/nt/syntax-nodrives.html Hide drives] == | |||
* {{boxx|regedit}} → {{boxx|HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer}} | |||
* New DWORD → {{boxx|NoDrives}} = {{boxx|16}} decimal | |||
{{info |1= A: = 1, B: = 2, C: = 4, D: = 8, E: = 16, additionner les valeurs pour masquer plusieurs lecteurs.}} | |||
= Sécurité = | |||
* [https://serverfault.com/questions/500963/windows-disable-remote-access-of-local-drive-even-by-domain-admin Disable remote access of local drive, even by domain admin] | |||
== Users and Groups == | |||
<kode lang='ps'> | |||
# add user to local admin group | |||
net localgroup administrators /add user.name | |||
# add domain user to local admin group | |||
net localgroup administrators /add identity\user.name | |||
# get the name of the current user | |||
whoami | |||
# create a new user | |||
net user /add user.name | |||
</kode> | |||
{{info | Edit groups as an admin: {{boxx|Windows}} - type {{boxx|compmgmt}} - right click on {{boxx|Computer Management}} - {{boxx|Run as administrator}}}} | |||
== Désactiver Remote Desktop == | |||
{| class="wikitable wtp" | |||
|- | |||
| Control Panel || | |||
* {{boxx|Control Panel\System and Security\System}} → Remote Settings | |||
* Menu → Settings → System → Remote Desktop | |||
|- | |||
| Remote Registry || Menu → Services → Remote Registry → Stop, Startup type: Disabled | |||
|- | |||
| Service || Menu → Services → Remote Desktop Services: Concerne seulement le client | |||
|} | |||
== [http://www.itworld.com/article/2778526/networking/disabling-the-hidden-administrative-shares.html Désactiver les partages administratifs C$] == | |||
{| class="wikitable wtp" | |||
|- | |||
| Service || Menu → Services → Server → Stop, Startup type: Disabled<br /> | |||
Arrête aussi le service Computer Browser | |||
|- | |||
| Registre || regedit → {{boxx|HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters}} | |||
* Poste de travail: New DWORD → AutoShareWks → 0 | |||
* Serveur: New DWORD → AutoShareServer → 0 | |||
Restart | |||
|- | |- | ||
| | | Settings || Computer Management → System Tools → Shared Folders → Shares → clique-droit sur C$ → Stop Sharing | ||
|} | |} | ||
<kode lang='powershell'> | |||
# afficher les partages | |||
net share | |||
</kode> | |||
== Interdire l'accès à d'autres comptes == | |||
* Windows + R → {{boxx|gpedit.msc}} | |||
* Local Computer Policy → Computer Configuration → Windows Settings → Security Settings → Local Policies → User Rights Assignment | |||
* Allow log on locally: {{boxx|Administrators, Backup Operators, Guest, Users, Window Manager\Window Manager Group}} | |||
* Deny log on locally: {{boxx|Guest}} | |||
== Se connecter sans mot de passe == | |||
# Windows + r → netplwiz | |||
# Décocher « Users must enter a user name and a password ... » | |||
= Windows Credential Manager = | == Windows Credential Manager == | ||
<kode lang='powershell'> | <kode lang='powershell'> | ||
# ajouter un Generic Credential | # ajouter un Generic Credential | ||
Ligne 53 : | Ligne 288 : | ||
|} | |} | ||
= | = Réseau = | ||
== Clear dns cache == | |||
<kode lang='ps'> | |||
Clear-DnsClientCache | |||
ipconfig /flushdns | |||
</kode> | |||
== [https://www.pcworld.com/article/3143122/windows/how-to-find-saved-wi-fi-passwords-on-your-windows-10-pc.html Récupérer la clé wifi] == | |||
<kode lang='powershell'> | |||
# récupérer la liste des profils | |||
netsh wlan show profile | |||
# afficher le profile et la clé | |||
netsh wlan show profile "xxx" key=clear | |||
</kode> | |||
= | == [https://social.technet.microsoft.com/Forums/en-US/261392a2-3914-4518-acb4-065a0a635f58/build-10049-breaks-openvpn-there-are-no-tapwindows-adapters-on-this-system?forum=WinPreview2014General Client VPN] == | ||
# | <pre>There are no TAP-Windows adapters on this system. | ||
# | You should be able to create a TAP-Windows adapter by going to | ||
Start -> All Programs -> TAP-Windows -> Utilities -> Add a new TAP-Windows virtual ethernet adapter.</pre> | |||
# Regedit → HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4d36e972-e325-11ce-bfc1-08002be10318}\000x | |||
# Choisir le 000x où <tt>ProductName = TAP-Windows Adapter V9</tt> | |||
# Mettre <tt>ComponentId = tap0901</tt> | |||
# Network connections → Disable puis Enable le TAP-Windows Adapter V9 | |||
= Route = | |||
== [https://ss64.com/nt/route.html route.exe] == | |||
<kode lang='dos'> | <kode lang='dos'> | ||
powershell. | REM list ipv4 routes | ||
route print -4 | |||
REM ROUTE DELETE [destination_host] [MASK subnet_mask_value] [gateway] [METRIC metric] [IF interface_no.] | |||
route delete x.x.x.x mask 255.255.255.0 metric 1 | |||
REM ROUTE [-p] ADD [destination_host] [MASK subnet_mask_value] [gateway] [METRIC metric] [IF interface_no.] | |||
route add x.x.x.x mask 255.255.255.0 y.y.y.y | |||
</kode> | |||
== powershell == | |||
<kode lang='ps'> | |||
# list ipv4 routes | |||
Get-NetRoute -AddressFamily IPv4 | |||
Remove-NetRoute -DestinationPrefix 192.168.0.0/24 -InterfaceIndex 1 -NextHop 0.0.0.0 -RouteMetric 1 -PolicyStore ActiveStore -Confirm:$false | |||
New-NetRoute -DestinationPrefix 192.168.0.0/24 -InterfaceIndex 1 -NextHop 0.0.0.0 -RouteMetric 1 -PolicyStore ActiveStore | |||
</kode> | </kode> | ||
* [https://docs.microsoft.com/en-us/powershell/module/nettcpip/get-netroute?view=win10-ps Get-NetRoute] | |||
* [https://docs.microsoft.com/en-us/powershell/module/nettcpip/remove-netroute?view=win10-ps Remove-NetRoute] | |||
* [https://docs.microsoft.com/en-us/powershell/module/nettcpip/new-netroute?view=win10-ps New-NetRoute] | |||
= Task Scheduler = | = Task Scheduler = | ||
Ligne 91 : | Ligne 359 : | ||
|} | |} | ||
= [https:// | = [https://www.windowscentral.com/how-add-your-full-name-local-account-windows-10 Change user fullname] = | ||
<kode lang='ps'> | |||
Set-LocalUser -Name MyUserName -Fullname "My User Name (-_-)" | |||
</kode> | |||
* Windows → {{boxx|netplwiz}} | |||
* Select an account → click on the Properties button | |||
= Recherche de fichiers = | |||
Cliquer sur le lecteur dans lequel on veut faire la recherche. | |||
{| class="wikitable wtp wtmono1" | |||
|- | |||
| datemodified:30-Jan-19 18:30 || tous les fichiers et dossiers modifiés à cette date | |||
|} | |||
= | = Piner un script dans le menu = | ||
# Ajouter un raccourci vers le script dans {{boxx|%appdata%\Microsoft\Windows\Start Menu\Programs}} | |||
# Aller dans le menu → rechercher le script → clique-droit sur le script → Pin to start | |||
Pour rendre un raccourci vers un script PowerShell exécutable: | |||
<kode lang='dos'> | |||
powershell.exe -command "& 'C:\A path with spaces\MyScript.ps1' -MyArguments blah" | |||
</kode> | |||
Ou bien [[PowerShell#Associer_les_fichiers_.2A.ps1_.C3.A0_PowerShell|associer les fichiers *.ps1 à PowerShell]]. | |||
= Police floue = | = Police floue = | ||
Ligne 108 : | Ligne 393 : | ||
# {{boxx|HKCU\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers}} | # {{boxx|HKCU\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers}} | ||
# Valeur chaîne: {{boxx|C:\chemin\app.exe}} - {{boxx|HIGHDPIAWARE}} | # Valeur chaîne: {{boxx|C:\chemin\app.exe}} - {{boxx|HIGHDPIAWARE}} | ||
= [http://www.thewindowsclub.com/show-hide-a-drive-in-windows Masquer un lecteur] = | = [http://www.thewindowsclub.com/show-hide-a-drive-in-windows Masquer un lecteur] = | ||
Ligne 123 : | Ligne 401 : | ||
Problème de défilement avec la sourie: Evoluent Mouse Manager → Wheel → décocher Accelerated scrolling | Problème de défilement avec la sourie: Evoluent Mouse Manager → Wheel → décocher Accelerated scrolling | ||
= | = [https://www.digitalcitizen.life/how-make-windows-10s-file-explorer-start-any-location-you-want Dossier de démarrage par défaut de file explorer] = | ||
# clique-droit sur le dossier à mettre par défaut → Send To → Desktop | |||
# copier le raccourci créé sur le bureau vers {{boxx|%APPDATA%\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar}} | |||
# changer l'icone du raccourci pour la même que celle de {{boxx|File Explorer}} (clique-droit → Properties → Change Icon) | |||
# supprimer le raccourci {{boxx|File Explorer}} du dossier en cours et renommer le nouveau raccourci {{boxx|File Explorer}} | |||
# fermer file explorer | |||
= [http://www.windowscentral.com/how-manage-file-storage-windows-10 Déplacer les dossier Documents, Music, Pictures, Videos, Downloads sur un autre disque] = | |||
Définir le dique sur lequel les futurs données seront sauvegardées:<br> | |||
Settings → SYSTEM → Storage → Save locations<br> | |||
Changer l'emplacement des dossiers et copier leurs données<br> | |||
This PC → clique-droit sur Documents → Properties → Location | |||
= [https://winaero.com/blog/move-pictures-folder-windows-10/ Changer l'emplacement de Pictures] = | |||
# Explorer → %userprofile% → clique-droit sur Pctures → Properties | |||
# Location → Move → choisir un nouveau dossier vide | |||
= Indexation = | |||
Windows → Indexing Options | |||
* Modify → choix des dossier à indexer | |||
* Advanced → Rebuild → reconstruire l'index | |||
{{warn | Le dossier {{boxx|%UserProfile%\AppData}} étant exclut par défaut, inclure des sous-dossier comme {{boxx|%AppData%\Microsoft\Windows\Start Menu}} ne fonctionne pas. [https://www.reddit.com/r/Windows10/comments/3akmxw/question_about_search_indexing_locations_and/ lien]}} | |||
== Désactiver l'indexation == | |||
* Menu → services.msc → Arrêter et désactiver le service Windows Search | |||
* Pour chaque disque monté → Propriétés → décocher Autoriser l'indexation du contenu des fichiers ... | |||
= [https://superuser.com/questions/1017764/how-can-i-shrink-a-windows-10-partition Réduire la taille d'une partition] = | |||
<kode lang='ps'> | |||
# disable hibernation | |||
powercfg /h off | |||
# disable pagefile | |||
wmic computersystem set AutomaticManagedPagefile=False | |||
wmic pagefileset where name="C:\\pagefile.sys" delete | |||
# disable system restore | |||
Disable-ComputerRestore -Drive C: | |||
# restart | |||
# defrag | |||
Optimize-Volume -DriveLetter C -ReTrim -Defrag -SlabConsolidate -TierOptimize -NormalPriority | |||
# Get the remaining size | |||
(Get-Volume C).SizeRemaining /1GB | |||
= | # Resize partition | ||
$part = Get-Partition -DriveLetter C | |||
$part | Resize-Partition -Size 375GB | |||
# Get the remaining size again | |||
(Get-Volume C).SizeRemaining /1GB | |||
= | # re-enable pagefile | ||
wmic pagefileset create name="C:\\pagefile.sys" | |||
wmic computersystem set AutomaticManagedPagefile=True | |||
# re-enable hibernation | |||
powercfg /h on | |||
# re-enable system restore | |||
Enable-ComputerRestore -Drive C: | |||
# restart | |||
</kode> | |||
= | = Installer le framework 3.5 = | ||
Control Panel → Uninstall a program → Turn Windows features on or off | |||
= | = Désinstaller une application du store = | ||
Menu → Settings → Apps → séléctionner l'application → Uninstall | |||
= | = Désinstaller des Apps = | ||
Windows → Settings → System → Apps & features | Windows → Settings → System → Apps & features | ||
Ligne 188 : | Ligne 482 : | ||
* Windows → services → Windows Update | * Windows → services → Windows Update | ||
= | = Windows Editions = | ||
{| class="wikitable wtp" | {| class="wikitable wtp" | ||
! Edition | |||
! Description | |||
|- | |- | ||
| | | consumer || OEM/Retail/USB Media installations | ||
|- | |- | ||
| | | business || Volume Media installations | ||
|- | |- | ||
| | | retail || activation of Windows on 1 PC | ||
|- | |- | ||
| | | multiple activation || activation of Windows on mltiple PCs | ||
|- | |- | ||
| | | N / KN || no Windows Media Player, Groove Music, Movies & TV, Voice Recorder, or Skype. N is avaialble in Europe and KN in Korea. | ||
|- | |- | ||
| | | [https://www.howtogeek.com/321736/what-is-windows-10-pro-for-workstations-and-how-is-it-different/ Pro for Workstations] || for high-end PC, supports 4 CPUs, 6 TB of RAM, NVDIMM-N, ReFS, SMB Direct | ||
|} | |} | ||
< | |||
= Créer une clé usb bootable = | |||
Utiliser le logiciel [https://rufus.ie/ Rufus] pour créer une clé usb bootable à partir d'un fichier iso.<br> | |||
Cette clé usb bootable ne fonctionnera que si l'option Security Boot du BIOS est déactivée. | |||
= [https://rivernetcomputers.com/5-ways-windows-10-boot-options-menu/ Windows 10 Boot Options Menu] = | |||
* Restart while pressing the {{boxx|Shift}} key | |||
* <syntaxhighlight lang='msdos' inline>shutdown.exe /r /o</syntaxhighlight> | |||
* {{boxx|F11}} | |||
= Problèmes = | |||
== [https://www.howtogeek.com/323390/how-to-fix-windows-and-linux-showing-different-times-when-dual-booting Horloge n'est pas à l'heure] == | |||
Dans le cas d'un dual boot avec Linux, il peut être nécessaire de passer Windows en {{boxx|RealTimeIsUniversal}}:<br> | |||
* {{boxx|regedit}} → {{boxx|Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation}} | |||
* New → DWORD → {{boxx|RealTimeIsUniversal}} = 1 | |||
== [https://support.microsoft.com/fr-fr/kb/929826 Activation: Error code 0x8007007B] == | |||
<kode lang=dos> | |||
REM dans une console avec les droits administrateur | |||
slmgr -ipk xxxxx-xxxxx-xxxxx-xxxxx-xxxxx (clé windows) | |||
</kode> | </kode> | ||
== | = OLD = | ||
== [http://www.pcworld.com/article/2949759/windows/killing-cortana-how-to-disable-windows-10s-info-hungry-digital-assistant.html Désactiver Cortana] == | |||
# Windows → taper cortana → Paramètres de Cortanan et Rechercher | |||
* | # Cliquer sur l'engrenage | ||
* | |||
== [http://www.tenforums.com/tutorials/3899-taskbar-hide-show-multiple-displays-windows-10-a.html Dual screens et taskbar] == | |||
clique-droit sur la barre des taches → Taskbar settings (ou Settings → Personalization → Taskbar) | |||
* Show taskbar on all displays | |||
* Show taskbar buttons on: Taskbar where window is open | |||
= Dark = | == Dark == | ||
== Activer le thème dark == | === Activer le thème dark === | ||
{{info | Seules les applications universelles (settings, calc) et explorer utiliseront le thème dark.}} | {{info | Seules les applications universelles (settings, calc) et explorer utiliseront le thème dark.}} | ||
Settings → Personalization → Colors → More Options → Choose your default app mode → Dark | Settings → Personalization → Colors → More Options → Choose your default app mode → Dark | ||
=== Ancienne méthode === | ==== Ancienne méthode ==== | ||
# {{boxx|regedit}} → {{boxx|HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize}} | # {{boxx|regedit}} → {{boxx|HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize}} | ||
# {{boxx|DWORD}} → {{boxx|1=AppsUseLightTheme = 0}} | # {{boxx|DWORD}} → {{boxx|1=AppsUseLightTheme = 0}} | ||
# sign out | # sign out | ||
== Colorer les barres de titre des fenêtres == | === Colorer les barres de titre des fenêtres === | ||
Settings - Personalization - Colors - More Options - cocher Title bars | Settings - Personalization - Colors - More Options - cocher Title bars | ||
=== [http://www.howtogeek.com/222831/how-to-get-colored-window-title-bars-on-windows-10-instead-of-white/ Ancienne méthode] === | ==== [http://www.howtogeek.com/222831/how-to-get-colored-window-title-bars-on-windows-10-instead-of-white/ Ancienne méthode] ==== | ||
# C:\Windows\Resources\Themes | # C:\Windows\Resources\Themes | ||
# Dupliquer le fichier aero.theme et le renommer en color.theme | # Dupliquer le fichier aero.theme et le renommer en color.theme | ||
Ligne 266 : | Ligne 554 : | ||
# Dans le dossier en-US, renommer aero.msstyles.mui en color.msstyles.mui | # Dans le dossier en-US, renommer aero.msstyles.mui en color.msstyles.mui | ||
# Double-cliquer sur fichier color.theme pour activer le theme | # Double-cliquer sur fichier color.theme pour activer le theme | ||
Dernière version du 4 avril 2024 à 07:40
Astuces
Windows + R commands
Command | Description |
---|---|
lusrmgr.msc | local user and group management |
msinfo32 | system information |
winver | Windows build version |
Raccourcis clavier
Alt + V,H,H | afficher / masquer les fichiers et dossiers cachés |
Win + Shift + ←/→ | passer une fenêtre d'un écran à l'autre |
Win + P | gestion multi-écran (duplicate, extended) |
Programmes exécutés au démarrage
Lister les programmes : Task Manager → Startup
- Pour l'utilisateur courant: %AppData%\Microsoft\Windows\Start Menu\Programs\Startup
- Pour tous les utilisateurs: C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup
- Dans le registre
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
- HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Run
- Task Manager → Startup
Special folders
Path | Description |
---|---|
%LocalAppData%\Programs | Current user programs folder |
%AppData%\Microsoft\Windows\Start Menu\Programs | Current user start menu folder |
Settings
Prevent monitor switching off when closing laptop lid
- Device Manager → System devices → ACPI lid
- right-click Properties → Driver tab → Update driver
- Browse my computer for driver software → Let me pick...
- Uncheck Show compatible hardware
- Manufacturer = Microsoft
- Model = Volume manager
- Restart the system
![]() |
The system device is now named Volume manager |
Prevent wake up from hibernation
- Control Panel → Hardware and Sound → Devices and Printers
- Right-click on device → Mouse settings → Hardware tab
- Select the device → Properties → Change settings button
- Power Management tab → uncheck "Allow this device to wake the computer"
Sound and microphone
Windows → Sound settings → Sound Control Panel (up, right)
- Playback → select device → Properties → Enhancements: Headphone Virtualization, Loundness Equalization
- Recording → select device → Properties → Level → Microphone Boost
- Sounds: change system sounds
Lancer le Snipping Tool lors de l'appuie sur PrintScreen
Settings → Ease of Access keyboard settings → Print Screen shortcut
Modifier le dpi
Settings → System → Display → Change the size of text
Désactiver les sons Windows
Control Panel → Hardware and Sound → Sound → Change system sounds → Sound Scheme: No Sounds
Couleur du pointeur de la sourie
Settings → Ease of Access → Mouse
Change color of inactive title bars
regedit → HKEY_CURRENT_USER\Software\Microsoft\Windows\DWM → new DWORD → name = AccentColorInactive
Pour la valeur s'inspirer d'AccentColor
Masquer les icônes de la barre des tâches
Settings → Personalization → Taskbar → Notification area → Select which icons appear on the taskbar
Old
Settings → System → Notifications & actions
- Select which icons appear on the taskbar
- Turn system icons on or off
Remove "Folders" from "My PC"
Remove Folders From This PC 64-bit.reg |
Windows Registry Editor Version 5.00 ; Remove Desktop From This PC [-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{B4BFCC3A-DB2C-424C-B029-7FE99A87C641}] [-HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{B4BFCC3A-DB2C-424C-B029-7FE99A87C641}] ; Remove Documents From This PC [-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{A8CDFF1C-4878-43be-B5FD-F8091C1C60D0}] [-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{d3162b92-9365-467a-956b-92703aca08af}] [-HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{A8CDFF1C-4878-43be-B5FD-F8091C1C60D0}] [-HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{d3162b92-9365-467a-956b-92703aca08af}] ; Remove Downloads From This PC [-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{374DE290-123F-4565-9164-39C4925E467B}] [-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{088e3905-0323-4b02-9826-5d99428e115f}] [-HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{374DE290-123F-4565-9164-39C4925E467B}] [-HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{088e3905-0323-4b02-9826-5d99428e115f}] ; Remove Music From This PC [-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{1CF1260C-4DD0-4ebb-811F-33C572699FDE}] [-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{3dfdf296-dbec-4fb4-81d1-6a3438bcf4de}] [-HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{1CF1260C-4DD0-4ebb-811F-33C572699FDE}] [-HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{3dfdf296-dbec-4fb4-81d1-6a3438bcf4de}] ; Remove Pictures From This PC [-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{3ADD1653-EB32-4cb0-BBD7-DFA0ABB5ACCA}] [-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{24ad3ad4-a569-4530-98e1-ab02f9417aa8}] [-HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{3ADD1653-EB32-4cb0-BBD7-DFA0ABB5ACCA}] [-HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{24ad3ad4-a569-4530-98e1-ab02f9417aa8}] ; Remove Videos From This PC [-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{A0953C92-50DC-43bf-BE83-3742FED03C9C}] [-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{f86fa3ab-70d2-4fc7-9c99-fcbf05467f3a}] [-HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{A0953C92-50DC-43bf-BE83-3742FED03C9C}] [-HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{f86fa3ab-70d2-4fc7-9c99-fcbf05467f3a}] ; Remove 3D Objects From This PC [-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{0DB7E03F-FC29-4DC6-9020-FF41B59E513A}] [-HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{0DB7E03F-FC29-4DC6-9020-FF41B59E513A}] |
Restore Folders From This PC 64-bit.reg |
Windows Registry Editor Version 5.00 ; Restore Desktop To This PC [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{B4BFCC3A-DB2C-424C-B029-7FE99A87C641}] [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{B4BFCC3A-DB2C-424C-B029-7FE99A87C641}] ; Restore Documents To This PC [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{A8CDFF1C-4878-43be-B5FD-F8091C1C60D0}] [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{d3162b92-9365-467a-956b-92703aca08af}] [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{A8CDFF1C-4878-43be-B5FD-F8091C1C60D0}] [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{d3162b92-9365-467a-956b-92703aca08af}] ; Restore Downloads To This PC [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{374DE290-123F-4565-9164-39C4925E467B}] [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{088e3905-0323-4b02-9826-5d99428e115f}] [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{374DE290-123F-4565-9164-39C4925E467B}] [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{088e3905-0323-4b02-9826-5d99428e115f}] ; Restore Music To This PC [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{1CF1260C-4DD0-4ebb-811F-33C572699FDE}] [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{3dfdf296-dbec-4fb4-81d1-6a3438bcf4de}] [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{1CF1260C-4DD0-4ebb-811F-33C572699FDE}] [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{3dfdf296-dbec-4fb4-81d1-6a3438bcf4de}] ; Restore Pictures To This PC [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{3ADD1653-EB32-4cb0-BBD7-DFA0ABB5ACCA}] [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{24ad3ad4-a569-4530-98e1-ab02f9417aa8}] [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{3ADD1653-EB32-4cb0-BBD7-DFA0ABB5ACCA}] [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{24ad3ad4-a569-4530-98e1-ab02f9417aa8}] ; Restore Videos To This PC [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{A0953C92-50DC-43bf-BE83-3742FED03C9C}] [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{f86fa3ab-70d2-4fc7-9c99-fcbf05467f3a}] [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{A0953C92-50DC-43bf-BE83-3742FED03C9C}] [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{f86fa3ab-70d2-4fc7-9c99-fcbf05467f3a}] ; Restore 3D Objects From This PC [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{0DB7E03F-FC29-4DC6-9020-FF41B59E513A}] [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{0DB7E03F-FC29-4DC6-9020-FF41B59E513A}] |
Change de language
- Main: Settings → Time & Language → Language
- Welcome screen: Control Panel → Clock and Region → Region → Administrative tab → Welcome screen → Copy settings
Supprimer un clavier
Settings → Time & Language → Language → sélectionner une langue → Options → sélectionner un keyboard → Remove
Changer format du Short date
Control panel → Clock, Language, and Region → Language → Change date, time, or number formats
- Short date = ddd d MMM
Verrou numérique sur l'écran de connexion (numlock)
regedit → HKEY_USERS\.DEFAULT\Control Panel\Keyboard → InitialKeyboardIndicators
ancienne valeur | 2147483648 |
nouvelle valeur | 2147483650 |
![]() |
La fonctionnalité Fast startup peut écraser la valeur InitialKeyboardIndicators. Désactiver fast startup: Power Options → Choose what the power buttons do → décocher fast startup |
Clique molette pour fermer une fenêtre
- Natif dans la barre de tâche, puis sur l'aperçu.
- Installer Preme pour pouvoir le faire dans la barre de titre des fenêtres
Performances
Optimiser les performances au détriment de l'apparence
Windows → performance → select Adjust the appearance and performance of Windows
- Adjust for best performance
Windows + x → System → Advanced system settings → Onglet Advanced → Performance → Settings
- Show shadows under windows
- Smooth edges of screen fonts
Disable transparency effects
- Settings → Personalization → Colors → Transparency Effects = Off
Hide drives
- regedit → HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer
- New DWORD → NoDrives = 16 decimal
![]() |
A: = 1, B: = 2, C: = 4, D: = 8, E: = 16, additionner les valeurs pour masquer plusieurs lecteurs. |
Sécurité
Users and Groups
# add user to local admin group
net localgroup administrators /add user.name
# add domain user to local admin group
net localgroup administrators /add identity\user.name
# get the name of the current user
whoami
# create a new user
net user /add user.name
|
![]() |
Edit groups as an admin: Windows - type compmgmt - right click on Computer Management - Run as administrator |
Désactiver Remote Desktop
Control Panel |
|
Remote Registry | Menu → Services → Remote Registry → Stop, Startup type: Disabled |
Service | Menu → Services → Remote Desktop Services: Concerne seulement le client |
Désactiver les partages administratifs C$
Service | Menu → Services → Server → Stop, Startup type: Disabled Arrête aussi le service Computer Browser |
Registre | regedit → HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters
Restart |
Settings | Computer Management → System Tools → Shared Folders → Shares → clique-droit sur C$ → Stop Sharing |
# afficher les partages
net share
|
Interdire l'accès à d'autres comptes
- Windows + R → gpedit.msc
- Local Computer Policy → Computer Configuration → Windows Settings → Security Settings → Local Policies → User Rights Assignment
- Allow log on locally: Administrators, Backup Operators, Guest, Users, Window Manager\Window Manager Group
- Deny log on locally: Guest
Se connecter sans mot de passe
- Windows + r → netplwiz
- Décocher « Users must enter a user name and a password ... »
Windows Credential Manager
# ajouter un Generic Credential
cmdkey /generic:targetname /user:username /pass:password
# avec demande du password
cmdkey /generic:targetname /user:username /pass
# lister les Credentials
cmdkey /list:targetname*
|
Domain Credentials | utilisé par l'OS |
Generic Credentials | utilisé par les applications |
Réseau
Clear dns cache
Clear-DnsClientCache
ipconfig /flushdns
|
Récupérer la clé wifi
# récupérer la liste des profils
netsh wlan show profile
# afficher le profile et la clé
netsh wlan show profile "xxx" key=clear
|
Client VPN
There are no TAP-Windows adapters on this system. You should be able to create a TAP-Windows adapter by going to Start -> All Programs -> TAP-Windows -> Utilities -> Add a new TAP-Windows virtual ethernet adapter.
- Regedit → HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4d36e972-e325-11ce-bfc1-08002be10318}\000x
- Choisir le 000x où ProductName = TAP-Windows Adapter V9
- Mettre ComponentId = tap0901
- Network connections → Disable puis Enable le TAP-Windows Adapter V9
Route
route.exe
REM list ipv4 routes
route print -4
REM ROUTE DELETE [destination_host] [MASK subnet_mask_value] [gateway] [METRIC metric] [IF interface_no.]
route delete x.x.x.x mask 255.255.255.0 metric 1
REM ROUTE [-p] ADD [destination_host] [MASK subnet_mask_value] [gateway] [METRIC metric] [IF interface_no.]
route add x.x.x.x mask 255.255.255.0 y.y.y.y
|
powershell
# list ipv4 routes
Get-NetRoute -AddressFamily IPv4
Remove-NetRoute -DestinationPrefix 192.168.0.0/24 -InterfaceIndex 1 -NextHop 0.0.0.0 -RouteMetric 1 -PolicyStore ActiveStore -Confirm:$false
New-NetRoute -DestinationPrefix 192.168.0.0/24 -InterfaceIndex 1 -NextHop 0.0.0.0 -RouteMetric 1 -PolicyStore ActiveStore
|
Task Scheduler
Lancer un script powershell
Program/script | C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe |
Add arguments | C:\Folder\Script.ps1 Arg1 |
Wake up after hibernation event
Log | Microsoft-Windows-Kernel-Power/Thermal-Operational |
Source | Kernel-Power |
Event ID | 107 |
Change user fullname
Set-LocalUser -Name MyUserName -Fullname "My User Name (-_-)"
|
- Windows → netplwiz
- Select an account → click on the Properties button
Recherche de fichiers
Cliquer sur le lecteur dans lequel on veut faire la recherche.
datemodified:30-Jan-19 18:30 | tous les fichiers et dossiers modifiés à cette date |
- Ajouter un raccourci vers le script dans %appdata%\Microsoft\Windows\Start Menu\Programs
- Aller dans le menu → rechercher le script → clique-droit sur le script → Pin to start
Pour rendre un raccourci vers un script PowerShell exécutable:
powershell.exe -command "& 'C:\A path with spaces\MyScript.ps1' -MyArguments blah"
|
Ou bien associer les fichiers *.ps1 à PowerShell.
Police floue
Fixer pour toutes les applications
Settings → System → Display → Advanced scaling settings → Let Windows try to fix apps so they're not blurry
Fixer pour une application
Clique-droit sur le raccourci → Properties → Onglet Compatibility → Disable display scaling on high DPI settings
Si l'onglet Compatibility n'est pas disponible:
- regedit
- HKCU\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers
- Valeur chaîne: C:\chemin\app.exe - HIGHDPIAWARE
Masquer un lecteur
- Computer Management → Storage → Disk Management
- Sélectionner un lecteur → clique-droit → Change Letter and Paths → Remove
Sourie Evoluent
Problème de défilement avec la sourie: Evoluent Mouse Manager → Wheel → décocher Accelerated scrolling
Dossier de démarrage par défaut de file explorer
- clique-droit sur le dossier à mettre par défaut → Send To → Desktop
- copier le raccourci créé sur le bureau vers %APPDATA%\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar
- changer l'icone du raccourci pour la même que celle de File Explorer (clique-droit → Properties → Change Icon)
- supprimer le raccourci File Explorer du dossier en cours et renommer le nouveau raccourci File Explorer
- fermer file explorer
Déplacer les dossier Documents, Music, Pictures, Videos, Downloads sur un autre disque
Définir le dique sur lequel les futurs données seront sauvegardées:
Settings → SYSTEM → Storage → Save locations
Changer l'emplacement des dossiers et copier leurs données
This PC → clique-droit sur Documents → Properties → Location
Changer l'emplacement de Pictures
- Explorer → %userprofile% → clique-droit sur Pctures → Properties
- Location → Move → choisir un nouveau dossier vide
Indexation
Windows → Indexing Options
- Modify → choix des dossier à indexer
- Advanced → Rebuild → reconstruire l'index
![]() |
Le dossier %UserProfile%\AppData étant exclut par défaut, inclure des sous-dossier comme %AppData%\Microsoft\Windows\Start Menu ne fonctionne pas. lien |
Désactiver l'indexation
- Menu → services.msc → Arrêter et désactiver le service Windows Search
- Pour chaque disque monté → Propriétés → décocher Autoriser l'indexation du contenu des fichiers ...
Réduire la taille d'une partition
# disable hibernation
powercfg /h off
# disable pagefile
wmic computersystem set AutomaticManagedPagefile=False
wmic pagefileset where name="C:\\pagefile.sys" delete
# disable system restore
Disable-ComputerRestore -Drive C:
# restart
# defrag
Optimize-Volume -DriveLetter C -ReTrim -Defrag -SlabConsolidate -TierOptimize -NormalPriority
# Get the remaining size
(Get-Volume C).SizeRemaining /1GB
# Resize partition
$part = Get-Partition -DriveLetter C
$part | Resize-Partition -Size 375GB
# Get the remaining size again
(Get-Volume C).SizeRemaining /1GB
# re-enable pagefile
wmic pagefileset create name="C:\\pagefile.sys"
wmic computersystem set AutomaticManagedPagefile=True
# re-enable hibernation
powercfg /h on
# re-enable system restore
Enable-ComputerRestore -Drive C:
# restart
|
Installer le framework 3.5
Control Panel → Uninstall a program → Turn Windows features on or off
Désinstaller une application du store
Menu → Settings → Apps → séléctionner l'application → Uninstall
Désinstaller des Apps
Windows → Settings → System → Apps & features
Windows update
- Windows → Settings → Update & security
- Windows + r → gpedit.msc → Computer Configuration → Administrative Templates → Windows Components → Windows Update
- Windows → services → Windows Update
Windows Editions
Edition | Description |
---|---|
consumer | OEM/Retail/USB Media installations |
business | Volume Media installations |
retail | activation of Windows on 1 PC |
multiple activation | activation of Windows on mltiple PCs |
N / KN | no Windows Media Player, Groove Music, Movies & TV, Voice Recorder, or Skype. N is avaialble in Europe and KN in Korea. |
Pro for Workstations | for high-end PC, supports 4 CPUs, 6 TB of RAM, NVDIMM-N, ReFS, SMB Direct |
Créer une clé usb bootable
Utiliser le logiciel Rufus pour créer une clé usb bootable à partir d'un fichier iso.
Cette clé usb bootable ne fonctionnera que si l'option Security Boot du BIOS est déactivée.
Windows 10 Boot Options Menu
- Restart while pressing the Shift key
shutdown.exe /r /o
- F11
Problèmes
Horloge n'est pas à l'heure
Dans le cas d'un dual boot avec Linux, il peut être nécessaire de passer Windows en RealTimeIsUniversal:
- regedit → Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation
- New → DWORD → RealTimeIsUniversal = 1
Activation: Error code 0x8007007B
REM dans une console avec les droits administrateur
slmgr -ipk xxxxx-xxxxx-xxxxx-xxxxx-xxxxx (clé windows)
|
OLD
Désactiver Cortana
- Windows → taper cortana → Paramètres de Cortanan et Rechercher
- Cliquer sur l'engrenage
Dual screens et taskbar
clique-droit sur la barre des taches → Taskbar settings (ou Settings → Personalization → Taskbar)
- Show taskbar on all displays
- Show taskbar buttons on: Taskbar where window is open
Dark
Activer le thème dark
![]() |
Seules les applications universelles (settings, calc) et explorer utiliseront le thème dark. |
Settings → Personalization → Colors → More Options → Choose your default app mode → Dark
Ancienne méthode
- regedit → HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize
- DWORD → AppsUseLightTheme = 0
- sign out
Colorer les barres de titre des fenêtres
Settings - Personalization - Colors - More Options - cocher Title bars
Ancienne méthode
- C:\Windows\Resources\Themes
- Dupliquer le fichier aero.theme et le renommer en color.theme
- Éditer color.theme → [VisualStyles]
- Remplacer Path=%ResourceDir%\Themes\Aero\Aero.msstyles
- Par Path=%ResourceDir%\Themes\color\color.msstyles
- Dupliquer le dossier aero et le renommer color
- Dans le dossier color, renommer aero.msstyles en color.msstyles
- Dans le dossier en-US, renommer aero.msstyles.mui en color.msstyles.mui
- Double-cliquer sur fichier color.theme pour activer le theme