How to Disable the Windows Close Functionality in Internet Explorer

Written by emilio alvarez
  • Share
  • Tweet
  • Share
  • Pin
  • Email
How to Disable the Windows Close Functionality in Internet Explorer
Disable "Close" functionality in Internet Explorer by editing Registry or Group Policy settings. (close image by Melisback from

One common frustration among Web surfers is accidentally closing a browser window and losing all the sites currently being used. Fortunately, all Windows versions provide several methods for disabling the close functionality on Internet Explorer. One way is to use the Group Policy Editor and the other is through the Registry Editor. On both, the Close functionality on Internet Explorer can be turned off by editing the appropriate setting or key value. In additional, several software utilities are available which allow you to disable the Close functionality temporarily.

Skill level:

Things you need

  • Internet connection

Show MoreHide


  1. 1

    Launch the Group Policy Editor. Click on "Start," "Run," type "gpedit.msc" and click "OK."

  2. 2

    Expand "User Configuration" on the left pane and expand the following sub-folders: "Administrative Templates," "Windows Components" and "Internet Explorer." Click on "Browser menus." A list of settings displays in the right pane.

  3. 3

    Double-click on "File menu: Disable closing the browser and Explorer window," then click the "Enabled" radio button. Click "Apply" and "OK."

  1. 1

    Launch the Windows Registry Editor. Press the "Ctrl" and "R" keys together to open the "Run" command window. Type "regedit" in the command field and press "Enter."

    Windows Vista users, click on the "Start" orb, type "regedit" in the "Start Search" text field and press "Enter."

  2. 2

    Expand the "HKEY_CURRENT_USER" sub-tree and continue expanding "Software," "Policies," "Microsoft," "Internet Explorer" and click on the "Restrictions" sub-folder.

    Create the "Internet Explorer" and "Restrictions" folder, if necessary.

    Right-click on the "Microsoft" folder, choose "New > Key" and name the folder "Internet Explorer." Create the "Restrictions" folder by right-clicking on "Internet Explorer," choosing "New > Key" and naming it "Restrictions."

  3. 3

    Select the "Restrictions" folder, right-click in the empty space on the right pane, choose "New > DWORD Value," name it "NoBrowserClose" (without quotations) and press "Enter."

  4. 4

    Double-click on "NoBrowserClose," type the number "1" in the "Value" data field and click "OK." Close the Registry. The Close functionality on Internet Explorer is now disabled.

Don't Miss

  • All types
  • Articles
  • Slideshows
  • Videos
  • Most relevant
  • Most popular
  • Most recent

No articles available

No slideshows available

No videos available

By using the site, you consent to the use of cookies. For more information, please see our Cookie policy.