<

Error after click on URL link (after Opera browser is uninstalled)

Published on
11,378 Points
5,378 Views
Last Modified:
Approved
After uninstalling Opera browser (for example ver. 10.63), your attempts to open a web page by clicking on a URL link may fail with an error message.  The error is "This operation has been canceled due to restrictions in effect on this computer. Please contact your system administrator."

Setting the default browser in Internet Explorer (IE) does not help.
Setting the default program for HTML in Windows 7 does not help.

Solution:
This solution is for Windows 7 x86.
x64 version of Windows has different paths.

Place the attached code block into a file named REPAIR.REG and run it.  Then restart your computer.
It sets IE as your default browser and repairs the registry settings that got broken by uninstalling Opera.

The problem is probably mainly with this key:
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\htmlfile\shell\open\command]

Editor's Notes:
Making changes to your registry can be dangerous.  We recommend backing up your registry before making changes.  

You must have administrative permissions to run this REG file.
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.htm]
"PerceivedType"="text"
@="htmlfile"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.html]
"PerceivedType"="text"
@="htmlfile"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.mht]
@="mhtmlfile"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.mhtml]
@="mhtmlfile"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\http]
@="URL:HyperText Transfer Protocol"
"AppUserModelID"="Microsoft.InternetExplorer.Default"
"EditFlags"=dword:00000002
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\https\shell\open\command]
@="\"C:\\Program Files\\Internet Explorer\\iexplore.exe\" -nohome"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\htmlfile\shell\open\command]
@="\"C:\\Program Files\\Internet Explorer\\iexplore.exe\" -nohome"

[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet]
@="IEXPLORE.EXE"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared\HTML]
"KnownIDs"="htmlfile"

[HKEY_CLASSES_ROOT\http\shell\open\command]
@="\"C:\\Program Files\\Internet Explorer\\iexplore.exe\" -nohome"

[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet]
@="IEXPLORE.EXE"

[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\IEXPLORE.EXE]
@="Internet Explorer"
"LocalizedString"="@C:\\Program Files\\Internet Explorer\\iexplore.exe,-702"

[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\IEXPLORE.EXE\DefaultIcon]
@="C:\\Program Files\\Internet Explorer\\iexplore.exe,-7"

[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\IEXPLORE.EXE\InstallInfo]
"IconsVisible"=dword:00000001
"ShowIconsCommand"="\"C:\\Windows\\System32\\ie4uinit.exe\" -show"
"ReinstallCommand"="\"C:\\Windows\\System32\\ie4uinit.exe\" -reinstall"
"HideIconsCommand"="\"C:\\Windows\\System32\\ie4uinit.exe\" -hide"

[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\IEXPLORE.EXE\shell]

[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\IEXPLORE.EXE\shell\naom]
"MUIVerb"="@C:\\Windows\\System32\\ieframe.dll,-39229"

[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\IEXPLORE.EXE\shell\naom\command]
@="\"C:\\Program Files\\Internet Explorer\\iexplore.exe\" -extoff"

[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\IEXPLORE.EXE\shell\open\command]
@="C:\\Program Files\\Internet Explorer\\iexplore.exe"

Open in new window

0
Author:Motaba
Ask questions about what you read
If you have a question about something within an article, you can receive help directly from the article author. Experts Exchange article authors are available to answer questions and further the discussion.
Get 7 days free