Skip to content

Commit

Permalink
v4.15.11
Browse files Browse the repository at this point in the history
- bug fixed
  • Loading branch information
caglaryalcin committed Oct 9, 2024
1 parent b352c31 commit dfa5927
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions set.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -1853,9 +1853,6 @@ Function SystemSettings {

# Disable news and interests in the taskbar
$taskbarFeedsPath = "HKCU:\Software\Microsoft\Windows\CurrentVersion\Feeds"
if (-not (Test-Path $taskbarFeedsPath)) {
New-Item -Path $taskbarFeedsPath -Force | Out-Null
}
Set-ItemProperty -Path $taskbarFeedsPath -Name "ShellFeedsTaskbarViewMode" -Type DWord -Value 2 -ErrorAction Stop | Out-Null

# Disable Show recommendations for tips, shortcuts, new apps
Expand Down Expand Up @@ -1961,7 +1958,7 @@ Function SystemSettings {
Function RemoveTaskbarWidgets {
Write-Host "Removing Widgets from Taskbar..." -NoNewline
try {
Set-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\" -Name "TaskbarDa" -Type DWord -Value 0
Start-Process powershell -Verb runAs -ArgumentList '-Command "Set-ItemProperty -Path \"HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\" -Name \"TaskbarDa\" -Type DWord -Value 0"'
}
catch {
Write-Host "[WARNING] $_" -ForegroundColor Red -BackgroundColor Black
Expand Down

0 comments on commit dfa5927

Please sign in to comment.