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: Oldest
  1. Les Ferch 10,361 Reputation points Volunteer Moderator
    2022-06-17T16:18:56+00:00

    Do you have the solution to delete sites entered by mistake in mixed case?

    If you only have a few profiles to fix, just load them manually in Notepad and edit the URL to lowercase. If you have a lot of profiles to fix, let me know and I'll either modify the existing script to correct those entries or make you a separate fix script.

    Doing a deletion via a script will require code that works with the JSON format, so it's easier to correct the mixed case entry with a simple search and replace.

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2022-06-17T18:37:50+00:00

    Hi LesFerch,

    I think I found the solution using your own script. I set an already expired date DateAdded = "01/05/2022 and it removed all the links on a PC Test. Tomorrow I try on the production PDL Domain PC where I have 12 user profiles. I will update you.

    Thank you

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2022-06-18T00:13:13+00:00

    I was getting the same issue as Beatrice, but I thought it was because the script was adding the / at the end of my webpage address?

    When I manually add the webpage in Edge UI, I can see in the Preferences file that it doesn’t add the / , so I just removed the line of code that adds it and it worked okay.

    Is the / only for adding sites rather than pages?

    Was this answer helpful?

    0 comments No comments
  4. Les Ferch 10,361 Reputation points Volunteer Moderator
    2022-06-18T00:53:17+00:00

    I was getting the same issue as Beatrice, but I thought it was because the script was adding the / at the end of my webpage address?

    When I manually add the webpage in Edge UI, I can see in the Preferences file that it doesn’t add the / , so I just removed the line of code that adds it and it worked okay.

    Is the / only for adding sites rather than pages?

    I see. I replicated the issue using this URL: http://toastytech.com/evil/index.html.That URL will not work if it has a trailing slash. So, it gets tricky. Edge requires a trailing slash for sites (at least so the entry can be deleted). If the code to add the trailing slash is removed from the script, then you'll need to test and make sure you include the slash when it's required. I'll see if I can come up with code that will work for all cases (maybe check for certain extensions, such as .html). I have to detect if it's a folder or a file.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  5. Les Ferch 10,361 Reputation points Volunteer Moderator
    2022-06-18T00:58:53+00:00

    I noticed a strange behavior of the script. If I use the AddSite function the first address becomes non-erasable and at the end it inserts "/" e.g. http://localServer/register/login.aspx AddSite >= http://localServer/register/login.aspx/ (not working ie mode)

    Actually, two issues. The first is that the URL must be lowercase (solved) and the second is that files (.html, .aspx, etc.) must NOT have a trailing slash (to be solved).

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments