Change Windows Desktop via Powershell (unpin group from Start, Notifications, Task Manager etc.)

Viewed 126

I would like to change some settings for the Windows Desktop View via Powershell. Unfortunately, this does not work at all. Currently I would like to change the following things:

  1. Unpin group from Start Unpin group from Start

My approach:

Get-ChildItem -Path HKCU:\Software\Microsoft\Windows\CurrentVersion\CloudStore\Store\Cache\DefaultAccount\ | Where-Object {$_.Name -like "*start.tilegrid$windows.data.curatedtilecollection.tilecollection*"} | Remove-Item -Force -Recurse
  1. Notifications "Expand" and "Clear all notifications" Notifications "Expand" and "Clear all notifications"

My approach:

Set-ItemProperty -Path "HKCU:\Control Panel\Quick Actions\Control Center\QuickActionsStateCapture" -Name "Toggles" -Type String -Value "Toggles,Microsoft.QuickAction.Location:false,Microsoft.QuickAction.BlueLightReduction:false,Microsoft.QuickAction.AllSettings:false,Microsoft.QuickAction.AvailableNetworks:false,Microsoft.QuickAction.Connect:false,Microsoft.QuickAction.Project:false,Microsoft.QuickAction.Vpn:false,Microsoft.QuickAction.QuietHours:false,Microsoft.QuickAction.ScreenClipping:false" -Force
  1. Task Manager Task Manager > More details Performance > CPU > Change graph to > Logical processors

My approach:

New-Item -Path HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion -Name TaskManager –Force
Set-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\TaskManager" -Name "StartUpTab" -Type DWord -Value 1 -Force
  1. Language Remove Languages Download Language pack, Handwriting, Speech

My approach:

Add-WindowsPackage -Online -PackagePath .\lp_de-CH.cab
$ll = New-WinUserLanguageList -Language $language
Set-WinUserLanguageList $ll -Force
$LangList = Get-WinUserLanguageList
$MarkedLang = $LangList | where LanguageTag -eq "fr-CH"
$LangList.Remove($MarkedLang)
$MarkedLang = $LangList | where LanguageTag -eq "en-us"
$LangList.Remove($MarkedLang)

Unfortunately, it does not work with it. Does anyone have an idea about one of the points?

Thank you very much and best regards

0 Answers
Related