Skip to content

Commit

Permalink
v4.0.11
Browse files Browse the repository at this point in the history
- removed home and quickaccess for a simpler explorer
  • Loading branch information
caglaryalcin committed Apr 10, 2024
1 parent 5363f2f commit 74c6e9f
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions set.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -1733,6 +1733,22 @@ Function SystemSettings {

EnableShowDesktop

Function UnpinQuickAccess {
Write-Host "Unpinning Quick Access from Taskbar..." -NoNewline
try {
$quickAccessPath = "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\HomeFolderMSGraph\NameSpace\DelegateFolders\{3936E9E4-D92C-4EEE-A85A-BC16D5EA0819}"
$Homepath = "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace_36354489\DelegateFolders\{f874310e-b6b7-47dc-bc84-b9e6b38f5903}"

Remove-Item -Path $quickAccessPath, $Homepath -ErrorAction SilentlyContinue
}
catch {
Write-Host "[WARNING] $_" -ForegroundColor Red -BackgroundColor Black
}
Write-Host "[DONE]" -ForegroundColor Green -BackgroundColor Black
}

UnpinQuickAccess

# Hide Taskbar Remove Widgets from the Taskbar
Function UnpinEverything {
Param(
Expand Down

0 comments on commit 74c6e9f

Please sign in to comment.