Earlier we saw how to clear the last browsing session history in Internet Explorer using CCleaner. There is a new GPO added which lets you disable the Reopen Last Browsing Session option. If you enable this policy setting, users will not be able to use the Reopen Last Browsing Session option from the Tools menu. This works in Internet Explorer 8 and higher.
Method 1: Using the Registry Editor
1. Launch Regedit.exe and go to the following branch:
Note: The Recovery key does not exist by default. You need to create one manually.
2. Create a new DWORD value named NoReopenLastSession
3. Double-click NoReopenLastSession and set its value data to 1
4. Exit the Registry Editor.
To automate the above, download noreopenlastsession.zip. Unzip and run the file noreopenlastsession.reg.
Method 2: Using the Group Policy Editor
1. Launch the Group Policy Editor (gpedit.msc) and go to:
User Configuration | Administrative Templates | Windows Components | Internet Explorer
2. Set Turn off Reopen Last Browsing Session to Enabled.
3. Exit the Group Policy Editor.
Editor’s Note: Note that enabling this Policy only disables the Reopen Last Browsing Session option in the Tools menu in Internet Explorer. However, Internet Explorer still saves the last browsing session history (in two .dat files) regardless of this Policy setting.