Default File Type Associations - Restore

Page 71 of 91 FirstFirst ... 61697071727381 ... LastLast

  1. Posts : 72,717
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #700

    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 Computer


  2. Posts : 29
    Windows 7 Ultimate x64
       #701

    Perhaps on those we would need to add

    Code:
    @=""
    or similar so as to get closer to true default settings?
      My Computer


  3. Posts : 72,717
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #702

    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 Computer


  4. Posts : 29
    Windows 7 Ultimate x64
       #703

    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 Computer


  5. Posts : 72,717
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #704

    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 Computer


  6. Posts : 29
    Windows 7 Ultimate x64
       #705

    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 Computer


  7. Posts : 72,717
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #706

    Updated. :)
      My Computer


  8. Posts : 29
    Windows 7 Ultimate x64
       #707

    Brink, would you add ".csv"?
      My Computer


  9. Posts : 72,717
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #708

    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 Computer


  10. Posts : 29
    Windows 7 Ultimate x64
       #709

    Okay, thanks
      My Computer


 
Page 71 of 91 FirstFirst ... 61697071727381 ... LastLast

  Related Discussions
Our Sites
Site Links
About 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 11:38.
Find Us