Tuesday, June 21, 2022

How to set Edge IE mode longer than 30 days or 90 days (Max: until 2099)

Credit to LesFerch who written this vbs. Thank you LesFerch.

 

  1. Download the IEModeExpiryFix.vbs to set the date to 2099

https://github.com/LesFerch/SampleCode/blob/main/VBS-misc/IEModeExpiryFix.vbs

 

Double click the IEModeExpiryFix.vbs

 

 

Then ALL website under Internet Explorer mode pages expires will change to xx/xx/2099

 

Before:

 

After:

 

 

If you want to add the website by using this vbs, use the "AddSites" in the vbs

 

AddSites = http://www.abc.com/|http://www.bbb.com/

 

Remark: Entries must end with a slash unless the URL ends with a file such as .html, .aspx, etc

For example: http://www.abc.com/

             http://www.abc.com.hk/index.html

                          https://www.aaa.com/aaa/

 

*You need to put ALL website in one line

** You can create multiple file to add different website to append to the list e.g. File1 have 5 URL, File 2 have 4 URL. Then 9 URL will add into the list after you run both of them.

***If you put multiple AddSites line in same file, it will add the final line website only

 

Constraints and limitation:

  1. Locale setting must be consistent with the date format. For example, if you run this script on Chinese Windows 10, it will not work. You need to make change on the Setlocale("en-us") to Setlocale("zh-hk" or any locale you are using)

For more details: Available Language Packs for Windows | Microsoft Docs

If you running the script but the locale did not correct, it will crash your Edge profile.

  1. The script did not work if your edge login Microsoft account

 

Verified:

Tested on Windows 10 21H2 domain joined, run by normal domain user account.

Tested on Windows 10 21H2 workgroup machine, run by normal local user account.

 

Reference:

https://answers.microsoft.com/en-us/microsoftedge/forum/all/how-to-extend-ie-mode-more-than-30-days/d90a3656-682f-46ca-843b-9b53cb59f4c7?page=1

 

Print Friendly and PDF
Share/Bookmark

No comments:

Post a Comment