<

Go Premium for a chance to win a PS4. Enter to Win

x

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

Published on
10,976 Points
4,976 Views
Last Modified:
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
Comment
Author:Motaba
  • 2
2 Comments
 
LVL 3

Author Comment

by:Motaba
In case this problem, whejn you uninstalled Google Chrome browser from Windows 7
you need to set those registry:

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\ftp\DefaultIcon]
@="C:\\Program Files\\Internet Explorer\\iexplore.exe,0"

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

[HKEY_CLASSES_ROOT\http\DefaultIcon]
@="C:\\Program Files\\Internet Explorer\\iexplore.exe,0"

[HKEY_CLASSES_ROOT\https\DefaultIcon]
@="C:\\Program Files\\Internet Explorer\\iexplore.exe,0"

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

[HKEY_CURRENT_USER\Software\Classes\.htm]
@="htmlfile"

[HKEY_CURRENT_USER\Software\Classes\.html]
@="htmlfile"

Open in new window

0
 
LVL 3

Author Comment

by:Motaba
Better solution for error: Restrictions this operation has been cancelled due to restrictions in effect on this computer

If Internet Explorer is missing from Default Programs - Set Default Programs you can try this:
Open the Control Panel (Classic View)
Click on the Default Programs icon.
Click on the Set program access and computer defaults link.
Dot Custom and click on the drop down arrow to the right of it to expand Custom.
Scroll down to the Choose a default web browser section.
To the right of Internet Explorer, check the Enable access to this program box.

http://www.vistax64.com/tutorials/184275-internet-explorer-restore-remove-default-programs.html
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Join & Write a Comment

How to create a custom search shortcut to site-search Experts Exchange using Google in the Firefox browser. This eliminates the need to type out site:experts-exchange.com whenever you want to search the site. Launch your Bookmark Menu: Press 'Ctrl +…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…

Keep in touch with Experts Exchange

Tech news and trends delivered to your inbox every month