My question is identical to [this Microsoft post](https://answers.microsoft.com/en-us/insider/forum/all/changing-to-list-view-in-file-explorer-everywhere/4e190712-d726-499d-bfed-f26ee77abe06), which n'a pas receive any viable answers. J'exécute `Windows 10` (version ne matter, same behavior in all versions) and I simply want all my dossiers in all my drives to display in `List View` rather than `Details View` or otherwise.
For any given dossier, this can be done by going to `Windows Explorer -> View -> List`, un par un.
Many people mistakenly believe that what I'm asking for can ensuite be accomplished by going to `Windows Explorer -> Options -> Change folder and search options -> View -> Apply to Folders`. That simply ne work. In fact Je ne sais pas what it even does. Après doing that Je peux find dossiers all over my système that continue to open in `Details View` par défaut.
Important: In some cases I do want to be able to change a dossier to `Details View` or etc, but 95% du time (and par défaut), Je viens de want the compact `List View` for all dossiers.
Y a-t-il un registry hack or quelque chose? How can this be done?
Existe-t-il un moyen de accomplish this?
Changing to List View in Fichier Explorer - Everywhere
Re: Changing to List View in Fichier Explorer - Everywhere
Copy & paste the following code into an ***Admin* PowerShell** window. Cela va set list as the par défaut mode for all *FolderTypes*.
```
$FT = 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderTypes'
gci $FT -Recurse | ? Property -Contains 'LogicalVIewMode' | %{
$_.Name -match 'FolderTypes\\(.+)\\TopViews' | out-null
$matches[1]
} | select -unique | %{
New-Item "HKLM:\SOFTWARE\Microsoft\Windows\Shell\Bags\AllFolders\Shell\$_" -force |
Set-ItemProperty -Name 'Mode' -Value 3 -PassThru |
Set-ItemProperty -Name 'LogicalViewMode' -Value 4
}
```
To supprimer any saved views so your nouveau defaults appear consistently, supprimez le `BagMRU` and `Bags` registry clés:
```
ri 'HKCU:\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\BagMRU' -Recurse
ri 'HKCU:\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags' -Recurse
```
```
$FT = 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderTypes'
gci $FT -Recurse | ? Property -Contains 'LogicalVIewMode' | %{
$_.Name -match 'FolderTypes\\(.+)\\TopViews' | out-null
$matches[1]
} | select -unique | %{
New-Item "HKLM:\SOFTWARE\Microsoft\Windows\Shell\Bags\AllFolders\Shell\$_" -force |
Set-ItemProperty -Name 'Mode' -Value 3 -PassThru |
Set-ItemProperty -Name 'LogicalViewMode' -Value 4
}
```
To supprimer any saved views so your nouveau defaults appear consistently, supprimez le `BagMRU` and `Bags` registry clés:
```
ri 'HKCU:\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\BagMRU' -Recurse
ri 'HKCU:\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags' -Recurse
```