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: Default File Type Associations - Restore

26 Apr 2014   #700
Brink

64-bit Windows 10 Pro
 
 

Ah, ok. The ones that do not have the same line is because one of the subkeys does not allow access to it by default. If added, the downloaded .reg would give an error when trying to merge it since "Access denied" would prevent it from being deleted.


My System SpecsSystem Spec
.
26 Apr 2014   #701
svnpenn

Windows 7 Ultimate x64
 
 

Perhaps on those we would need to add

Code:
@=""
or similar so as to get closer to true default settings?
My System SpecsSystem Spec
26 Apr 2014   #702
Brink

64-bit Windows 10 Pro
 
 

Any attempt to modify a key that doesn't allow permission by default would give an error.

Normally, this would not be an issue unless someone took ownership and modified the keys. If so, then I would be happy to further help someone that needed help with those keys.
My System SpecsSystem Spec
26 Apr 2014   #703
svnpenn

Windows 7 Ultimate x64
 
 

Okay, here are some defaults that are not set by these REG files

Code:
[HKEY_CLASSES_ROOT\batfile\shell]
@=""

[HKEY_CLASSES_ROOT\cmdfile\shell]
@=""

[HKEY_CLASSES_ROOT\inifile\shell]
@=""

[HKEY_CLASSES_ROOT\jsfile\shell]
@="Open"

[HKEY_CLASSES_ROOT\PowerShellScript.1\shell]
@="Open"

[HKEY_CLASSES_ROOT\regfile\shell]
@=""

[HKEY_CLASSES_ROOT\txtfile\shell]
@=""

[HKEY_CLASSES_ROOT\xmlfile\shell]
@=""
I tested all of these and they can be modified without errors. Please consider
adding them to their respective REG files.
My System SpecsSystem Spec
.

26 Apr 2014   #704
Brink

64-bit Windows 10 Pro
 
 

The ones that have the [-HKEY_CLASSES_ROOT\(file extension)] line don't need that added since it would be added by default anyways.

I've added to .bat though since it didn't.
My System SpecsSystem Spec
28 Apr 2014   #705
svnpenn

Windows 7 Ultimate x64
 
 

Brink, thanks again for your help. However I did notice that Default_XML.reg
does not contain

Code:
[-HKEY_CLASSES_ROOT\xmlfile]
This is of course because of the "Access denied" error you mentioned. However as
I said earlier this could cause a problem if someone has changed

Code:
[HKEY_CLASSES_ROOT\xmlfile\shell]
@=""
to something else, that change will not be reverted by the REG file. Please
consider changing

Code:
[HKEY_CLASSES_ROOT\xmlfile\shell]
to this

Code:
[HKEY_CLASSES_ROOT\xmlfile\shell]
@=""
in Default_XML.reg
My System SpecsSystem Spec
28 Apr 2014   #706
Brink

64-bit Windows 10 Pro
 
 

Updated.
My System SpecsSystem Spec
03 May 2014   #707
svnpenn

Windows 7 Ultimate x64
 
 

Brink, would you add ".csv"?
My System SpecsSystem Spec
03 May 2014   #708
Brink

64-bit Windows 10 Pro
 
 

Hello svnpenn,

Windows does not have an association for .csv files by default.

These are usually Microsoft Excel file types, so you should be able to set Excel (if installed) as the default program.

Default Programs - Set a Program's Default Associations
My System SpecsSystem Spec
03 May 2014   #709
svnpenn

Windows 7 Ultimate x64
 
 

Okay, thanks
My System SpecsSystem Spec
Reply

 Default File Type Associations - Restore




Thread Tools




Similar help and support threads
Thread Forum
MS Word not in default file associations list
I have installed MS Office Professional 2003 on Windows 7. I cannot get Word to associate with .doc files to open files from Windows. Word is not there as an option to choose as a default program in "Open with" or via "Associate a file type...". I can browse to find WINWORD.EXE within...
Microsoft Office
MS Office 2010 default file associations missing
Running Windows 7 64bit Pro with Office 2010 32bit. It's a new computer and when transferring office documents from one user to another the file associations are missing. You can't open up office documents on the new computer unless you manually associate it. This occurs with all user profiles...
Microsoft Office
All file associations hosed for Win7 account- system restore?
Helping a friend troubleshoot his computer and hoping for some advice - Win7 Pro 64 SP1 He has 2 accounts on his PC (administrator, and 'user'). Both have admin privileges. When he logged in this morning using his user account, the file associations for all applications appear to have been...
General Discussion
How to Backup Windows 7 Default (Customized) File Associations
Does anyone know how you can backup your personal customizations to the Default File Locations (e.g., my *.txt isn't assocated with Notepad, but Notepad2). Is it in the registry somewhere?
Backup and Restore
How can i fix ppt and pptx file type Associations?
i can not open powerpoint file with double click , how can i fix ppt and pptx file type Associations
Microsoft Office


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 03:20.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App