4

Where I work, I had a user that installed Google Chrome on his Windows 7 SP1 64-bit system under his account (domain environment, he is local administrator) accidentally when installing Google Earth.

The user did not check the "Use Chrome as default" checkbox and thus local .htm/.html files were by default opening in Chrome. Our ERP software is based on ActiveX and therefore will not work in Chrome. So I uninstalled it.

Now, whenever local .htm/.html files are opened, IE 8 launches, but instead of rendering the page, the source code of the page is displayed - as though it's not recognizing that it is an .html file but a text file.

Remote .htm/.html files open OK, i.e. when IE 8 is opened and an address is typed. It is only when a local .htm/.html is opened that IE will not recognize it as HTML.

I have since reinstalled Chrome, but did not set it as the default browser. However, the behavior persists.

Any ideas?

Jason Aller
  • 2,340
  • 6
  • 23
  • 21
LawrenceC
  • 73,030
  • 15
  • 129
  • 214
  • 1
    Is there a difference in the address when you open the files locally vs remotely? – iglvzx Dec 16 '11 at 23:17
  • 1
    What is the default program set to for .htm or .html files? This can be found in the Default Programs list. – deanpcmad Dec 16 '11 at 23:41
  • Does this happen for *every* HTML file? What happens if you make a new **.html** file from scratch that contains: `Test

    Hello

    ` ... ?
    – iglvzx Dec 17 '11 at 02:41

1 Answers1

2

In the registry, go to Computer\hkey_class_root\.htm and change the default to htmlfile (and not chrome).

slhck
  • 223,558
  • 70
  • 607
  • 592
keilum
  • 46
  • 2