Forum Discussion
jimbidf
Oct 31, 2021Copper Contributor
Task bar on 2nd screen doesn't rise up
Hello, I've upgraded to Windows 11 yesterday, and I have an annoying behavior: My taskbar is configured to hide automatically, and it behaves properly on my main monitor. But on my 2nd monitor,...
Mousefluff
Oct 31, 2021Iron Contributor
jimbidf This will reinstall start menu components and also reset the associated apps...
Start Powershell -> Start Menu -> Run -> taskmgr -> File -> Run new Task -> %SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe -> Select "Create this task with administrative privileges." -> Click OK.
Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope LocalMachine -Force
Get-AppxPackage -allusers 1527c705-839a-4832-9118-54d4Bd6a0c89 | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"};
Get-AppxPackage -allusers c5e2524a-ea46-4f67-841f-6a9465d9d515 | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"};
Get-AppxPackage -allusers F46D4000-FD22-4DB4-AC8E-4E1DDDE828FE | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"};
Get-AppxPackage -allusers Microsoft.Windows.Search | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"};
Get-AppxPackage -allusers Microsoft.Windows.ShellExperienceHost | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"};
Get-AppxPackage -allusers Microsoft.Windows.StartMenuExperienceHost | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"};
Get-AppxPackage -allusers MicrosoftWindows.Client.CBS | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"};
Get-AppxPackage -allusers Windows.CBSPreview | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"};
Get-AppxPackage -allusers windows.immersivecontrolpanel | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"};
Get-AppxPackage -allusers Windows.PrintDialog | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"};
Get-AppxPackage -allusers 1527c705-839a-4832-9118-54d4Bd6a0c89 | Reset-AppxPackage;
Get-AppxPackage -allusers c5e2524a-ea46-4f67-841f-6a9465d9d515 | Reset-AppxPackage;
Get-AppxPackage -allusers F46D4000-FD22-4DB4-AC8E-4E1DDDE828FE | Reset-AppxPackage;
Get-AppxPackage -allusers Microsoft.Windows.Search | Reset-AppxPackage;
Get-AppxPackage -allusers Microsoft.Windows.ShellExperienceHost | Reset-AppxPackage;
Get-AppxPackage -allusers Microsoft.Windows.StartMenuExperienceHost | Reset-AppxPackage;
Get-AppxPackage -allusers MicrosoftWindows.Client.CBS | Reset-AppxPackage;
Get-AppxPackage -allusers Windows.CBSPreview | Reset-AppxPackage;
Get-AppxPackage -allusers windows.immersivecontrolpanel | Reset-AppxPackage;
Get-AppxPackage -allusers Windows.PrintDialog | Reset-AppxPackage;
./taskkill /f /im explorer.exe;
./CMD /Q /C START /REALTIME explorer.exe;
jimbidf
Nov 01, 2021Copper Contributor
Mousefluff Thanks, but it didn't really help. I doubt it has something to do with these errors, but maybe... I got them on several packages, but not on all.
C:\WINDOWS\System32\WindowsPowerShell\v1.0> Get-AppxPackage -allusers Microsoft.Windows.StartMenuExperienceHost | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}; Add-AppxPackage : Deployment failed with HRESULT: 0x80073D02, The package could not be installed because resources it modifies are currently in use. error 0x80073D02: Unable to install because the following apps need to be closed Microsoft.Windows.StartMenuExperienceHost_10.0.22000.37_neutral_neutral_cw5n1h2txyewy. NOTE: For additional information, look for [ActivityId] c671712e-cf47-000e-b41f-72c647cfd701 in the Event Log or use the command line Get-AppPackageLog -ActivityID c671712e-cf47-000e-b41f-72c647cfd701 At line:1 char:80 + ... | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.I ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (C:\Windows\Syst...ppXManifest.xml:String) [Add-AppxPackage], Exception + FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand PS C:\WINDOWS\System32\WindowsPowerShell\v1.0> Get-AppxPackage -allusers MicrosoftWindows.Client.CBS | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}; Add-AppxPackage : Deployment failed with HRESULT: 0x80073D02, The package could not be installed because resources it modifies are currently in use. error 0x80073D02: Unable to install because the following apps need to be closed MicrosoftWindows.Client.CBS_1000.22000.282.0_x64__cw5n1h2txyewy. NOTE: For additional information, look for [ActivityId] c671712e-cf47-000e-d81f-72c647cfd701 in the Event Log or use
the command line Get-AppPackageLog -ActivityID c671712e-cf47-000e-d81f-72c647cfd701
At line:1 char:66
+ ... | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.I ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (C:\Windows\Syst...ppXManifest.xml:String) [Add-AppxPackage], Exception
+ FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand
PS C:\WINDOWS\System32\WindowsPowerShell\v1.0> Get-AppxPackage -allusers Windows.CBSPreview | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"};
PS C:\WINDOWS\System32\WindowsPowerShell\v1.0> Get-AppxPackage -allusers windows.immersivecontrolpanel | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"};
Add-AppxPackage : Deployment failed with HRESULT: 0x80073D02, The package could not be installed because resources it
modifies are currently in use.
error 0x80073D02: Unable to install because the following apps need to be closed
windows.immersivecontrolpanel_10.0.6.1000_neutral_neutral_cw5n1h2txyewy.
NOTE: For additional information, look for [ActivityId] c671712e-cf47-000e-2720-72c647cfd701 in the Event Log or use
the command line Get-AppPackageLog -ActivityID c671712e-cf47-000e-2720-72c647cfd701
At line:1 char:68
+ ... | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.I ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (C:\Windows\Imme...ppXManifest.xml:String) [Add-AppxPackage], Exception
+ FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommandAfter running it, I got the task bar to rise once, but then it didn't do it again. Running the script again produced the same results.
- MousefluffNov 01, 2021Iron Contributor
It says you have apps in use while this is running...
- jimbidfNov 06, 2021Copper ContributorI couldn't understand what apps those were. I tried shutting down everything except for services, and it didn't help.
In any case, I somehow doubt packages are the culprit here. I don't use and customization on my desktop. No plugins or extensions, except for maybe some developer tools. It all worked fine before the move to Windows 11 - and the problem showed immediately.