"Show taskbar buttons on: All Taskbars" setting keeps resetting on sleep

Anonymous
2024-09-10T17:18:21+00:00

I have 2 monitors, and I want to keep my full taskbar persistently-visible on both of them. This was working fine until about a week ago. Now, it behaves as though "Main taskbar and taskbar where window is open" is selected even though "All taskbars" is still selected, until I toggle the setting myself.

My workaround is manually setting it to "Main taskbar and taskbar where window is open," then back to "All taskbars." This fixes the issue until the next time my PC sleeps.

I have tried resetting my PC and I have tried SFC /scannow as an admin in case of settings file corruption. Neither have resolved the issue.


Taskbar Settings

Lock the taskbar | ON

Automatically hide the taskbar in desktop mode | OFF

Automatically hide the taskbar in tablet mode | OFF

Use small taskbar buttons | OFF

Use Peek to preview the desktop when you move your mouse to the Show desktop button at the end of the taskbar | OFF

Replace Command Prompt with Windows PowerShell in the menu when I right-click the start button or press Windows key+X | ON

Show badges on taskbar buttons | ON

Taskbar location on screen | Bottom

Combine taskbar buttons | Always, hide labels

MULTIPLE DISPLAYS

Show taskbar on all displays | ON

Show taskbar buttons on | All taskbars

Combine buttons on other taskbars | Always, hide labels


Device

Processor AMD Ryzen 7 3700X 8-Core Processor 3.60 GHz

System type 64-bit operating system, x64-based processor

Windows

Edition Windows 10 Home

Version 22H2

Installed on ‎8/‎11/‎2020

OS build 19045.4780

Experience Windows Feature Experience Pack 1000.19060.1000.0

Windows for home | Windows 10 | Settings

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

52 answers

Sort by: Most helpful
  1. Anonymous
    2025-04-11T12:56:08+00:00

    Same problem here, guys...

    This is really annoying! Here the problem on the reseting the taskbar state is related to the regedit path: Computer\HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced on the key MMTaskbarMode.

    Here I have an HDMI KVM, and everytime when I change the monitors, this configuration it's lost, but... Without lose the value on the key.

    I've did a .bat to reset the explorer.

    I'm looking for a solution since November, 2024.

    Whoever, this week I think i've found a solution with Auto Hotkey.

    On my situation, the problem occurs everytime when I activate/deactivate the KVM. And the solution was a script on the AHK, to restart the explorer, when the system notice the change on the USB conection from the KVM.

    For who wants another method, just use the copilot or another IA to make changes on the code, its possible to trigger some other changes, like the number of displays, or the screen resolution to restart the "explorer.exe" and correct the taskbar.

    The code:

    #Persistent

    #NoTrayIcon

    WMI := ComObjGet("winmgmts:\.\root\CIMV2")

    query := "SELECT * FROM __InstanceOperationEvent WITHIN 2 WHERE TargetInstance ISA 'Win32_USBControllerDevice'"

    eventSink := WMI.ExecNotificationQuery(query)

    Loop

    {

    event := eventSink.NextEvent() 
    
    devicePath := event.TargetInstance.Dependent 
    
    ; Verifica se o dispositivo reconectado é sua KVM (ID USB específico) 
    
    if (InStr(devicePath, "VID\_214B&PID\_7250")) 
    
    { 
    
        ; Aguarda um pouco para estabilizar 
    
        Sleep 3000 
    
        ; Ajusta displays (força interno, depois estende) 
    
        RunWait, %ComSpec% /c "C:\Windows\System32\DisplaySwitch.exe /internal",, Hide 
    
        Sleep 2000 
    
        RunWait, %ComSpec% /c "C:\Windows\System32\DisplaySwitch.exe /extend",, Hide 
    
        Sleep 2000 
    
        ; Reinicia explorer com segurança 
    
        Process, Close, explorer.exe 
    
    Sleep 2000 
    
    DllCall("Shell32\SHRestartShell") 
    
        ; Força atualização visual 
    
        DllCall("user32.dll\UpdatePerUserSystemParameters", "Int", 1) 
    
        ; Loga sucesso 
    
        FormatTime, now,, yyyy-MM-dd HH:mm:ss 
    
        FileAppend, [%now%] Dispositivo KVM reconectado - Correção executada com sucesso`n, C:\Temp\kvm\_usb\_watchdog.log 
    
    } 
    

    }

    Ps.: Sorry about the bad english, and the commentaries on the code are on Brazilian Portuguese.

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2025-02-20T01:24:15+00:00

    Try doing an in-place upgrade.

    1st - Go to this site and enable developer tools in your browser (F12). You will need to turn on the mobile device viewing mode and refresh the page to see the download for the Windows 10 ISO.

    https://www.microsoft.com/en-us/software-download/windows10iso

    2nd - After the ISO file has been downloaded:

    • Double-click on the ISO file downloaded to open it.
    • Double-click on the "setup .exe". The installation package will commence
    • "Getting things ready" Read the license terms and then click Yes to continue.
    • Click on Accept
    • Select Upgrade this PC now and click Next.
    • Then the download will begin. Note that it may take a few minutes to finish downloading Windows 10.
    • On the Ready to install screen, ensure ‘Keep personal files and apps’ is selected (it is selected by default), and click Install to start installing Windows 10.
    • Once the installation is done, you can log back in to your account.

    Was this answer helpful?

    0 comments No comments