Skip to content

Commit

Permalink
Hide meetnow taskbar icon for Builds 18362 and up
Browse files Browse the repository at this point in the history
  • Loading branch information
espanafly authored Jan 28, 2022
1 parent 1bee895 commit 17c8ddf
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions Content/Additional/SelectiveRegistry/SelectiveRegistry.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -95,16 +95,18 @@ If($SelectiveRegistry.RemoveTaskbarPinnedIcons){

## Disable taskbar taskview button
RegKey -Path "HKLM:\WIM_HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" -Name "ShowTaskViewButton" -Type Dword -Value "0" -Force

If($Global:InstallInfo.Build -ge '18362') {
#Hide MeetNow icon in taskbar
RegKey -Path "HKLM:\WIM_HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer" -Name "HideSCAMeetNow" -Type dword -Value "1"
RegKey -Path "HKLM:\WIM_HKLM_SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer" -Name "HideSCAMeetNow" -Type dword -Value "1"
}

If($Global:InstallInfo.Build -ge '22000') {
#Remove Chat icon in taskbar
RegKey -Path "HKLM:\WIM_HKLM_SOFTWARE\Policies\Microsoft\Windows\Windows Chat" -Name "ChatIcon" -Type dword -Value "3"
RegKey -Path "HKLM:\WIM_HKLM_SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" -Name "TaskbarMn" -Type dword -Value "0"

#Hide MeetNow icon in taskbar
RegKey -Path "HKLM:\WIM_HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer" -Name "HideSCAMeetNow" -Type dword -Value "1"
RegKey -Path "HKLM:\WIM_HKLM_SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer" -Name "HideSCAMeetNow" -Type dword -Value "1"

## Disable widgets button
RegKey -Path "HKLM:\WIM_HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" -Name "TaskbarDa" -Type Dword -Value "0" -Force
}
Expand Down

0 comments on commit 17c8ddf

Please sign in to comment.