Network Drive Icons won't refresh after mounting them


mamekedi

New member
Local time
9:42 PM
Posts
11
OS
Windows 11
Hi All,

My first question after register this form :).
Network Drive Icons won't refresh after mounting them.

Photo 1 icons on the desktop (looks not ok)

photo1.jpg

Photo 2 Mounted drive in explorer my PC (looks oke)

photo2.jpg

As you can see the icons on my desktop won't refresh after mounting them.
How can i solve that the icons on my desktop are the same as the icons in my pc screen.

Tip!
After a (long) while the icons will change on my desktop, but i want them to change straight away after the mount
 
Windows Build/Version
Windows 11 Pro 21H2 (OS Build 22000,434)

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    CPU
    Ryzen 7
    Motherboard
    Asus

FreeBooter

Well-known member
Power User
VIP
Local time
10:42 PM
Posts
686
OS
Windows 11
Reset icon cache with attached batch script.
 

Attachments

  • Rebuild_Icon_Cache.bat
    1.1 KB · Views: 2

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    HP Pavilion
    CPU
    AMD Ryzen 7 5700G
    Motherboard
    Erica6
    Memory
    Micron Technology DDR4-3200 16GB
    Graphics Card(s)
    NVIDIA GeForce RTX 3060
    Sound Card
    Realtek ALC671
    Monitor(s) Displays
    Samsung SyncMaster U28E590
    Screen Resolution
    3840 x 2160
    Hard Drives
    SAMSUNG MZVLQ1T0HALB-000H1

mamekedi

New member
Thread Starter
Local time
9:42 PM
Posts
11
OS
Windows 11
I already used a script like that:

the point is when i startup my computer no drive is mounted, i only mount the drives when needed with a vb script.
in your script the pc will reboot after running the actions needed. In my case this won't work.
is there any other solution.
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    CPU
    Ryzen 7
    Motherboard
    Asus

FreeBooter

Well-known member
Power User
VIP
Local time
10:42 PM
Posts
686
OS
Windows 11
The computer needs to restart for the icon cache to rebuild itself. You can also run the script and restart File Explorer (explorer.exe) from Task Manager.
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    HP Pavilion
    CPU
    AMD Ryzen 7 5700G
    Motherboard
    Erica6
    Memory
    Micron Technology DDR4-3200 16GB
    Graphics Card(s)
    NVIDIA GeForce RTX 3060
    Sound Card
    Realtek ALC671
    Monitor(s) Displays
    Samsung SyncMaster U28E590
    Screen Resolution
    3840 x 2160
    Hard Drives
    SAMSUNG MZVLQ1T0HALB-000H1

mamekedi

New member
Thread Starter
Local time
9:42 PM
Posts
11
OS
Windows 11
Oke i will test it, place a exit in your script before reboot after that i will restart explorer manually
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    CPU
    Ryzen 7
    Motherboard
    Asus

FreeBooter

Well-known member
Power User
VIP
Local time
10:42 PM
Posts
686
OS
Windows 11
You don't have to place exit command, batch script ask you if you want to reboot typing N will exit the batch script or you can close the batch script when ask to reboot.
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    HP Pavilion
    CPU
    AMD Ryzen 7 5700G
    Motherboard
    Erica6
    Memory
    Micron Technology DDR4-3200 16GB
    Graphics Card(s)
    NVIDIA GeForce RTX 3060
    Sound Card
    Realtek ALC671
    Monitor(s) Displays
    Samsung SyncMaster U28E590
    Screen Resolution
    3840 x 2160
    Hard Drives
    SAMSUNG MZVLQ1T0HALB-000H1

mamekedi

New member
Thread Starter
Local time
9:42 PM
Posts
11
OS
Windows 11
Yes sorry i saw it :)
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    CPU
    Ryzen 7
    Motherboard
    Asus

mamekedi

New member
Thread Starter
Local time
9:42 PM
Posts
11
OS
Windows 11
The Icons will refresh now but if i unmount them and running the script again the icons on my desktop stays the same.
they are telling me it's mounted but it's not.

mount.jpg
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    CPU
    Ryzen 7
    Motherboard
    Asus

FreeBooter

Well-known member
Power User
VIP
Local time
10:42 PM
Posts
686
OS
Windows 11
Batch script only need to be run if the Icon cache corrupted.
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    HP Pavilion
    CPU
    AMD Ryzen 7 5700G
    Motherboard
    Erica6
    Memory
    Micron Technology DDR4-3200 16GB
    Graphics Card(s)
    NVIDIA GeForce RTX 3060
    Sound Card
    Realtek ALC671
    Monitor(s) Displays
    Samsung SyncMaster U28E590
    Screen Resolution
    3840 x 2160
    Hard Drives
    SAMSUNG MZVLQ1T0HALB-000H1

mamekedi

New member
Thread Starter
Local time
9:42 PM
Posts
11
OS
Windows 11
oke :) but that won't solve the issue
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    CPU
    Ryzen 7
    Motherboard
    Asus

glasskuter

Well-known member
Power User
VIP
Local time
2:42 PM
Posts
1,536
Location
The Lone Star State of Texas
OS
Windows 11 Pro 21H2 22000.675
When the icons change state in explorer, what happens if you go to your desktop and do a simple F5? Anything?
 

My Computers

System One System Two

  • OS
    Windows 11 Pro 21H2 22000.675
    Computer type
    PC/Desktop
    Manufacturer/Model
    Dell Optiplex 7080
    CPU
    i9-10900
    Memory
    32 gb
    Monitor(s) Displays
    Benq 27
    Screen Resolution
    2560x1440
    Hard Drives
    256 m.2 2230-256+1 tb hdd
    PSU
    500w
    Case
    MT
    Cooling
    Dell Premium
    Keyboard
    Logitech wired
    Mouse
    Logitech wireless
    Browser
    Firefox
    Antivirus
    Defender+MWB Premium
  • Operating System
    Windows 10 Pro 21H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    Dell Optiplex 9020
    CPU
    i7-4770
    Memory
    24 gb
    Screen Resolution
    2560x1440
    Hard Drives
    256 gb Toshiba BG4 M.2 NVE SSB and 1 tb hdd
    PSU
    500w
    Case
    MT
    Cooling
    standard
    Mouse
    Logitech wireless
    Keyboard
    Logitech wired
    Antivirus
    Defender+MWB Premium

mamekedi

New member
Thread Starter
Local time
9:42 PM
Posts
11
OS
Windows 11
They don't change
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    CPU
    Ryzen 7
    Motherboard
    Asus

glasskuter

Well-known member
Power User
VIP
Local time
2:42 PM
Posts
1,536
Location
The Lone Star State of Texas
OS
Windows 11 Pro 21H2 22000.675
This might sound like a weird thing to do but try this. Completely remove all your drive shortcuts from the desktop temporarily. Run the batch file to reset icon cache. Restart. Then mount just one drive and make a shortcut on your desktop while it is in mounted state. Unmount it to see if it changes to unmounted on desktop. If it does remount it and check state again.

If that doesn't work, it might be worth your time to enable the hidden administrator account to test if this issue is system wide or only in your account. From administrative command prompt type net user administrator /active:yes and enter (note the space after administrator)
Log out of your account and into the administrator account. Make a desktop shortcut and test if issue is in that account as well. If it works as it is supposed to there, then there is some sort of corruption in your account

When you are through testing in the administrator account, log out and log back into your account and disable the administrator account by opening administrative command prompt and typing net user administrator /active:no
 

My Computers

System One System Two

  • OS
    Windows 11 Pro 21H2 22000.675
    Computer type
    PC/Desktop
    Manufacturer/Model
    Dell Optiplex 7080
    CPU
    i9-10900
    Memory
    32 gb
    Monitor(s) Displays
    Benq 27
    Screen Resolution
    2560x1440
    Hard Drives
    256 m.2 2230-256+1 tb hdd
    PSU
    500w
    Case
    MT
    Cooling
    Dell Premium
    Keyboard
    Logitech wired
    Mouse
    Logitech wireless
    Browser
    Firefox
    Antivirus
    Defender+MWB Premium
  • Operating System
    Windows 10 Pro 21H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    Dell Optiplex 9020
    CPU
    i7-4770
    Memory
    24 gb
    Screen Resolution
    2560x1440
    Hard Drives
    256 gb Toshiba BG4 M.2 NVE SSB and 1 tb hdd
    PSU
    500w
    Case
    MT
    Cooling
    standard
    Mouse
    Logitech wireless
    Keyboard
    Logitech wired
    Antivirus
    Defender+MWB Premium

mamekedi

New member
Thread Starter
Local time
9:42 PM
Posts
11
OS
Windows 11
I Will give it a try (i use the administrator account allready) thanks for you reply
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    CPU
    Ryzen 7
    Motherboard
    Asus

glasskuter

Well-known member
Power User
VIP
Local time
2:42 PM
Posts
1,536
Location
The Lone Star State of Texas
OS
Windows 11 Pro 21H2 22000.675
i use the administrator account allready
BAD IDEA!!!
This hidden account is not meant to be used all the time. It is hidden for a reason and should only be used to troubleshoot problems in the OS and as an alternate means to give a user access to the system when his own account fails.

Are you sure you're using the hidden account named Administrator rather than one with administrative privileges? If you indeed are then to test my theory you would have to make another account to test.
 

My Computers

System One System Two

  • OS
    Windows 11 Pro 21H2 22000.675
    Computer type
    PC/Desktop
    Manufacturer/Model
    Dell Optiplex 7080
    CPU
    i9-10900
    Memory
    32 gb
    Monitor(s) Displays
    Benq 27
    Screen Resolution
    2560x1440
    Hard Drives
    256 m.2 2230-256+1 tb hdd
    PSU
    500w
    Case
    MT
    Cooling
    Dell Premium
    Keyboard
    Logitech wired
    Mouse
    Logitech wireless
    Browser
    Firefox
    Antivirus
    Defender+MWB Premium
  • Operating System
    Windows 10 Pro 21H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    Dell Optiplex 9020
    CPU
    i7-4770
    Memory
    24 gb
    Screen Resolution
    2560x1440
    Hard Drives
    256 gb Toshiba BG4 M.2 NVE SSB and 1 tb hdd
    PSU
    500w
    Case
    MT
    Cooling
    standard
    Mouse
    Logitech wireless
    Keyboard
    Logitech wired
    Antivirus
    Defender+MWB Premium

mamekedi

New member
Thread Starter
Local time
9:42 PM
Posts
11
OS
Windows 11
My work is system administrator linux and Windows so i know what i'm doing
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    CPU
    Ryzen 7
    Motherboard
    Asus

glasskuter

Well-known member
Power User
VIP
Local time
2:42 PM
Posts
1,536
Location
The Lone Star State of Texas
OS
Windows 11 Pro 21H2 22000.675

My Computers

System One System Two

  • OS
    Windows 11 Pro 21H2 22000.675
    Computer type
    PC/Desktop
    Manufacturer/Model
    Dell Optiplex 7080
    CPU
    i9-10900
    Memory
    32 gb
    Monitor(s) Displays
    Benq 27
    Screen Resolution
    2560x1440
    Hard Drives
    256 m.2 2230-256+1 tb hdd
    PSU
    500w
    Case
    MT
    Cooling
    Dell Premium
    Keyboard
    Logitech wired
    Mouse
    Logitech wireless
    Browser
    Firefox
    Antivirus
    Defender+MWB Premium
  • Operating System
    Windows 10 Pro 21H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    Dell Optiplex 9020
    CPU
    i7-4770
    Memory
    24 gb
    Screen Resolution
    2560x1440
    Hard Drives
    256 gb Toshiba BG4 M.2 NVE SSB and 1 tb hdd
    PSU
    500w
    Case
    MT
    Cooling
    standard
    Mouse
    Logitech wireless
    Keyboard
    Logitech wired
    Antivirus
    Defender+MWB Premium

mamekedi

New member
Thread Starter
Local time
9:42 PM
Posts
11
OS
Windows 11
No problem at all thanks
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    CPU
    Ryzen 7
    Motherboard
    Asus

mamekedi

New member
Thread Starter
Local time
9:42 PM
Posts
11
OS
Windows 11
if i delete the icon from the Desktop an create it again then the mounted icon is oke

11.jpg
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    CPU
    Ryzen 7
    Motherboard
    Asus
Top Bottom