Fatal registry modification
Moderators: Hacker, petermad, Stefan2, white
-
- Junior Member
- Posts: 13
- Joined: 2012-01-18, 10:37 UTC
Fatal registry modification
Several days ago, I wanted to replace Windows Explorer with TC, so I followed the instructions in the following thread:
http://ghisler.ch/board/viewtopic.php?t=8821
I pasted the following code into NotePad, save it, then changed the extension to .reg, and ran it using Registry Editor.
After I did this, when I double click a folder, it will neither open in TC nor in Windows Explorer...
So how can I restore my previous registry settings? Thanks a lot!
REGEDIT4
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{7007ACC7-3202-11D1-AAD2-00805FC1270E}\shell]
@=-
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{7007ACC7-3202-11D1-AAD2-00805FC1270E}\shell\open\command]
@="C:\\TOTALCMD\\TOTALCMD.EXE /O /S ::{7007ACC7-3202-11D1-AAD2-00805FC1270E}"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{BD84B380-8CA2-1069-AB1D-08000948F534}\shell]
@=-
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{BD84B380-8CA2-1069-AB1D-08000948F534}\shell\open\command]
@="C:\\TOTALCMD\\TOTALCMD.EXE /O /S ::{BD84B380-8CA2-1069-AB1D-08000948F534}"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{2227A280-3AEA-1069-A2DE-08002B30309D}\shell]
@=-
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{2227A280-3AEA-1069-A2DE-08002B30309D}\shell\open\command]
@="C:\\TOTALCMD\\TOTALCMD.EXE /O /S ::{2227A280-3AEA-1069-A2DE-08002B30309D}"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{21EC2020-3AEA-1069-A2DD-08002B30309D}\shell]
@=-
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{21EC2020-3AEA-1069-A2DD-08002B30309D}\shell\open\command]
@="C:\\TOTALCMD\\TOTALCMD.EXE /O /S ::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\\::{21EC2020-3AEA-1069-A2DD-08002B30309D}"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell]
@=-
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\open\command]
@="C:\\TOTALCMD\\TOTALCMD.EXE /O /S ::{20D04FE0-3AEA-1069-A2D8-08002B30309D}"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{208D2C60-3AEA-1069-A2D7-08002B30309D}\shell]
@=-
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{208D2C60-3AEA-1069-A2D7-08002B30309D}\shell\open\command]
@="C:\\TOTALCMD\\TOTALCMD.EXE /O /S ::{208D2C60-3AEA-1069-A2D7-08002B30309D}"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\shell\open\command]
@="C:\\TOTALCMD\\TOTALCMD.EXE /O /S ::{645FF040-5081-101B-9F08-00AA002F954E}"
[HKEY_CLASSES_ROOT\Folder\shell\open\command]
@="C:\\TOTALCMD\\TOTALCMD.exe /T /S /L=\"%1\""
"DelegateExecute"=-
http://ghisler.ch/board/viewtopic.php?t=8821
I pasted the following code into NotePad, save it, then changed the extension to .reg, and ran it using Registry Editor.
After I did this, when I double click a folder, it will neither open in TC nor in Windows Explorer...
So how can I restore my previous registry settings? Thanks a lot!
REGEDIT4
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{7007ACC7-3202-11D1-AAD2-00805FC1270E}\shell]
@=-
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{7007ACC7-3202-11D1-AAD2-00805FC1270E}\shell\open\command]
@="C:\\TOTALCMD\\TOTALCMD.EXE /O /S ::{7007ACC7-3202-11D1-AAD2-00805FC1270E}"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{BD84B380-8CA2-1069-AB1D-08000948F534}\shell]
@=-
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{BD84B380-8CA2-1069-AB1D-08000948F534}\shell\open\command]
@="C:\\TOTALCMD\\TOTALCMD.EXE /O /S ::{BD84B380-8CA2-1069-AB1D-08000948F534}"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{2227A280-3AEA-1069-A2DE-08002B30309D}\shell]
@=-
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{2227A280-3AEA-1069-A2DE-08002B30309D}\shell\open\command]
@="C:\\TOTALCMD\\TOTALCMD.EXE /O /S ::{2227A280-3AEA-1069-A2DE-08002B30309D}"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{21EC2020-3AEA-1069-A2DD-08002B30309D}\shell]
@=-
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{21EC2020-3AEA-1069-A2DD-08002B30309D}\shell\open\command]
@="C:\\TOTALCMD\\TOTALCMD.EXE /O /S ::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\\::{21EC2020-3AEA-1069-A2DD-08002B30309D}"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell]
@=-
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\open\command]
@="C:\\TOTALCMD\\TOTALCMD.EXE /O /S ::{20D04FE0-3AEA-1069-A2D8-08002B30309D}"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{208D2C60-3AEA-1069-A2D7-08002B30309D}\shell]
@=-
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{208D2C60-3AEA-1069-A2D7-08002B30309D}\shell\open\command]
@="C:\\TOTALCMD\\TOTALCMD.EXE /O /S ::{208D2C60-3AEA-1069-A2D7-08002B30309D}"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\shell\open\command]
@="C:\\TOTALCMD\\TOTALCMD.EXE /O /S ::{645FF040-5081-101B-9F08-00AA002F954E}"
[HKEY_CLASSES_ROOT\Folder\shell\open\command]
@="C:\\TOTALCMD\\TOTALCMD.exe /T /S /L=\"%1\""
"DelegateExecute"=-
It is absolutely necessary to say what operating system you are using.
http://www.ghisler.ch/board/viewtopic.php?p=239700#239700
http://tcup.eu/forum/showthread.php?tid=1348
that this package only works for Windows XP and it is disabled in Windows 7.
Do you remember that you uploaded some pictures of it on your flicker account:
http://www.flickr.com/photos/74626162@N04/6719717997/in/photostream/
In this picture one can see a Menuitem [Appearance] with a feature: "Replace Windows Explorer" On / Off.
Even the appendix wasn't posted here in this forum:
http://www.ghisler.ch/board/viewtopic.php?p=239925#239925
All you have to do is to reverse your changings and the problem is solved. The jokes are on you now.
Have you tried to use the other System-Recoveries from Win7 like "restoring points"?
Sometimes new installations like Games or grafic-drivers creates backups.
Probably you can fall back to one of these ? And remember to have a backup of your documents before you do so.
Do you have a Original Win-CD/DVD? Whenever you boot-up with a Win-Setup-Disc, and the setup-routine finds an existing version, you will be promted to repair the existing installation. You can use any DVD (from a buddy, you can even burn a iso-file) with your win-version. OEM-Version: You may find the license number on a sticker on your computer.
Even when you re-install the Win7 it will be better than to edit the registry manually again.
Edit: Typo
http://www.ghisler.ch/board/viewtopic.php?p=239700#239700
http://www.ghisler.ch/board/viewtopic.php?p=239756#239756HackerTradition wrote:I'm using TC 7.56a on Windows 7, and I want to replace Windows Explorer with TC [snip]
HackerTradition wrote:2. Oh yeah, I forgot to mention that I'm using TC UP (Ultima Prime), which does have the "Appearance menu"[snip]
No, you did not. You were using the heavy modified "Total Commander Ultima Prime" installation together with its extendend menu. You have been told here:HackerTradition wrote:Several days ago, I wanted to replace Windows Explorer with TC, so I followed the instructions in the following thread:
http://ghisler.ch/board/viewtopic.php?t=8821
I pasted the following code into NotePad, save it, then changed the extension to .reg, and ran it using Registry Editor.
http://tcup.eu/forum/showthread.php?tid=1348
that this package only works for Windows XP and it is disabled in Windows 7.
Do you remember that you uploaded some pictures of it on your flicker account:
http://www.flickr.com/photos/74626162@N04/6719717997/in/photostream/
In this picture one can see a Menuitem [Appearance] with a feature: "Replace Windows Explorer" On / Off.
Even the appendix wasn't posted here in this forum:
Code: Select all
[HKEY_CLASSES_ROOT\Folder\shell\open\command]
@="C:\\TOTALCMD\\TOTALCMD.exe /T /S /L="%1""
"DelegateExecute"=-
http://en.wikipedia.org/wiki/Windows_Registry#.REG_filespetermad wrote:Did you remember the first line:
REGEDIT4
Are you sure you used NotePad and not Wordpad?
The point is not to use "REGEDIT4" but the string above..REG files (also known as Registration entries) are text-based human-readable files for exporting and importing portions of the registry. On Windows 2000 and later NT-based operating systems, they contain the string Windows Registry Editor Version 5.00 at the beginning and are Unicode-based. On Windows 9x and NT 4.0 systems, they contain the string REGEDIT4 and are ANSI-based.
The code quoted above was changing these folders from standard to Total Commander:HackerTradition wrote:So how can I restore my previous registry settings?"
It is an good old hacker tradition to create a backup first, before you edit the win-registry.Fonts
{BD84B380-8CA2-1069-AB1D-08000948F534}
Printers
{2227A280-3AEA-1069-A2DE-08002B30309D}
Control Panel
{21EC2020-3AEA-1069-A2DD-08002B30309D}
My Computer
{20D04FE0-3AEA-1069-A2D8-08002B30309D}
Network Favorites (-connections)
{208D2C60-3AEA-1069-A2D7-08002B30309D}
Recycle Bin
{645FF040-5081-101B-9F08-00AA002F954E}
All you have to do is to reverse your changings and the problem is solved. The jokes are on you now.

Have you tried to use the other System-Recoveries from Win7 like "restoring points"?
Sometimes new installations like Games or grafic-drivers creates backups.
Probably you can fall back to one of these ? And remember to have a backup of your documents before you do so.
Do you have a Original Win-CD/DVD? Whenever you boot-up with a Win-Setup-Disc, and the setup-routine finds an existing version, you will be promted to repair the existing installation. You can use any DVD (from a buddy, you can even burn a iso-file) with your win-version. OEM-Version: You may find the license number on a sticker on your computer.
Even when you re-install the Win7 it will be better than to edit the registry manually again.
Edit: Typo
Last edited by Stance on 2012-02-05, 13:54 UTC, edited 1 time in total.
Only if the file is truely Unicode. Since the content in the first post does not contain non-ANSI characters it is unlikely that Notepad would save as Unicode by default, and then it is safer to use REGEDIT4 in stead of "Windows Registry Editor Version 5.00". REGEDIT4 is also supported by newer Windows versions.The point is not to use "REGEDIT4" but the string above.
License #524 (1994)
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Thx petermad
Windows Versions may differ, times brings changes, my AntiVir will probably react different than others, win-right-management will surly begging (global changes or per-user) and some older software will run in a "compatibility modus". That's why I have posted the Link to the Wikipedia. But the code for the Reg-file for WinXP in this forum was never in question:
http://tcup.eu/forum/showthread.php?tid=1348&pid=4579#pid4579
I guess, thats is what HackerTradition had done: Searching this BAT-File in the Tcup-Installation and executed it.
Because I don't know the content of that batch-file I don't like to do support here in the official forums.
The content of that .bat-file used to be posted in the unofficial TC UP - Forum but not here.
HackerTradition
If there is any chance, use standard methods like Registry-backups, restoring points, boot with a Windows-Setup-DVD and follow the instructions, or re-install your Windows. Safe your documents before you do so.
And do not leave your threads alone...
Windows Versions may differ, times brings changes, my AntiVir will probably react different than others, win-right-management will surly begging (global changes or per-user) and some older software will run in a "compatibility modus". That's why I have posted the Link to the Wikipedia. But the code for the Reg-file for WinXP in this forum was never in question:
http://tcup.eu/forum/showthread.php?tid=1348&pid=4579#pid4579
I assume, the unofficial Total Commander Ultima Prime - Power Pack is using a BAT-File to switch the Explorer-Replacement on and off.Pawel (Moderator)
RE: Help!: Problem when trying to replace Windows Explorer
It is disabled in Windows 7. TC UP menu should not have this entries (but still has...).
It only works for Windows XP.
Dont try to click on that bat files on Windows 7, if you find them.
-Pawel
I guess, thats is what HackerTradition had done: Searching this BAT-File in the Tcup-Installation and executed it.
Because I don't know the content of that batch-file I don't like to do support here in the official forums.
The content of that .bat-file used to be posted in the unofficial TC UP - Forum but not here.
HackerTradition
If there is any chance, use standard methods like Registry-backups, restoring points, boot with a Windows-Setup-DVD and follow the instructions, or re-install your Windows. Safe your documents before you do so.
And do not leave your threads alone...
-
- Junior Member
- Posts: 13
- Joined: 2012-01-18, 10:37 UTC
Very sorry for late reply!Stance wrote:Thx petermad
HackerTradition
If there is any chance, use standard methods like Registry-backups, restoring points, boot with a Windows-Setup-DVD and follow the instructions, or re-install your Windows. Safe your documents before you do so.
And do not leave your threads alone...
Sadly, I have neither previous registry backup nor "system restoring point" available.
I booted from Windows 7 setup DVD, but there was only an option for fixing system-startup problems, no tool for repairing the registry.
Can you please tell me a way to manully fix my registry? After all, the change of the registry is not big, and the code which was responsible for the change is known. I'm really unfamiliar with the registry... Can you help me with that? Thanks a lot!
-
- Junior Member
- Posts: 18
- Joined: 2009-05-07, 11:46 UTC
First try just resetting the folder settings:
Check in regedit after applying that
(Default)=%SystemRoot%\Explorer.exe
Code: Select all
REGEDIT4
[HKEY_CLASSES_ROOT\Folder\shell\open\command]
"DelegateExecute"="{11dbb47c-a525-400b-9e80-a54615a090c0}"
@=hex(2):25,53,79,73,74,65,6d,52,6f,6f,74,25,5c,45,78,70,6c,6f,72,65,72,2e,65,\
78,65,00
(Default)=%SystemRoot%\Explorer.exe
Last edited by paraglider on 2012-02-06, 13:21 UTC, edited 1 time in total.
-
- Junior Member
- Posts: 18
- Joined: 2009-05-07, 11:46 UTC
If that does not work then delete the open commands:
Code: Select all
REGEDIT4
[-HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{7007ACC7-3202-11D1-AAD2-00805FC1270E}\shell\open]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{BD84B380-8CA2-1069-AB1D-08000948F534}\shell\open]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{2227A280-3AEA-1069-A2DE-08002B30309D}\shell\open]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{21EC2020-3AEA-1069-A2DD-08002B30309D}\shell\open]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\open]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{208D2C60-3AEA-1069-A2D7-08002B30309D}\shell\open]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\shell\open]
-
- Junior Member
- Posts: 13
- Joined: 2012-01-18, 10:37 UTC
Works like charm!
Thank you very much paraglider! Windows Explorer revived - when i double clicked a folder, I was incredibly surprised that it opened up!paraglider wrote:First try just resetting the folder settings:
Check in regedit after applying thatCode: Select all
REGEDIT4 [HKEY_CLASSES_ROOT\Folder\shell\open\command] "DelegateExecute"="{11dbb47c-a525-400b-9e80-a54615a090c0}" @=hex(2):25,53,79,73,74,65,6d,52,6f,6f,74,25,5c,45,78,70,6c,6f,72,65,72,2e,65,\ 78,65,00
(Default)=%SystemRoot%\Explorer.exe
Thank you so much!

-
- Junior Member
- Posts: 13
- Joined: 2012-01-18, 10:37 UTC
I didn't try this since the solution in your last post worked perfectly.paraglider wrote:If that does not work then delete the open commands:
Code: Select all
REGEDIT4 [-HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{7007ACC7-3202-11D1-AAD2-00805FC1270E}\shell\open] [-HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{BD84B380-8CA2-1069-AB1D-08000948F534}\shell\open] [-HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{2227A280-3AEA-1069-A2DE-08002B30309D}\shell\open] [-HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{21EC2020-3AEA-1069-A2DD-08002B30309D}\shell\open] [-HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\open] [-HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{208D2C60-3AEA-1069-A2D7-08002B30309D}\shell\open] [-HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\shell\open]
Thank you very much, you made my day, man!
-
- Junior Member
- Posts: 13
- Joined: 2012-01-18, 10:37 UTC
Problem solved at last!HackerTradition
If there is any chance, use standard methods like Registry-backups, restoring points, boot with a Windows-Setup-DVD and follow the instructions, or re-install your Windows. Safe your documents before you do so.
And do not leave your threads alone...
Danke große ihr Helfe! (Oh sorry my german sucks...^^)