Clear Cache Wallpaper Images

You might also like

Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 1

Copy the image file on any domain controller to the C:\Windows\SYSVOL\sysvol\

woshub.loc\scripts\Screen folder. An UNC path to this file looks as follows: \\


woshub.loc\SYSVOL\woshub.loc\scripts\Screen\corp_wallpaper.jpg.

For Windows 10, you can add an additional logoff script that clears the image cache
on the user sign out. It could be a bat file Clear_wallpaper_cache.bat with the
following code:

del /F /S /Q %USERPROFILE%\AppData\Roaming\Microsoft\Windows\Themes\
TranscodedWallpaper
del /F /S /Q %USERPROFILE%\AppData\Roaming\Microsoft\Windows\Themes\CachedFiles\*.*

You might also like