Skip to content

Commit

Permalink
v3.7.6
Browse files Browse the repository at this point in the history
- enabled due to action center calendar not showing
- added garmin to apps that should not open in the connector
  • Loading branch information
caglaryalcin committed Mar 15, 2024
1 parent fcd0de1 commit d3d3001
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 36 deletions.
2 changes: 1 addition & 1 deletion files/startup/Shells.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ Function DisableStartupApps {
"FACEIT*", "*Riot*", "*Epic*", "*Vanguard*", "*Blitz*", #Gaming
"*Brave*", "Google*", "*Chrome*", "*Opera*", "*vivaldi", "*Edge*", "*Yandex*", "*Firefox*", "*Librewolf*", #Browsers
"*EADM*", "*Java*", "*cisco*", "*npcap*", "*IDMan*", "*Disc*", "*CORS*", "*Next*", "*One*", "*iTunes*", "*iTunes*", "*Ai*", "*Skype*",
"*vmware*", "*Any*", "Tailscale*", "Docker*" #Other
"*vmware*", "*Any*", "Tailscale*", "Docker*", "GarminExpress" #Other
)

# Remove from registry
Expand Down
35 changes: 0 additions & 35 deletions w11.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -1317,41 +1317,6 @@ Function SystemSettings {

DisableMediaOnlineAccess

# Disable Action Center (Notification Center)
Function DisableActionCenter {
Write-Host "Disabling Action Center (Notification Center)..." -NoNewline

$allSuccessful = $true

try {
If (!(Test-Path "HKCU:\Software\Policies\Microsoft\Windows\Explorer")) {
New-Item -Path "HKCU:\Software\Policies\Microsoft\Windows\Explorer" | Out-Null
}
Set-ItemProperty -Path "HKCU:\Software\Policies\Microsoft\Windows\Explorer" -Name "DisableNotificationCenter" -Type DWord -Value 1
}
catch {
Write-Host "[WARNING] $_" -ForegroundColor Red -BackgroundColor Black
$allSuccessful = $false
}

try {
Set-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\PushNotifications" -Name "ToastEnabled" -Type DWord -Value 0
}
catch {
Write-Host "[WARNING] $_" -ForegroundColor Red -BackgroundColor Black
$allSuccessful = $false
}

if ($allSuccessful) {
Write-Host "[DONE]" -ForegroundColor Green -BackgroundColor Black
}
else {
Write-Host "[WARNING] $_" -ForegroundColor Red -BackgroundColor Black
}
}

DisableActionCenter

# Disable System restore
Function DisableRestorePoints {
Write-Host "Disabling System Restore for System Drive..." -NoNewline
Expand Down

0 comments on commit d3d3001

Please sign in to comment.