Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: File Extensions - Hide or Show



File Extensions - Hide or Show

How to Hide or Show Known File Type Extensions in Windows 7
Published by Brink
19 May 2009
Published by

How to Hide or Show Known File Type Extensions in Windows 7


information   Information
A file name extension is a set of characters added to the end of a file name that identifies the file type or format that determines what default program should open it. This will show you how to have Windows 7 hide or show known file type extensions. By default in Windows 7, known file types are set to hide.

EXAMPLE: Files Type Extensions Set to Show and Hide
File Extensions - Hide or Show-show.jpg

File Extensions - Hide or Show-hide.jpg




OPTION ONE
Hide or Show Known File Extensions in Folder Options
1. Open Folder Options, and click on the View tab. (See screenshot below)
Name:  Folder_Options.jpg
Views: 116589
Size:  137.7 KB
2. To Hide Known File Type Extensions
A) Check the Hide extensions for known file types box, then click on OK. (see screenshot above)
NOTE: This is the default setting.
3. To Show Known File Type Extensions
A) Uncheck the Hide extensions for known file types box, then click on OK. (see screenshot above)



OPTION TWO
Hide or Show Known File Extensions using a REG file
1. To Show Known File Type Extensions
A) Click on the Download button below to download the file below.
Show_Known_File_Extensions.reg
download
B) Go to step 3.
2. To Hide Known File Type Extensions
A) Click on the Download button below to download the file below.
NOTE: This is the default setting.
Hide_Known_File_Extensions.reg
download
3. Click on Save, and save the .reg file to the desktop.

4. Right click on the downloaded .reg file and click on Merge.

5. Click on Run, Yes, Yes, and OK when prompted.

6. Refresh (F5) Window Explorer or Desktop to see the changes.

7. When done, you can delete the downloaded .reg file if you like.



OPTION THREE
Hide or Show Known File Extensions in Registry Editor
1. Open the Start Menu, then type regedit in the search box and press Enter.

2. If prompted by UAC, then click on Yes.

3. In regedit, navigate to the location below. (see screenshot below)
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced
File Extensions - Hide or Show-reg-1.jpg
4. In the right pane of Advanced, right click on HideFileExt and click on Modify. (see screenshot above)

5. To Hide Known File Type Extensions
A) Type 1 (number zero), and click on OK. (see screenshot below)
NOTE: This is the default setting.
Name:  REG-2.jpg
Views: 106447
Size:  19.9 KB
B) Go to step 7.
6. To Show Known File Type Extensions
A) Type 0, and click on OK. (see screenshot above)
7. Close regedit.

8. Refresh (F5) Window Explorer or Desktop to see the changes.
That's it,
Shawn






.

27 Aug 2012   #1
nlijkje

Windows 7 Professional 64 bits, SP1
 
 
Unable to hide file extension.

Hello, the HideFileExt variable of my system is set to 0 (zero) but the file extension is still shown.

If I change it through Folder Options it's only temporarily hidden. After reboot file extensions are shown again.

What now, anyone?

My System SpecsSystem Spec
.

27 Aug 2012   #2
Brink
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

Hello nlijkje, and welcome to Seven Forums.

You might also check the same registry location as above in Option Three, but start at the HKEY_LOCAL_MACHINE locationinstead to see if you may have an entry there as well.

If not, then use the Find and Find Next feature in regedit to search for the HideFileExt DWORD to see if there may a stray entry in the registry set to 1.

Hope this helps,
Shawn
My System SpecsSystem Spec
28 Aug 2012   #3
nlijkje

Windows 7 Professional 64 bits, SP1
 
 

Hi Shawn, thanx for your speedy reply.
I already searched for another HideFileExt entry in the register and found non as a DWORD value (only as folder or data entry).
It's my work PC so it might have to do with policies?
My System SpecsSystem Spec
28 Aug 2012   #4
Brink
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

Ah, yep most likely a policy set up on a domain. Only the domain administrator could change that policy.
My System SpecsSystem Spec
26 Jun 2013   #5
JustinIshley

Windows 7 Professional 32bit
 
 

the first option is the easiest to follow for a novice like me
My System SpecsSystem Spec
12 Sep 2013   #6
tasuooooo

 
 

Brink... lol

hello again

The reg entries are only for local user. is there anyway to add this to all users?
i tried going to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced and add the HideFileExt and set it to 0, but nothing happened.

do u know if it is possible?
I'm making an MDT image and i would like to all computers ill make to have this settings to all users.

thanks again
My System SpecsSystem Spec
12 Sep 2013   #7
Lady Fitzgerald

Win 7 Ultimate 64 bit
 
 

I personally feel one should have file extensions showing so malware with a file name like cutephoto.jpg.exe is harder to sneak past someone. On a computer with the file extensions hidden, the sample filename I showed would appear as a harmless .jpg file. A savvy user should still pick up on it (the .jpg showing on a computer with file extensions showing should be the giveaway) but the chances of it slipping past are still increased, especially if the file is an email attachment or link, depending on what email program is being used.
My System SpecsSystem Spec
12 Sep 2013   #8
Brink
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

Quote   Quote: Originally Posted by tasuooooo View Post
Brink... lol

hello again

The reg entries are only for local user. is there anyway to add this to all users?
i tried going to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced and add the HideFileExt and set it to 0, but nothing happened.

do u know if it is possible?
I'm making an MDT image and i would like to all computers ill make to have this settings to all users.

thanks again
Hello Tasuooooo, and welcome to Seven Forums.

You got the right idea, but it should have been under HKEY_CURRENT_USER instead of HKEY_LOCAL_MACHINE.
My System SpecsSystem Spec
01 Nov 2013   #9
TomHartwald

Windows 7 Ultimate x64
 
 

Hi,
just a little add-on with a strange problem:

I used "Folder Options > View" to show the known file extensions.
That worked fine, except for ".url" ...

I checked the well-known registry entries, all ok. I checked with NirSoft's wonderful
"FileTypesMan","Always show this file extension" was selected.

I did a little Inet research and stumbled across that post :
Favorites Bar shows .url extension after name. - Microsoft Community

This user had the opposite problem, ".url" was always displayed. The answer from
Robert Aldwinckle, MVP, was a little cryptic (compared to the Tutorials in this forum),
but it led my attention to another Registry entry:

[ HKEY_CLASSES_ROOT \ IE.AssocFile.URL ]

( In an abbreviated tutorial style:
( Start RegEdit, navigate to "HKEY_CLASSES_ROOT\IE.AssocFile.URL"
( In the left pane click on "IE.AssocFile.URL"
( Check now in the right pane the entries

To my surprise in "IE.AssocFile.URL" I found two related entries,
both "AlwaysShowExt" and "NeverShowExt" were present ...
And, ofc, if Windows has the choice, it selects at 100% the one
the user didn't want (Murphy's Law).

I deleted "NeverShowExt" and finally my ".url" is visible.
Wondering who made this stupid entry, maybe my Avant Browser (set as default).

Sorry for the long post ...

Regards,
Tom

Btw, NirSoft's "FileTypesMan" is my number one choice to change the icons associated
with file extensions. It's lean, it's portable and I don't have to install whatsoever
additional stuff like especially versions of MS dotNET, which other tools desperately need.
My System SpecsSystem Spec
Comment

 File Extensions - Hide or Show




Tutorial Tools



Similar help and support threads for2: File Extensions - Hide or Show
Windows 7 Tutorial Category
Show - Hide Known File Extensions - Add to Context Menu Tutorials
Show File Extensions and Hidden Files for all Users General Discussion
"Hide/show selected file" using context menu Customization
Show Super Hidden File Extensions? General Discussion
Previous Versions - Hide or Show from File Shares Tutorials
show hidden folders show file extensions thru registry General Discussion
fonts don't show file extensions General Discussion

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 06:09 PM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33