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: Multiple Reg Entries Into One

19 Jul 2012   #1
Poopcow23

Windows 7 Home Premium (64-bit)
 
 
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 System SpecsSystem Spec
.
19 Jul 2012   #2
Kaktussoft

Microsoft Community Contributor Award Recipient

Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
 
 

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 System SpecsSystem Spec
19 Jul 2012   #3
Kaktussoft

Microsoft Community Contributor Award Recipient

Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
 
 

Windows Registry Editor Version 5.00

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

----------------
Try to import that. Works?
My System SpecsSystem Spec
.

19 Jul 2012   #4
Poopcow23

Windows 7 Home Premium (64-bit)
 
 

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 System SpecsSystem Spec
19 Jul 2012   #5
Kaktussoft

Microsoft Community Contributor Award Recipient

Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
 
 

Quote   Quote: Originally Posted by Poopcow23 View Post
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 System SpecsSystem Spec
19 Jul 2012   #6
Poopcow23

Windows 7 Home Premium (64-bit)
 
 

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 System SpecsSystem Spec
19 Jul 2012   #7
Kaktussoft

Microsoft Community Contributor Award Recipient

Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
 
 

Quote   Quote: Originally Posted by Poopcow23 View Post
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 System SpecsSystem Spec
19 Jul 2012   #8
Kaktussoft

Microsoft Community Contributor Award Recipient

Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
 
 

Quote   Quote: Originally Posted by Poopcow23 View Post
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 System SpecsSystem Spec
20 Jul 2012   #9
Poopcow23

Windows 7 Home Premium (64-bit)
 
 

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 System SpecsSystem Spec
21 Jul 2012   #10
Kaktussoft

Microsoft Community Contributor Award Recipient

Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
 
 

Quote   Quote: Originally Posted by Poopcow23 View Post
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 System SpecsSystem Spec
Reply

 Multiple Reg Entries Into One




Thread Tools




Similar help and support threads
Thread Forum
Win7, Skype + multiple Firewall entries
I've just been alerted to an issue with a friends Win7 Pro installation which is showing a staggering 95 Skype entries in the "Allowed programs" section of the Windows Firewall. I checked mine (Win7 Ultimate) and it has 10. I then checked a couple of others and found 32 and 15. :confused: ...
System Security
Windows 7 Boot Manager- Multiple Entries
Hello, glad to be apart of this forum, have came here alot in the past for issues and never had to register to solve one...until now lol Ok, so recently i put together a custom build and did a fresh install of windows 7 OS Home Premium onto my SSD by creating a install disc from my old one. Had...
Performance & Maintenance
Remove multiple entries in boot device list on Hp desktop windows 7
Need assistance with this problem. When booting system sometimes I hit F9 to select boot device, when I want to boot from dvd or usb. Before you say I can list boot devices in bios I know this, the problem Is UEFI and Legacy my UEFI system is not secure boot and for whatever reason I have to F9...
General Discussion
multiple duplicate network folder entries in explorer
Shared folders get multiple listings in explorer, e.g. Fonts, Fonts~1, Fonts~2 etc. It doesn't matter how often I delete/unshare, they keep coming back. See attached screenshot. It happens with ordinary shares ans NetworkMagic ones.
Network & Sharing
netsh advfirewall add- how to prevent multiple entries by command line
Hi Im using a little script to enter "add rule" to the firewall in Win 7 f.e. netsh advfirewall firewall add rule name="Firefox Updater" dir=out program="%ProgramFiles% (x86)\Mozilla Firefox\updater.exe" enable=yes profile=any action=allow This works fine so far. But if i start the...
System Security
Is there a way to delete multiple folder file entries?
I have probably hundreds of the following files in various folders on my system: NO.NAME.Directory.Output.Page.html Is there a way I can bulk delete any/all fileson my PC with the above name ? Thanks...Tim
Performance & Maintenance


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 07:01.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App