mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2025-07-01 10:32:35 -05:00
fix: use correct registry key
This commit is contained in:
@ -3753,14 +3753,14 @@
|
|||||||
$bags = \"HKCU:\\Software\\Classes\\Local Settings\\Software\\Microsoft\\Windows\\Shell\\Bags\"
|
$bags = \"HKCU:\\Software\\Classes\\Local Settings\\Software\\Microsoft\\Windows\\Shell\\Bags\"
|
||||||
|
|
||||||
# Folder types lookup table
|
# Folder types lookup table
|
||||||
$bagsMRU = \"HKCU:\\Software\\Classes\\Local Settings\\Software\\Microsoft\\Windows\\Shell\\BagsMRU\"
|
$bagMRU = \"HKCU:\\Software\\Classes\\Local Settings\\Software\\Microsoft\\Windows\\Shell\\BagMRU\"
|
||||||
|
|
||||||
# Flush explorer view database
|
# Flush explorer view database
|
||||||
Remove-Item -Path $bags -Recurse -Force
|
Remove-Item -Path $bags -Recurse -Force
|
||||||
Write-Host \"Removed $bags\"
|
Write-Host \"Removed $bags\"
|
||||||
|
|
||||||
Remove-Item -Path $bagsMRU -Recurse -Force
|
Remove-Item -Path $bagMRU -Recurse -Force
|
||||||
Write-Host \"Removed $bagsMRU\"
|
Write-Host \"Removed $bagMRU\"
|
||||||
|
|
||||||
# Every folder
|
# Every folder
|
||||||
$allFolders = \"HKCU:\\Software\\Classes\\Local Settings\\Software\\Microsoft\\Windows\\Shell\\Bags\\AllFolders\\Shell\"
|
$allFolders = \"HKCU:\\Software\\Classes\\Local Settings\\Software\\Microsoft\\Windows\\Shell\\Bags\\AllFolders\\Shell\"
|
||||||
@ -3783,14 +3783,14 @@
|
|||||||
$bags = \"HKCU:\\Software\\Classes\\Local Settings\\Software\\Microsoft\\Windows\\Shell\\Bags\"
|
$bags = \"HKCU:\\Software\\Classes\\Local Settings\\Software\\Microsoft\\Windows\\Shell\\Bags\"
|
||||||
|
|
||||||
# Folder types lookup table
|
# Folder types lookup table
|
||||||
$bagsMRU = \"HKCU:\\Software\\Classes\\Local Settings\\Software\\Microsoft\\Windows\\Shell\\BagsMRU\"
|
$bagMRU = \"HKCU:\\Software\\Classes\\Local Settings\\Software\\Microsoft\\Windows\\Shell\\BagMRU\"
|
||||||
|
|
||||||
# Flush explorer view database
|
# Flush explorer view database
|
||||||
Remove-Item -Path $bags -Recurse -Force
|
Remove-Item -Path $bags -Recurse -Force
|
||||||
Write-Host \"Removed $bags\"
|
Write-Host \"Removed $bags\"
|
||||||
|
|
||||||
Remove-Item -Path $bagsMRU -Recurse -Force
|
Remove-Item -Path $bagMRU -Recurse -Force
|
||||||
Write-Host \"Removed $bagsMRU\"
|
Write-Host \"Removed $bagMRU\"
|
||||||
|
|
||||||
Write-Host Please sign out and back in, or restart your computer to apply the changes!
|
Write-Host Please sign out and back in, or restart your computer to apply the changes!
|
||||||
"
|
"
|
||||||
|
Reference in New Issue
Block a user