JSI Tip 10046. How do I determine the file extensions that are always hidden on my computer?

Jerold Schulman

January 10, 2006

1 Min Read
ITPro Today logo in a gray background | ITPro Today


In tip 3613 Some extensions are still hidden after unchecking the option in Windows Explorer, I documented how to unhide these 'always hidden' extensions.

NOTE: See tip 4526 How do I set the 'hide' options of the View menu via the registry?

On my Windows XP desktop, the following keys have the NeverShowExt Value Name:

"HKEY_CLASSES_ROOTAccess.Shortcut.DataAccessPage.1""HKEY_CLASSES_ROOTAccess.Shortcut.Diagram.1""HKEY_CLASSES_ROOTAccess.Shortcut.Form.1""HKEY_CLASSES_ROOTAccess.ShortCut.Function.1""HKEY_CLASSES_ROOTAccess.Shortcut.Macro.1" "HKEY_CLASSES_ROOTAccess.Shortcut.Module.1""HKEY_CLASSES_ROOTAccess.Shortcut.Query.1" "HKEY_CLASSES_ROOTAccess.Shortcut.Report.1""HKEY_CLASSES_ROOTAccess.Shortcut.StoredProcedure.1""HKEY_CLASSES_ROOTAccess.Shortcut.Table.1" "HKEY_CLASSES_ROOTAccess.Shortcut.View.1""HKEY_CLASSES_ROOTApplication.Reference""HKEY_CLASSES_ROOTConferenceLink""HKEY_CLASSES_ROOTDocShortcut""HKEY_CLASSES_ROOTInternetShortcut""HKEY_CLASSES_ROOTlnkfile" "HKEY_CLASSES_ROOTpiffile" "HKEY_CLASSES_ROOTSHCmdFile""HKEY_CLASSES_ROOTShellScrap""HKEY_CLASSES_ROOTxnkfile" "HKEY_CLASSES_ROOTCLSID\{7BB70120-6C78-11CF-BFC7-444553540000}""HKEY_CLASSES_ROOTCLSID\{7BB70121-6C78-11CF-BFC7-444553540000}""HKEY_CLASSES_ROOTCLSID\{7BB70122-6C78-11CF-BFC7-444553540000}""HKEY_CLASSES_ROOTCLSID\{7BB70123-6C78-11CF-BFC7-444553540000}""HKEY_CLASSES_ROOTCLSID\{888DCA60-FC0A-11CF-8F0F-00C04FD7D062}""HKEY_CLASSES_ROOTCLSID\{9E56BE60-C50F-11CF-9A2C-00A0C90A90CE}""HKEY_CLASSES_ROOTCLSID\{9E56BE61-C50F-11CF-9A2C-00A0C90A90CE}""HKEY_CLASSES_ROOTCLSID\{9E56BE62-C50F-11CF-9A2C-00A0C90A90CE}""HKEY_CLASSES_ROOTCLSID\{AA7C7080-860A-11CE-8424-08002B2CFF76}""HKEY_CLASSES_ROOTCLSID\{ECF03A32-103D-11d2-854D-006008059367}"

Using REG.EXE, built into Windows XP, Windows Server 2003, and later operating systems, or installed from the Windows 2000 Support Tools, I have scripted NeverShowExt.bat to display the keys that have the NeverShowExt Value Name on your computer.

To use NeverShowExt.bat, run it from a CMD.EXE window.

NOTE: The NeverShowExt.bat script may run a long time.

NeverShowExt.bat contains:

@echo offsetlocalreg query HKCR>"%TEMP%NeverShowExt.tmp"for /f "SKIP=6 Tokens=*" %%a in ('type "%TEMP%NeverShowExt.tmp"') do ( for /f "Tokens=1" %%k in ('reg query "%%a"^|find /i "NeverShowExt"') do @echo "%%a" %%k)reg query HKCRCLSID>"%TEMP%NeverShowExt.tmp"for /f "SKIP=6 Tokens=*" %%a in ('type "%TEMP%NeverShowExt.tmp"') do ( for /f "Tokens=1" %%k in ('reg query "%%a"^|find /i "NeverShowExt"') do @echo "%%a" %%k)del /q "%TEMP%NeverShowExt.tmp"endlocal



Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like