none
Use Group Policy to clean up User Operating System Protected Internet Explorer folders - OLD IEM data

    General discussion

  • How do I use group policy to clean old Internet Explorer Maintenance information from %userprofile%\appdata\local\Microsoft\internet explorer\ and locallow locations to remove old IEM settings that are interfering with a Proxy Server change.

    While looking to do this with a batch script, I was told there was a way to do this thought Group Policy.  Though I feel just deleting the folders manually gives the same performance results as never having manually deleting them, I thought I would try to get a clear answer on this.

    Saturday, September 03, 2016 8:23 PM

All replies

  • Hi
     
    Am 03.09.2016 um 22:23 schrieb Benjamz:
    > How do I use group policy to clean old Internet Explorer Maintenance
    > information from
     
    ... script it.
     
    > I was told there was a way to do this thought Group Policy.
     
    you can delete files/folders with GPP Files and GPP Folders, but at
    least the script is much more easy.
     
    You can reset IEM with the IEM itself, but since introducing IE10, the
    client side extension (dll) is no longer functional.
     
    Script it.
     
    Mark
    --
    Mark Heitbrink - MVP Group Policy - Cloud and Datacenter Management
     
    Homepage:  http://www.gruppenrichtlinien.de - deutsch
     
    Sunday, September 04, 2016 8:06 AM
  • I had asked the scripting forum how to add protected system folders to this script, which would be applied by GPO:

    taskkill /F /IM iexplore.exe

    choice /C X /T 5 /D X > nul

    set folder="%USERPROFILE%\Appdata\Local\Microsoft\Internet Explorer"

    cd /d %folder%

    for /F "delims=" %%i in ('dir /b') do (rmdir "%%i" /s/q || del "%%i" /s/q)

    And instead of helping with the script, it was suggested that group policy can do this in some other manor.

    Prior to discontinuing our use of IEM some time ago, I did use the reset function but it did not perform a complete and lasting solution.   We still have computers that will revert to the old proxy information from it and they continue to do that until the system folders in localLow\Microsoft\Internet Explorer are deleted.

    I am only looking for a quick method to get rid of these folders or the contents of them:

    DOMstore

    emiesitelist

    emieuserlist

    I checked GPP's and it seems it wants to delete the folder as well but I would much rather have this in a script as it provides an end user utility to use manually as needed.

     

    Sunday, September 04, 2016 12:26 PM
  • Hi,
     
    Am 04.09.2016 um 14:26 schrieb Benjamz:
    > [...] but I would much rather have this in a script as it provides an
    > end user utility to use manually as needed.
     
    I completly agree with it.
     
    Mark
     
    --
    Mark Heitbrink - MVP Group Policy - Cloud and Datacenter Management
     
    Homepage:  http://www.gruppenrichtlinien.de - deutsch
     
    Monday, September 05, 2016 7:45 AM