Taskbar messed up sometimes after resuming from sleep


user1010

Member
Local time
2:25 PM
Posts
30
OS
Windows 11
Taskbar messed up sometimes after resuming desktop from sleep. Icons goes to the right on the taskbar and some of them doesn't show. If I click one of the icons it's not the right shortcut either. Workaround: restart explorer. No pending updates except KB2267602.

icons-missing-shortcut-goes-wrong.png
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    Asus
Hi 🙏

Something to try;

You can run the SFC /scannow command from any console, including the command prompt, PowerShell, or Windows Terminal. Open one of these as Admin and type or past that command and press enter, then wait for it to finish.

Then, if it reports problems, run the following command:

DISM /online /cleanup-image /restorehealth

Type (or copy and paste) the following command:

Code:
SFC /scannow

Were there any errors?


When completed, type (or copy and paste) the following command:

Code:
DISM /online /cleanup-image /restorehealth
 
Last edited:

My Computers

System One System Two

  • OS
    Windows 11 Pro 23H2 Build: 22631.3593
    Computer type
    PC/Desktop
    Manufacturer/Model
    Sin-built
    CPU
    Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz (4th Gen?)
    Motherboard
    ASUS ROG Maximus VI Formula
    Memory
    32.0 GB of I forget and the box is in storage.
    Graphics Card(s)
    Gigabyte nVidia GeForce GTX 1660 Super OC 6GB
    Sound Card
    Onboard
    Monitor(s) Displays
    4 x LG 23MP75 1 x 24" LG M38H 1 x 32" LF6300 TV Monitor 1 x Wacom Pro 22" Tablet
    Screen Resolution
    All over the place
    Hard Drives
    2 x WD something Something 8TB HDD's / 2 x WD something Something 4TB HDD's / 1 x EVO 1TB SSD / 2 x QVO 1TB SSD's / 1 x EVO 250 GB SSD / 2 x QVO 1TB (External Hub) / 1 x EVO 1TB (Portable Backup Case)
    PSU
    Silverstone 1500
    Case
    NZXT Phantom 820 Full-Tower Case
    Cooling
    Noctua NH-D15 Elite Class Dual Tower CPU Cooler / 6 x EziDIY 120mm / 2 x Corsair 140mm somethings / 1 x 140mm Thermaltake something / 2 x 200mm Corsair.
    Keyboard
    Corsair K95 / Logitech diNovo Edge Wireless
    Mouse
    Logitech G402 / G502 / Mx Masters / MX Air Cordless
    Internet Speed
    100/40Mbps
    Browser
    All sorts
    Antivirus
    Kaspersky Premium
    Other Info
    I’m on a horse.
  • Operating System
    Windows 11 Pro 22621.2215
    Computer type
    Laptop
    Manufacturer/Model
    LENOVO Yoga 7i EVO OLED 14" Touchscreen i5 12 Core 16GB/512GB
    CPU
    Intel Core 12th Gen i5-1240P Processor (1.7 - 4.4GHz)
    Memory
    16GB LPDDR5 RAM
    Graphics card(s)
    Graphics processor is an Intel Iris Xe
    Sound Card
    optimized with Dolby Atmos®
    Screen Resolution
    QHD 2880 x 1800 OLED
    Hard Drives
    M.2 512GB
    Other Info
    …still on a horse.
Hi 🙏

Something to try;

You can run the SFC /scannow command from any console, including the command prompt, PowerShell, or Windows Terminal. Open one of these as Admin and type or past that command and press enter, then wait for it to finish.

Then, if it reports problems, run the following command:

DISM /online /cleanup-image /restorehealth

Type (or copy and paste) the following command:

Code:
SFC /scannow

Were there any errors?


When completed, type (or copy and paste) the following command:

Code:
DISM /online /cleanup-image /restorehealth
Windows Resource Protection found corrupt files and successfully repaired them.

Shouldn't I check health before?
DISM /online /cleanup-image /checkhealth
No component store corruption detected.
The operation completed successfully.

I think I ran sfc a while ago as well and then it also found errors and repaired them.
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    Asus
Windows Resource Protection found corrupt files and successfully repaired them.

Shouldn't I check health before?
DISM /online /cleanup-image /checkhealth
No component store corruption detected.
The operation completed successfully.

I think I ran sfc a while ago as well and then it also found errors and repaired them.
Yes possibly, but I don’t.

To be honest, I run the batch script in this post, if needed or not.

 

My Computers

System One System Two

  • OS
    Windows 11 Pro 23H2 Build: 22631.3593
    Computer type
    PC/Desktop
    Manufacturer/Model
    Sin-built
    CPU
    Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz (4th Gen?)
    Motherboard
    ASUS ROG Maximus VI Formula
    Memory
    32.0 GB of I forget and the box is in storage.
    Graphics Card(s)
    Gigabyte nVidia GeForce GTX 1660 Super OC 6GB
    Sound Card
    Onboard
    Monitor(s) Displays
    4 x LG 23MP75 1 x 24" LG M38H 1 x 32" LF6300 TV Monitor 1 x Wacom Pro 22" Tablet
    Screen Resolution
    All over the place
    Hard Drives
    2 x WD something Something 8TB HDD's / 2 x WD something Something 4TB HDD's / 1 x EVO 1TB SSD / 2 x QVO 1TB SSD's / 1 x EVO 250 GB SSD / 2 x QVO 1TB (External Hub) / 1 x EVO 1TB (Portable Backup Case)
    PSU
    Silverstone 1500
    Case
    NZXT Phantom 820 Full-Tower Case
    Cooling
    Noctua NH-D15 Elite Class Dual Tower CPU Cooler / 6 x EziDIY 120mm / 2 x Corsair 140mm somethings / 1 x 140mm Thermaltake something / 2 x 200mm Corsair.
    Keyboard
    Corsair K95 / Logitech diNovo Edge Wireless
    Mouse
    Logitech G402 / G502 / Mx Masters / MX Air Cordless
    Internet Speed
    100/40Mbps
    Browser
    All sorts
    Antivirus
    Kaspersky Premium
    Other Info
    I’m on a horse.
  • Operating System
    Windows 11 Pro 22621.2215
    Computer type
    Laptop
    Manufacturer/Model
    LENOVO Yoga 7i EVO OLED 14" Touchscreen i5 12 Core 16GB/512GB
    CPU
    Intel Core 12th Gen i5-1240P Processor (1.7 - 4.4GHz)
    Memory
    16GB LPDDR5 RAM
    Graphics card(s)
    Graphics processor is an Intel Iris Xe
    Sound Card
    optimized with Dolby Atmos®
    Screen Resolution
    QHD 2880 x 1800 OLED
    Hard Drives
    M.2 512GB
    Other Info
    …still on a horse.
Shouldn't I check health before?
DISM /online /cleanup-image /checkhealth
The Dism /Online /Cleanup-Image /CheckHealth command uses Windows Update to see if the system files are healthy, repairable, or non-repairable. Repair a Windows Image
What the article doesn't mention it that the Dism /Online /Cleanup-Image /RestoreHealth command also will report whether it detected corruptions so if it turns out that it did, it will report whether it was able to successfully repair them. The difference is that, if you're interested in trying to investigate what's caused the corruptions, then you can't always do these kinds of investigations after the corruptions have already been repaired. But then, in a lot of cases you don't really need to investigate, as you can just blame Windows instead. Windows is, and always has been, a funny OS above anything else so, the day when funny OS stops being funny, prepare for cataclysmic event.

Usually, if the sfc /scannow command didn't detect any corruptions, it means that there aren't any, but sometimes it can happen that there still are, in which case Dism /Online /Cleanup-Image /RestoreHealth should do the trick. Only if problems like this persist after, that's when other troubleshooting methods such as, e.g., trying to repair Windows via an in-place upgrade will typically be recommended next. Some also recommend to just skip the sfc /scannow simply for the fact that it doesn't always find the corruptions if present. Even so, sfc /scannow takes much less time to finish compared to Dism /Online /Cleanup-Image /RestoreHealth so, more often than not, sfc /scannow helps to save valuable time still nevertheless, i.e. due to the simple fact that it usually is already sufficient to remedy the problem.
 

My Computers

System One System Two

  • OS
    11 Home
    Computer type
    Laptop
    Manufacturer/Model
    Asus TUF Gaming F16 (2024)
    CPU
    i7 13650HX
    Memory
    16GB DDR5
    Graphics Card(s)
    GeForce RTX 4060 Mobile
    Sound Card
    Eastern Electric MiniMax DAC Supreme; Emotiva UMC-200; Astell & Kern AK240
    Monitor(s) Displays
    Sony Bravia XR-55X90J
    Screen Resolution
    3840×2160
    Hard Drives
    512GB SSD internal
    37TB external
    PSU
    Li-ion
    Cooling
    2× Arc Flow Fans, 4× exhaust vents, 5× heatpipes
    Keyboard
    Logitech K800
    Mouse
    Logitech G402
    Internet Speed
    20Mbit/s up, 250Mbit/s down
    Browser
    FF
  • Operating System
    11 Home
    Computer type
    Laptop
    Manufacturer/Model
    Medion S15450
    CPU
    i5 1135G7
    Memory
    16GB DDR4
    Graphics card(s)
    Intel Iris Xe
    Sound Card
    Eastern Electric MiniMax DAC Supreme; Emotiva UMC-200; Astell & Kern AK240
    Monitor(s) Displays
    Sony Bravia XR-55X90J
    Screen Resolution
    3840×2160
    Hard Drives
    2TB SSD internal
    37TB external
    PSU
    Li-ion
    Mouse
    Logitech G402
    Keyboard
    Logitech K800
    Internet Speed
    20Mbit/s up, 250Mbit/s down
    Browser
    FF
Powershell:
PS C:\WINDOWS\system32> DISM /online /cleanup-image /restorehealth


Deployment Image Servicing and Management tool
Version: 10.0.22621.2792


Image Version: 10.0.22631.3296


[==========================100.0%==========================] The restore operation completed successfully.
The operation completed successfully.
PS C:\WINDOWS\system32>
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    Asus
Back
Top Bottom