3
1
Whenever I open a folder with many .ts
(typescript) files, Windows Explorer hangs for several seconds attempting to generate thumbnails for each file. How can I turn this off?
3
1
Whenever I open a folder with many .ts
(typescript) files, Windows Explorer hangs for several seconds attempting to generate thumbnails for each file. How can I turn this off?
0
Create a windows-explorer-fix-ts-files.reg
file with these contents (or download it here) and run it:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\.ts]
@="txtfile"
"Content Type"="text/plain"
"PerceivedType"="text"
This is a just quicker version of nytamin's answer.
3
A system-wide solution is described here:
https://wizcorp.tumblr.com/post/176015676507/fix-inside-why-windows-explorer-goes-funky-in
Open the registry editor, navigate to Computer\HKEY_CLASSES_ROOT.ts (tip: as you open regedit.exe, type Ctrl+L to focus the address bar, paste the path and then press enter), double click on the PerceivedType key and replace video by text.
This will stop the madness for future folders. ... You may also dig further down and replace the
Content Type
and the(Default)
keys to readtext/plain
andtxtfile
respectively
2
You could change the view of the folder to Details or List, which doesn't show custom thumbnails for each file. But if you can't get into the folder to set the view without Explorer hanging, just go to the folder's parent, right click the folder and go to Properties
, go into the Customize
tab, and change Optimize this folder for
to either "General items" or "Documents". This should automatically present the contents of the folder (when you go into it) in Details or List view.
1Thanks. This a decent solution although I'd rather have a system-wide solution. I have to do this fix on a case-by-case basis but it's not too bad as long as I keep all my projects in the same folder that I need apply this to. – SpareBytes – 2018-03-19T22:24:31.670
Also, I still had this issue when I set my folder to Details/List view. I had to customize the folder as Documents
to solve this. – SpareBytes – 2018-03-19T22:25:32.590
Well, you could set the default folder template of your entire system to Documents
, but that might be really annoying (depending on what sorts of other folders you have). – Niayesh Isky – 2018-03-22T05:08:19.363
Another idea - and this is kind of weird, so it's up to you - is to set the default application for .ts
files to a program that doesn't generate thumbnails at all, or doesn't know how to handle .ts
files. (e.g.: my machine thinks .ts
files are "Films & TV" files, so the icon is just the default video icon). I'm not sure what application you're using that's generating the thumbnails though, so I don't know if this will help at all. – Niayesh Isky – 2018-03-22T05:13:00.347
2I actually changed the default program but that didn't stop the thumbnails from being generated. – SpareBytes – 2018-03-28T18:46:25.490
Even if you do this, you will have to do it for every folder. And even if you do it for every folder, if you hit F5 to refresh in a folder with a lot of .ts
files, it seems to take several seconds trying to generate a thumbnail for each file, even in Details view. The answer by Nytamin seems to work for me.
1
I found the answer on Microsoft TechNet forum:
Rename temporarily the registry key
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\PropertySystem\PropertyHandlers\.ts
and see if this helps.
Renamed .ts to .ts_disabled (so I can revert easily if needed) and it seems to work well.
I'm not sure but I think a restart is required after these changes. – Kip – 2019-08-19T15:17:19.540
Confirmed, this works after signing out and back in. – SpareBytes – 2019-10-17T20:53:04.880
Sorry, I tried to edit your answer with a quicker version but it got rejected by some annoying moderator so I made a new one. – SpareBytes – 2019-10-18T22:24:18.937