Multiple Reg Entries Into One


  1. Posts : 23
    Windows 7 Home Premium (64-bit)
       #1

    Multiple Reg Entries Into One


    As the title depicts, I am attempting to create a single reg file for multiple entries. Like an "All In One" if you will. As a trial run, the reg file will only modify my systems extention icons. Upon merging the reg I recieve an error dialog stating something to the extent of "Not all data was writen to the registry. Some keys are open by the system or other processes." Now I am not an expert but I am no idiot either. Folowing is my All In One .reg file.

    Windows Registry Editor Version 5.00
    [HKEY_CLASSES_ROOT\txtfile\DefaultIcon]
    @=hex(2):43,00,3a,00,5c,00,55,00,73,00,65,00,72,00,73,00,5c,00,42,00,72,00,61,\
    00,6e,00,64,00,6f,00,6e,00,5c,00,49,00,63,00,6f,00,27,00,73,00,5c,00,30,00,\
    38,00,20,00,5b,00,31,00,5d,00,2e,00,69,00,63,00,6f,00,00,00
    [HKEY_CLASSES_ROOT\regfile\DefaultIcon]
    @=hex(2):43,00,3a,00,5c,00,55,00,73,00,65,00,72,00,73,00,5c,00,42,00,72,00,61,\
    00,6e,00,64,00,6f,00,6e,00,5c,00,49,00,63,00,6f,00,27,00,73,00,5c,00,31,00,\
    36,00,20,00,5b,00,31,00,5d,00,2e,00,69,00,63,00,6f,00,00,00
    [HKEY_CLASSES_ROOT\chm.file\DefaultIcon]
    @=hex(2):43,00,3a,00,5c,00,55,00,73,00,65,00,72,00,73,00,5c,00,42,00,72,00,61,\
    00,6e,00,64,00,6f,00,6e,00,5c,00,49,00,63,00,6f,00,27,00,73,00,5c,00,39,00,\
    33,00,2e,00,69,00,63,00,6f,00,00,00
    [HKEY_CLASSES_ROOT\dllfile\DefaultIcon]
    @="C:\\Users\\Brandon\\Ico's\\78.ico"
    [HKEY_CLASSES_ROOT\htmlfile\DefaultIcon]
    @="C:\\Users\\Brandon\\Ico's\\43.ico"
    [HKEY_CLASSES_ROOT\IE.AssocFile.MHT\DefaultIcon]
    @="C:\\Program Files\\Internet Explorer\\iexplore.exe,-32554"
    [HKEY_CLASSES_ROOT\http\DefaultIcon]
    @="C:\\Users\\Brandon\\Ico's\\43.ico"
    [HKEY_CLASSES_ROOT\IE.HTTP\DefaultIcon]
    @="C:\\Users\\Brandon\\Ico's\\43.ico"
    [HKEY_CLASSES_ROOT\https\DefaultIcon]
    @="C:\\Users\\Brandon\\Ico's\\43.ico"
    [HKEY_CLASSES_ROOT\InternetShortcut\DefaultIcon]
    @="C:\\Users\\Brandon\\Ico's\\79.ico"
    [HKEY_CLASSES_ROOT\jpegfile\DefaultIcon]
    @=hex(2):43,00,3a,00,5c,00,55,00,73,00,65,00,72,00,73,00,5c,00,42,00,72,00,61,\
    00,6e,00,64,00,6f,00,6e,00,5c,00,49,00,63,00,6f,00,27,00,73,00,5c,00,30,00,\
    38,00,20,00,5b,00,31,00,5d,00,2e,00,69,00,63,00,6f,00,00,00
    @="C:\\Users\\Brandon\\Ico's\\82 [1].ico"
    [HKEY_CLASSES_ROOT\lnkfile\DefautIcon]
    @="C:\\Users\\Brandon\\Ico's\\43.ico"
    [HKEY_CLASSES_ROOT\mhtmlfile\DefaultIcon]
    @=" C:\\Users\\Brandon\\Ico's\\43.ico"
    [HKEY_CLASSES_ROOT\VLC.mkv\DefaultIcon]
    @="C:\\Users\\Brandon\\Ico's\\72.ico"
    [HKEY_CLASSES_ROOT\pngfile\DefaultIcon]
    @=hex(2):43,00,3a,00,5c,00,55,00,73,00,65,00,72,00,73,00,5c,00,42,00,72,00,61,\
    00,6e,00,64,00,6f,00,6e,00,5c,00,49,00,63,00,6f,00,27,00,73,00,5c,00,38,00,\
    33,00,2e,00,69,00,63,00,6f,00,00,00
    [HKEY_CLASSES_ROOT\WinRAR\DefaultIcon]
    @="C:\\Users\\Brandon\\Ico's\\40 [1].ico"
    [HKEY_CLASSES_ROOT\WinRAR.REV\DefaultIcon]
    @="C:\\Users\\Brandon\\Ico's\\40 [1].ico"
    [HKEY_CLASSES_ROOT\GIMP-2.8-xcf\DefaultIcon]
    @="C:\\Users\\Brandon\\Ico's\\55 [1].ico"

    - I am sure I am overlooking some small detail, If you can spot it....Any help would be greatly appreciated. Thank You in advance =)
      My Computer


  2. Posts : 10,796
    Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
       #2

    Split in in a few parts. For example delete

    [HKEY_CLASSES_ROOT\txtfile\DefaultIcon]
    @=hex(2):43,00,3a,00,5c,00,55,00,73,00,65,00,72,00,73,00,5c,00,42,00,72,00,61,\
    00,6e,00,64,00,6f,00,6e,00,5c,00,49,00,63,00,6f,00,27,00,73,00,5c,00,30,00,\
    38,00,20,00,5b,00,31,00,5d,00,2e,00,69,00,63,00,6f,00,00,00
    [HKEY_CLASSES_ROOT\regfile\DefaultIcon]
    @=hex(2):43,00,3a,00,5c,00,55,00,73,00,65,00,72,00,73,00,5c,00,42,00,72,00,61,\
    00,6e,00,64,00,6f,00,6e,00,5c,00,49,00,63,00,6f,00,27,00,73,00,5c,00,31,00,\
    36,00,20,00,5b,00,31,00,5d,00,2e,00,69,00,63,00,6f,00,00,00
    [HKEY_CLASSES_ROOT\chm.file\DefaultIcon]
    @=hex(2):43,00,3a,00,5c,00,55,00,73,00,65,00,72,00,73,00,5c,00,42,00,72,00,61,\
    00,6e,00,64,00,6f,00,6e,00,5c,00,49,00,63,00,6f,00,27,00,73,00,5c,00,39,00,\
    33,00,2e,00,69,00,63,00,6f,00,00,00

    And try again. So you can find what it skipped!
      My Computer


  3. Posts : 10,796
    Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
       #3

    Windows Registry Editor Version 5.00

    [HKEY_CLASSES_ROOT\dllfile\DefaultIcon]
    @="C:\\Users\\Brandon\\Ico's\\78.ico"

    ----------------
    Try to import that. Works?
      My Computer


  4. Posts : 23
    Windows 7 Home Premium (64-bit)
    Thread Starter
       #4

    So your suggesting I follow the process of elimination? I am currently AFK, I will try your sugestion shortly and get back to you. *fingers crossed*
      My Computer


  5. Posts : 10,796
    Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
       #5

    Poopcow23 said:
    So your suggesting I follow the process of elimination? I am currently AFK, I will try your sugestion shortly and get back to you. *fingers crossed*
    yes try one at a time. If first 3 fail... it's a generic error.
    Can you modify manually edit HKEY_CLASSES_ROOT\http\DefaultIcon using regedit? just add a Q for example. Save it. then remove Q.

    Post post results
      My Computer


  6. Posts : 23
    Windows 7 Home Premium (64-bit)
    Thread Starter
       #6

    Success! Deleting the first 3 entries allowed me to merge the file sucessfully. Kaktussoft I want to thank you for your help and appreciate your time and effort. What do you mean by a "Generic Error"? To clearify your most recent post, you suggested I modify the HTTP key manually [Including an extra character], export & then open with notepad & remove the character & save. If I understand you correctly, why would this make a difference? Again, thank you so much for your time & help.

    -Brandon
      My Computer


  7. Posts : 10,796
    Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
       #7

    Poopcow23 said:
    Success! Deleting the first 3 entries allowed me to merge the file sucessfully. Kaktussoft I want to thank you for your help and appreciate your time and effort. What do you mean by a "Generic Error"? To clearify your most recent post, you suggested I modify the HTTP key manually [Including an extra character], export & then open with notepad & remove the character & save. If I understand you correctly, why would this make a difference? Again, thank you so much for your time & help.

    -Brandon
    English is not my native language so maybe I wrote it the wrong way. I meant General error... sort of permission error on registry CLASSES_ROOT.. resulting in failing all writes.


    I wanted you to edit some key manually and put it back to value it was. Just to check if it was writeable.
      My Computer


  8. Posts : 10,796
    Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
       #8

    Poopcow23 said:
    Success! Deleting the first 3 entries allowed me to merge the file sucessfully. Kaktussoft I want to thank you for your help and appreciate your time and effort. What do you mean by a "Generic Error"? To clearify your most recent post, you suggested I modify the HTTP key manually [Including an extra character], export & then open with notepad & remove the character & save. If I understand you correctly, why would this make a difference? Again, thank you so much for your time & help.

    -Brandon
    so deleting this fixed it?
    Windows Registry Editor Version 5.00
    [HKEY_CLASSES_ROOT\txtfile\DefaultIcon]
    @=hex(2):43,00,3a,00,5c,00,55,00,73,00,65,00,72,00,73,00,5c,00,42,00,72,00,61,\
    00,6e,00,64,00,6f,00,6e,00,5c,00,49,00,63,00,6f,00,27,00,73,00,5c,00,30,00,\
    38,00,20,00,5b,00,31,00,5d,00,2e,00,69,00,63,00,6f,00,00,00
    [HKEY_CLASSES_ROOT\regfile\DefaultIcon]
    @=hex(2):43,00,3a,00,5c,00,55,00,73,00,65,00,72,00,73,00,5c,00,42,00,72,00,61,\
    00,6e,00,64,00,6f,00,6e,00,5c,00,49,00,63,00,6f,00,27,00,73,00,5c,00,31,00,\
    36,00,20,00,5b,00,31,00,5d,00,2e,00,69,00,63,00,6f,00,00,00
    [HKEY_CLASSES_ROOT\chm.file\DefaultIcon]
    @=hex(2):43,00,3a,00,5c,00,55,00,73,00,65,00,72,00,73,00,5c,00,42,00,72,00,61,\
    00,6e,00,64,00,6f,00,6e,00,5c,00,49,00,63,00,6f,00,27,00,73,00,5c,00,39,00,\
    33,00,2e,00,69,00,63,00,6f,00,00,00
    -----------------------
    What if import the first one only? Second one only? third one only?
      My Computer


  9. Posts : 23
    Windows 7 Home Premium (64-bit)
    Thread Starter
       #9

    Hmm, when I merge each of them individually it was a success. I wonder why it wouldnt work when they were combined. When I write each line in notepad, there should be a blank line between each entry right?
      My Computer


  10. Posts : 10,796
    Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
       #10

    Poopcow23 said:
    Hmm, when I merge each of them individually it was a success. I wonder why it wouldnt work when they were combined. When I write each line in notepad, there should be a blank line between each entry right?
    Please post not working reg file (as attachment)
      My Computer


 

  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 18:57.
Find Us