« Windows 10 » : différence entre les versions
Aucun résumé des modifications |
Aucun résumé des modifications |
||
Ligne 82 : | Ligne 82 : | ||
* Natif dans la barre de tâche, puis sur l'aperçu. | * 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 | * Installer [http://www.premeforwindows.com/ Preme] pour pouvoir le faire dans la barre de titre des fenêtres | ||
= 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] | |||
== 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 ... » | |||
= Réseau = | |||
== [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 | |||
= Recherche de fichiers = | = Recherche de fichiers = | ||
Ligne 194 : | Ligne 256 : | ||
* Menu → services.msc → Arrêter et désactiver le service Windows Search | * 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 ... | * Pour chaque disque monté → Propriétés → décocher Autoriser l'indexation du contenu des fichiers ... | ||
= Installer le framework 3.5 = | = Installer le framework 3.5 = | ||
Control Panel → Uninstall a program → Turn Windows features on or off | Control Panel → Uninstall a program → Turn Windows features on or off | ||
= [https://support.microsoft.com/fr-fr/kb/929826 Activation: Error code 0x8007007B] = | = [https://support.microsoft.com/fr-fr/kb/929826 Activation: Error code 0x8007007B] = |
Version du 21 décembre 2019 à 13:40
Astuces
System Information
Windows + R - msinfo32
Version de build
Win + R → winver
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
Settings
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
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
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
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 |
Optimiser les performances au détriment de l'apparence
Windows + x → System → Advanced system settings → Onglet Advanced → Performance → Settings
- Show shadows under windows
- Smooth edges of screen fonts
Ne pas afficher le contenu des fenêtres pendant leur déplacement
- Control Panel → System and Security → System → Advanced system settings
- Advanced → Performance → Settings → Visual Effect → Show window contents while dragging
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
Sécurité
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 ... »
Réseau
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
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 |
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 |
- 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.
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
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 |
Changer l'emplacement de Pictures
- Explorer → %userprofile% → clique-droit sur Pctures → Properties
- Location → Move → choisir un nouveau dossier vide
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
Désinstaller une application du store
Menu → Settings → Apps → séléctionner l'application → Uninstall
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
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
Desinstaller 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
Gestion des utilisateurs et des groupes
Windows + r → lusrmgr.msc
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 ...
Installer le framework 3.5
Control Panel → Uninstall a program → Turn Windows features on or off
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