How to force refresh thumbnails of images and videos in Explorer folders

Windows Explorer has an excellent feature like any other file manager to show thumbnail previews of pictures and videos in any folder. To make sure that the thumbnails show instantly every time you open a folder, it caches the thumbnails. Unfortunately, sometimes it fails to generate a thumbnail for some files, or continue to show an older thumbnail preview even if you updated the picture. Here is how you can force Explorer to refresh the thumbnail.