Skip navigation

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


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_ROOT\Access.Shortcut.DataAccessPage.1"
"HKEY_CLASSES_ROOT\Access.Shortcut.Diagram.1"
"HKEY_CLASSES_ROOT\Access.Shortcut.Form.1"
"HKEY_CLASSES_ROOT\Access.ShortCut.Function.1"
"HKEY_CLASSES_ROOT\Access.Shortcut.Macro.1" 
"HKEY_CLASSES_ROOT\Access.Shortcut.Module.1"
"HKEY_CLASSES_ROOT\Access.Shortcut.Query.1" 
"HKEY_CLASSES_ROOT\Access.Shortcut.Report.1"
"HKEY_CLASSES_ROOT\Access.Shortcut.StoredProcedure.1"
"HKEY_CLASSES_ROOT\Access.Shortcut.Table.1" 
"HKEY_CLASSES_ROOT\Access.Shortcut.View.1"
"HKEY_CLASSES_ROOT\Application.Reference"
"HKEY_CLASSES_ROOT\ConferenceLink"
"HKEY_CLASSES_ROOT\DocShortcut"
"HKEY_CLASSES_ROOT\InternetShortcut"
"HKEY_CLASSES_ROOT\lnkfile" 
"HKEY_CLASSES_ROOT\piffile" 
"HKEY_CLASSES_ROOT\SHCmdFile"
"HKEY_CLASSES_ROOT\ShellScrap"
"HKEY_CLASSES_ROOT\xnkfile" 
"HKEY_CLASSES_ROOT\CLSID\\{7BB70120-6C78-11CF-BFC7-444553540000\}"
"HKEY_CLASSES_ROOT\CLSID\\{7BB70121-6C78-11CF-BFC7-444553540000\}"
"HKEY_CLASSES_ROOT\CLSID\\{7BB70122-6C78-11CF-BFC7-444553540000\}"
"HKEY_CLASSES_ROOT\CLSID\\{7BB70123-6C78-11CF-BFC7-444553540000\}"
"HKEY_CLASSES_ROOT\CLSID\\{888DCA60-FC0A-11CF-8F0F-00C04FD7D062\}"
"HKEY_CLASSES_ROOT\CLSID\\{9E56BE60-C50F-11CF-9A2C-00A0C90A90CE\}"
"HKEY_CLASSES_ROOT\CLSID\\{9E56BE61-C50F-11CF-9A2C-00A0C90A90CE\}"
"HKEY_CLASSES_ROOT\CLSID\\{9E56BE62-C50F-11CF-9A2C-00A0C90A90CE\}"
"HKEY_CLASSES_ROOT\CLSID\\{AA7C7080-860A-11CE-8424-08002B2CFF76\}"
"HKEY_CLASSES_ROOT\CLSID\\{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 off
setlocal
reg 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 HKCR\CLSID>"%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



Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish