none
Automate reset of a users Internet Explorer Settings - Script? RRS feed

  • Question

  • We are in the process of rolling out IE9 on Win 7 x64 PC’s.  This is going fine, however we have noticed issues that requires a complete reset of the IE settings and user files.  What we need at this point after IE9 installs is to have an automated way to:               

    1. Under ‘Reset Internet Explorer Settings’ do this.
    2. Delete all of the users IE cached/temp files under their App Data folder.
    3.  Back in Internet Properties, do a ‘Restore Advanced Settings.’

    Looking online, there is no GPO option for this.  We cannot do this on 1500+ pcs manually.  I tried  looking online for scripts, but nothing could be found to meet our needs.  Whatever script we can find, we would probably use SCCM so the script could run with admin rights.

    Anyone experience something like the above?  What was your solution or do you have a link with solid documentation on how to resolve.

    Thursday, March 20, 2014 7:55 PM

Answers

All replies

  • Hi,

    do you have more details about

    "however we have noticed issues that requires a complete reset of the IE settings and user files"

    an update from IE8 to 9 will also probably require updates to any third-party addons that are installed on the machines.... Incompatible addons is the biggest cause of issues with IE version updates.

    Modify your IEAK or slipstream image to disable third-party browser helper objects when the update is installed.

    IE8 does not use user app data folders. Are you mapping the user folders to a shared dirve? G: ?


    Rob^_^

    Friday, March 21, 2014 3:28 AM
  • Hi,

    do you have more details about

    "however we have noticed issues that requires a complete reset of the IE settings and user files"

    an update from IE8 to 9 will also probably require updates to any third-party addons that are installed on the machines.... Incompatible addons is the biggest cause of issues with IE version updates.

    Modify your IEAK or slipstream image to disable third-party browser helper objects when the update is installed.

    IE8 does not use user app data folders. Are you mapping the user folders to a shared dirve? G: ?


    Rob^_^

    Users are not having any compatibility issues with add-ons.  Please see 1-3 as listed for what we are hoping to find.  And no on the mapped shared drives, etc.

    Friday, March 21, 2014 3:14 PM
  • Anyone?
    Friday, March 21, 2014 3:14 PM
  • Hi,

    do you have more details about

    "however we have noticed issues that requires a complete reset of the IE settings and user files"

    an update from IE8 to 9 will also probably require updates to any third-party addons that are installed on the machines.... Incompatible addons is the biggest cause of issues with IE version updates.

    Modify your IEAK or slipstream image to disable third-party browser helper objects when the update is installed.

    IE8 does not use user app data folders. Are you mapping the user folders to a shared dirve? G: ?


    Rob^_^

    Users are not having any compatibility issues with add-ons.  Please see 1-3 as listed for what we are hoping to find.  And no on the mapped shared drives, etc.

    Please give details... what issues?

    "however we have noticed issues that requires a complete reset of the IE settings and user files"

    IE8 does not use user app data folders...... IE Reset disables addons, and deletes selective user data from the application caches and resets the Security zone settings to their default...

    The only known issues that you may be experiencing is with Search Provider Addons....

    particularly if you are upgrading from 7 to 9 or higher.

    Use IEAK or GPO to enforce your Security Zone templates.

    Use GPO to restrict access to the Security tab of IE options if you don't want users to change security settings.


    Rob^_^

    Monday, March 24, 2014 5:33 AM
  • Hi,

    do you have more details about

    "however we have noticed issues that requires a complete reset of the IE settings and user files"

    an update from IE8 to 9 will also probably require updates to any third-party addons that are installed on the machines.... Incompatible addons is the biggest cause of issues with IE version updates.

    Modify your IEAK or slipstream image to disable third-party browser helper objects when the update is installed.

    IE8 does not use user app data folders. Are you mapping the user folders to a shared dirve? G: ?


    Rob^_^

    Users are not having any compatibility issues with add-ons.  Please see 1-3 as listed for what we are hoping to find.  And no on the mapped shared drives, etc.

    Please give details... what issues?

    "however we have noticed issues that requires a complete reset of the IE settings and user files"

    IE8 does not use user app data folders...... IE Reset disables addons, and deletes selective user data from the application caches and resets the Security zone settings to their default...

    The only known issues that you may be experiencing is with Search Provider Addons....

    particularly if you are upgrading from 7 to 9 or higher.

    Use IEAK or GPO to enforce your Security Zone templates.

    Use GPO to restrict access to the Security tab of IE options if you don't want users to change security settings.


    Rob^_^

    Hi Rob.  Yes its best if I give a bit more info...

    We are rolling out a new company wide app that is dog slow with IE8.  Seen a significant improvement speed wise with IE9.  We are using SCCM to rollout IE9, after this is done, it forces a reboot of the PC.  Some of our users (not all) are getting prompted to 'pop up blocker is turned on.  ‘Do you want to allow this website, etc, etc.'  Yes the URL is in trusted sites.  When the user tries to select 'add the url to allowed' nothing happens.  Still get the prompt.   IE becomes unresponsive and cannot navigate off of the page.  If we do a complete IE reset (basic reset and Advanced Settings reset), PLUS delete all of the ‘Custom Settings’ then this resolves the issue.  This is the path:  C:\Users\%user%\AppData\Local\Microsoft\Internet Explorer\Custom Settings

    So that’s what we are trying to do via script. 


    Monday, March 24, 2014 2:18 PM
  • By resetting Internet Explorer settings, you return Internet Explorer to the state it was in when it was first installed on your computer. This is useful for troubleshooting problems that might be caused by settings that were changed after installation.

    To reset ie by script, see the link below:

    http://social.technet.microsoft.com/Forums/ie/en-US/7062f9ee-b76f-4d24-9b67-13c9cad694d8/script-to-run-the-reset-internet-explorer-settings-on-windows-7?forum=ITCG

    Wednesday, March 26, 2014 9:28 AM
  • It did not select "Delete Personal Settings". Is there any way to mark it to make this script as complete automation.


    Ashish Baranwal 

    Monday, April 13, 2015 7:39 AM
  • This is the complete Script to reset:

    Set objAP = CreateObject("wscript.shell")
    objAP.Run("taskkill /im iexplore.exe"), 1, TRUE
    wscript.sleep 1000
      objAP.Run "rundll32.exe inetcpl.cpl ResetIEtoDefaults"
      wscript.sleep 1000
      objAP.AppActivate "Reset Internet Explorer Settings"
      
      objAP.SendKeys "TAB", True
       wscript.sleep 1000
       objAP.SendKeys " ", True
       wscript.sleep 1000
      objAP.SendKeys "%r", True
      wscript.sleep 2000
    If objAP.AppActivate("Reset Internet Explorer Settings") Then objAP.SendKeys "%c"
      wscript.sleep 2000
    If objAP.AppActivate("Reset Internet Explorer Settings") Then objAP.SendKeys "%c"
      wscript.sleep 2000
    If objAP.AppActivate("Reset Internet Explorer Settings") Then objAP.SendKeys "%c"


    Ashish Baranwal To know what you know and what you do not know, that is true knowledge

    Monday, April 13, 2015 8:05 AM