How to Extend IE mode more than 30 days

Anonymous
2022-03-03T10:10:12+00:00

After adding URL's in IE mode pages it has a expire days of 30. I would like to know how to extend more than 30 days as per InternetExplorerIntegrationLocalSiteListExpirationDays policy.

Please help.

Microsoft Edge | Other | Windows 10

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

167 answers

Sort by: Newest
  1. Anonymous
    2022-06-23T20:01:24+00:00

    Thanks!

    Was this answer helpful?

    0 comments No comments
  2. Les Ferch 10,361 Reputation points Volunteer Moderator
    2022-06-23T13:29:25+00:00

    Here's a script that will set the expiry for all Edge IE Mode pages to 2099.

    I'm curious: many of the responders in this thread are clearly network admins for many users. Why are they not using an Enterprise site list, which has no expiry date? Setting it up is a bit complex, but it is quite possible with the tools provided and it allows for central management of the list. It can also be used in parallel with a local list where appropriate. So why is this script necessary for these users?

    Enterprise Mode and the Enterprise Mode Site List (Internet Explorer 11 for IT Pros) - Internet Explorer | Microsoft Docs

    Good point.

    If their machines are in Active Directory, then they really should use an Enterprise site list with the corresponding GPO to enable it per user. I get the sense that most of the respondents are managing machines that are not in AD, but I could be wrong. The script is intended to help those who wish to override the 30 day limit on individual (not managed via AD) machines.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  3. Les Ferch 10,361 Reputation points Volunteer Moderator
    2022-06-23T13:17:45+00:00

    I added the URL to the IE Mode list and ran the script but it did not work. I am not sure what I am doing wrong. I am new with scripting, only have a little knowledge. I think it is because I do not know if the comments before the script are actually instructions or part of the script. I replaced my internal URL where it says it in Powershell but no luck.

    'To find and replace a URL, uncomment and edit the FindReplace line below. 'Separate find and replace strings with a comma and separate each find/replace pair with a |. 'FindReplace = "http://localServer/register/login.aspx/,**http://**myserver.com"

    I suck. I need to configure IE mode for certain incompatible sites and want to extend the duration of the IE mode setting. I know that you can do it for 90 days but that is not enough time. I would have to make updates to over 200 users machines by myself. SIGH your help is appreciated, Could you copy and paste the script and just make it bold where I have to edit and remove any comments to explain what it is doing..? That would be super helpful. Thanks for your help.

    Slow down and read more carefully. The comments do provide instructions and, if you read through this thread, you will get a better feel for how it all works. Having said that, this is what you need to do...

    Don't use the FindReplace feature. That feature is for finding and replacing previously added IE Mode pages that were added incorrectly (e.g. a typo in the URL). Use the AddSites feature instead. That's the part that looks like this:

    'To add sites, uncomment and edit the AddSites line below. Separate each page entry with a |. 'Entries must end with a slash unless the URL ends with a file such as .html, .aspx, etc.

    'AddSites = "*http://www.fiat.it/|http://www.ferrari.it/*"

    In VBScript, a line that begins with a single quote is a comment, so, if you want to add the site http://myserver.com/, then you should edit the line to look like this:

    AddSites = " http://myserver.com/ "

    Note that the URL must end with a slash if it represents a site or directory, but must not end with a slash if it is a file reference (i.e. ends with something like .html or .aspx).

    If you wish to add more than one site, then separate each entry with a vertical bar character, like this:

    AddSites = " http://myserver1.com/ | http://myserver2.com/ "

    That's it. If you did happen to add a URL with a typo, then you should use the FindReplace feature (read the comments for instructions) to make the correction, otherwise, just use AddSites.

    If you have 200 machines to take care of, working on your scripting skills is essential. Take the time to write practice scripts (PowerShell and VBScript are both worth learning) and test them using a Virtual Machine (VM), so you can easily recover from mistakes. And that goes for using my script. Test it thoroughly on a VM before attempting to make changes to production user profiles.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  4. Anonymous
    2022-06-23T13:03:28+00:00

    Here's a script that will set the expiry for all Edge IE Mode pages to 2099.

    I'm curious: many of the responders in this thread are clearly network admins for many users. Why are they not using an Enterprise site list, which has no expiry date? Setting it up is a bit complex, but it is quite possible with the tools provided and it allows for central management of the list. It can also be used in parallel with a local list where appropriate. So why is this script necessary for these users?

    Enterprise Mode and the Enterprise Mode Site List (Internet Explorer 11 for IT Pros) - Internet Explorer | Microsoft Docs

    Was this answer helpful?

    0 comments No comments
  5. Anonymous
    2022-06-23T12:33:42+00:00

    I added the URL to the IE Mode list and ran the script but it did not work. I am not sure what I am doing wrong. I am new with scripting, only have a little knowledge. I think it is because I do not know if the comments before the script are actually instructions or part of the script. I replaced my internal URL where it says it in Powershell but no luck.

    'To find and replace a URL, uncomment and edit the FindReplace line below. 'Separate find and replace strings with a comma and separate each find/replace pair with a |. 'FindReplace = "http://localServer/register/login.aspx/,**http://**myserver.com"

    I suck. I need to configure IE mode for certain incompatible sites and want to extend the duration of the IE mode setting. I know that you can do it for 90 days but that is not enough time. I would have to make updates to over 200 users machines by myself. SIGH your help is appreciated, Could you copy and paste the script and just make it bold where I have to edit and remove any comments to explain what it is doing..? That would be super helpful. Thanks for your help.

    Was this answer helpful?

    0 comments No comments