Skip to content

Commit 1acc37a

Browse files
r3incarnat0rDisassembler0
authored andcommitted
Add Explorer and Start Menu tweaks (Disassembler0#129)
1) EnableFldrSeparateProcess / DisableFldrSeparateProcess 2) EnableRestoreFldrWindows / DisableRestoreFldrWindows 3) DisableSharingWizard / EnableSharingWizard 4) HideRecentlyAddedApps / ShowRecentlyAddedApps 5) HideRecentJumplists / ShowRecentJumplists
1 parent 3b8fc95 commit 1acc37a

File tree

2 files changed

+77
-2
lines changed

2 files changed

+77
-2
lines changed

Default.preset

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ DisableErrorReporting
2020
# SetP2PUpdateLocal
2121
DisableDiagTrack
2222
DisableWAPPush
23+
# HideRecentJumplists
2324

2425
# SetUACLow
2526
# EnableSharingMappedDrives
@@ -79,6 +80,7 @@ HideTaskbarPeopleIcon
7980
ShowTrayIcons
8081
DisableSearchAppInStore
8182
DisableNewAppPrompt
83+
# HideRecentlyAddedApps
8284
# SetControlPanelSmallIcons
8385
SetVisualFXPerformance
8486
# AddENKeyboard
@@ -89,6 +91,9 @@ SetVisualFXPerformance
8991

9092
ShowKnownExtensions
9193
ShowHiddenFiles
94+
# EnableFldrSeparateProcess
95+
# EnableRestoreFldrWindows
96+
# DisableSharingWizard
9297
HideSelectCheckboxes
9398
HideSyncNotifications
9499
HideRecentShortcuts

Win10.ps1

Lines changed: 72 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ $tweaks = @(
2929
# "SetP2PUpdateLocal", # "SetP2PUpdateInternet", # "SetP2PUpdateDisable",
3030
"DisableDiagTrack", # "EnableDiagTrack",
3131
"DisableWAPPush", # "EnableWAPPush",
32+
# "HideRecentJumplists", # "ShowRecentJumplists",
3233

3334
### Security Tweaks ###
3435
# "SetUACLow", # "SetUACHigh",
@@ -50,7 +51,7 @@ $tweaks = @(
5051
# "EnableCIMemoryIntegrity", # "DisableCIMemoryIntegrity",
5152
"DisableScriptHost", # "EnableScriptHost",
5253
"EnableDotNetStrongCrypto", # "DisableDotNetStrongCrypto",
53-
# "EnableMeltdownCompatFlag" # "DisableMeltdownCompatFlag",
54+
# "EnableMeltdownCompatFlag", # "DisableMeltdownCompatFlag",
5455

5556
### Service Tweaks ###
5657
# "DisableUpdateMSRT", # "EnableUpdateMSRT",
@@ -80,7 +81,7 @@ $tweaks = @(
8081
"HideNetworkFromLockScreen", # "ShowNetworkOnLockScreen",
8182
"HideShutdownFromLockScreen", # "ShowShutdownOnLockScreen",
8283
"DisableStickyKeys", # "EnableStickyKeys",
83-
"ShowTaskManagerDetails" # "HideTaskManagerDetails",
84+
"ShowTaskManagerDetails", # "HideTaskManagerDetails",
8485
"ShowFileOperationsDetails", # "HideFileOperationsDetails",
8586
# "EnableFileDeleteConfirm", # "DisableFileDeleteConfirm",
8687
"HideTaskbarSearch", # "ShowTaskbarSearchIcon", # "ShowTaskbarSearchBox",
@@ -91,6 +92,7 @@ $tweaks = @(
9192
"ShowTrayIcons", # "HideTrayIcons",
9293
"DisableSearchAppInStore", # "EnableSearchAppInStore",
9394
"DisableNewAppPrompt", # "EnableNewAppPrompt",
95+
# "HideRecentlyAddedApps", # "ShowRecentlyAddedApps",
9496
# "SetControlPanelSmallIcons", # "SetControlPanelLargeIcons", # "SetControlPanelCategories",
9597
"SetVisualFXPerformance", # "SetVisualFXAppearance",
9698
# "AddENKeyboard", # "RemoveENKeyboard",
@@ -102,6 +104,9 @@ $tweaks = @(
102104
### Explorer UI Tweaks ###
103105
"ShowKnownExtensions", # "HideKnownExtensions",
104106
"ShowHiddenFiles", # "HideHiddenFiles",
107+
# "EnableFldrSeparateProcess", # "DisableFldrSeparateProcess",
108+
# "EnableRestoreFldrWindows", # "DisableRestoreFldrWindows",
109+
# "DisableSharingWizard", # "EnableSharingWizard",
105110
# "HideSelectCheckboxes", # "ShowSelectCheckboxes",
106111
"HideSyncNotifications" # "ShowSyncNotifications",
107112
"HideRecentShortcuts", # "ShowRecentShortcuts",
@@ -579,6 +584,18 @@ Function EnableWAPPush {
579584
Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\dmwappushservice" -Name "DelayedAutoStart" -Type DWord -Value 1
580585
}
581586

587+
# Hide recently opened items in Jump Lists on Start or the taskbar
588+
Function HideRecentJumplists {
589+
Write-Output "Hiding recently opened items in Jump Lists..."
590+
Set-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" -Name "Start_TrackDocs" -Type DWord -Value 0
591+
}
592+
593+
# Show recently opened items in Jump Lists on Start or the taskbar
594+
Function ShowRecentJumplists {
595+
Write-Output "Showing recently opened items in Jump Lists..."
596+
Remove-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" -Name "Start_TrackDocs" -ErrorAction SilentlyContinue
597+
}
598+
582599

583600

584601
##########
@@ -1460,6 +1477,21 @@ Function EnableNewAppPrompt {
14601477
Remove-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows\Explorer" -Name "NoNewAppAlert" -ErrorAction SilentlyContinue
14611478
}
14621479

1480+
# Hide "Recently added" list from Start Menu
1481+
Function HideRecentlyAddedApps {
1482+
Write-Output "Hiding 'Recently added' list from Start Menu..."
1483+
If (!(Test-Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows\Explorer")) {
1484+
New-Item -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows\Explorer" | Out-Null
1485+
}
1486+
Set-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows\Explorer" -Name "HideRecentlyAddedApps" -Type DWord -Value 1
1487+
}
1488+
1489+
# Show "Recently added" list in Start Menu
1490+
Function ShowRecentlyAddedApps {
1491+
Write-Output "Showing 'Recently added' list in Start Menu..."
1492+
Remove-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows\Explorer" -Name "HideRecentlyAddedApps" -ErrorAction SilentlyContinue
1493+
}
1494+
14631495
# Set Control Panel view to Small icons (Classic)
14641496
Function SetControlPanelSmallIcons {
14651497
Write-Output "Setting Control Panel view to small icons..."
@@ -1631,6 +1663,8 @@ Function EnableChangingSoundScheme {
16311663
Remove-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows\Personalization" -Name "NoChangingSoundScheme" -ErrorAction SilentlyContinue
16321664
}
16331665

1666+
1667+
16341668
##########
16351669
# Explorer UI Tweaks
16361670
##########
@@ -1659,6 +1693,42 @@ Function HideHiddenFiles {
16591693
Set-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" -Name "Hidden" -Type DWord -Value 2
16601694
}
16611695

1696+
# Enable launching folder windows in a separate process
1697+
Function EnableFldrSeparateProcess {
1698+
Write-Output "Enabling launching folder windows in a separate process..."
1699+
Set-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" -Name "SeparateProcess" -Type DWord -Value 1
1700+
}
1701+
1702+
# Disable launching folder windows in a separate process
1703+
Function DisableFldrSeparateProcess {
1704+
Write-Output "Disabling launching folder windows in a separate process..."
1705+
Set-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" -Name "SeparateProcess" -Type DWord -Value 0
1706+
}
1707+
1708+
# Enable restoring previous folder windows at logon
1709+
Function EnableRestoreFldrWindows {
1710+
Write-Output "Enabling restoring previous folder windows at logon..."
1711+
Set-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" -Name "PersistBrowsers" -Type DWord -Value 1
1712+
}
1713+
1714+
# Disable restoring previous folder windows at logon
1715+
Function DisableRestoreFldrWindows {
1716+
Write-Output "Disabling restoring previous folder windows at logon..."
1717+
Remove-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" -Name "PersistBrowsers" -ErrorAction SilentlyContinue
1718+
}
1719+
1720+
# Disable Sharing Wizard
1721+
Function DisableSharingWizard {
1722+
Write-Output "Disabling Sharing Wizard..."
1723+
Set-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" -Name "SharingWizardOn" -Type DWord -Value 0
1724+
}
1725+
1726+
# Enable Sharing Wizard
1727+
Function EnableSharingWizard {
1728+
Write-Output "Enabling Sharing Wizard..."
1729+
Remove-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" -Name "PersistBrowsers" -ErrorAction SilentlyContinue
1730+
}
1731+
16621732
# Hide item selection checkboxes
16631733
Function HideSelectCheckboxes {
16641734
Write-Output "Hiding item selection checkboxes..."

0 commit comments

Comments
 (0)