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:
- 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
- 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
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
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