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

AID: 4106
  • Status: Published

2150 points

  • ByMotaba
  • TypeTips/Tricks
  • Posted on2010-11-10 at 12:23:15
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"

                                    
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:

Select allOpen in new window

Asked On
2010-11-10 at 12:23:15ID4106
Tags

URL link Opera IE

Topic

Internet Explorer Web Browser

Views
1614

Comments

Author Comment

by: Motaba on 2010-11-25 at 07:23:39ID: 21581

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"

                                        
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:

Select allOpen in new window

Author Comment

by: Motaba on 2011-01-18 at 01:44:41ID: 22935

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

Add your Comment

Please Sign up or Log in to comment on this article.

Join Experts Exchange Today

Gain Access to all our Tech Resources

Get personalized answers

Ask unlimited questions

Access Proven Solutions

Search 3.2 million solutions

Read In-Depth How-To Guides

1000+ articles, demos, & tips

Watch Step by Step Tutorials

Learn direct from top tech pros

And Much More!

Your complete tech resource

See Plans and Pricing

30-day free trial. Register in 60 seconds.

Loading Advertisement...

Top Internet Explorer Experts

  1. mplungjan

    2,800

    0 points yesterday

    Profile
    Rank: Savant
  2. vadimrapp1

    2,800

    0 points yesterday

    Profile
    Rank: Genius
  3. flubbster

    2,000

    0 points yesterday

    Profile
    Rank: Genius
  4. ged325

    2,000

    0 points yesterday

    Profile
    Rank: Genius
  5. BillDL

    2,000

    0 points yesterday

    Profile
    Rank: Genius
  6. dlmille

    2,000

    0 points yesterday

    Profile
    Rank: Genius
  7. gerhardub

    2,000

    0 points yesterday

    Profile
  8. Geisrud

    2,000

    0 points yesterday

    Profile
    Rank: Guru
  9. SSharma

    2,000

    0 points yesterday

    Profile
    Rank: Genius
  10. sjklein42

    2,000

    0 points yesterday

    Profile
    Rank: Sage
  11. tapiwab

    2,000

    0 points yesterday

    Profile
  12. cwstad2

    2,000

    0 points yesterday

    Profile
    Rank: Guru
  13. jcimarron

    1,975

    0 points yesterday

    Profile
    Rank: Genius
  14. COBOLdinosaur

    1,600

    0 points yesterday

    Profile
    Rank: Genius
  15. Scissors85

    1,500

    0 points yesterday

    Profile
    Rank: Master
  16. Bamit99

    1,150

    10 points yesterday

    Profile
    Rank: Guru
  17. Eyal

    1,000

    0 points yesterday

    Profile
    Rank: Wizard
  18. arthurmnev

    1,000

    0 points yesterday

    Profile
  19. ThaVWMan

    1,000

    0 points yesterday

    Profile
    Rank: Guru
  20. JillofallTradesMistressofNone

    1,000

    0 points yesterday

    Profile
  21. Designbyonyx

    1,000

    0 points yesterday

    Profile
    Rank: Wizard
  22. Ray_Paseur

    975

    0 points yesterday

    Profile
    Rank: Savant
  23. tzucker

    800

    10 points yesterday

    Profile
    Rank: Wizard
  24. ubound

    693

    0 points yesterday

    Profile
    Rank: Master
  25. thinkpads_user

    668

    0 points yesterday

    Profile
    Rank: Genius

Hall Of Fame