Announcement

Collapse
No announcement yet.

Delete temporary internet files from script or gpo

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Delete temporary internet files from script or gpo

    Hello all,
    This is my first post here.

    I have a 2003 ts and would like the temp internet files to be deleted upon logoff for every user. I dont want the directory to be deleted if possible, just the files in it.

    Im not sure whether to go with gpo or a logoff script. Im thinking gpo only because I need to tighten down the server anyway by restricting access to certain icons on the desktop.

    Does anyone have a script that works? Ive seen some scripts out there and tried a couple but theyre all buggy.

    Just looking for a simple script to delete the temp interent files in IE8 for all the users profiles.

    Any recommendations on this?
    Thanks!

  • #2
    Re: Delete temporary internet files from script or gpo

    Please use GPO:

    inetres.admx Empty Temporary Internet Files folder when browser is closed Machine Windows Components\Internet Explorer\Internet Control Panel\Advanced Page
    inetres.admx Empty Temporary Internet Files folder when browser is closed User Windows Components\Internet Explorer\Internet Control Panel\Advanced Page

    Reference:
    http://www.microsoft.com/downloads/d...displaylang=en
    Best Regards,

    Yuval Sinay

    LinkedIn: https://www.linkedin.com/in/yuval14, Blog: http://blogs.microsoft.co.il/blogs/yuval14

    Comment


    • #3
      Re: Delete temporary internet files from script or gpo

      Thanks, I'll use that.
      One question, Are adm templates downloaded from the dc to the each client machine to make changes in the registry? Ive read up on it but am still a little confused.
      Thanks.

      Comment


      • #4
        Re: Delete temporary internet files from script or gpo

        Attached ADM file for IE8 GPO. You can setup it on the TS OU and enable loopback processing GPO.
        Attached Files
        Best Regards,

        Yuval Sinay

        LinkedIn: https://www.linkedin.com/in/yuval14, Blog: http://blogs.microsoft.co.il/blogs/yuval14

        Comment


        • #5
          Re: Delete temporary internet files from script or gpo

          Thanks, I'll use that. Are adm templates downloaded from the dc to the each client machine to make changes in the registry?
          Thanks again!!!

          Comment


          • #6
            Re: Delete temporary internet files from script or gpo

            1. Create a new GPO.
            2. Add the new ADM to the GPO.
            3. Link the GPO to a new OU.
            4. Move the Ts to the new OU.
            5. Setup Loopback on the new GPO (Not the local GPO):

            http://support.microsoft.com/kb/231287

            6. Use GPO Security Filter to deny apply the GPO to the Domain Admin Group.
            Best Regards,

            Yuval Sinay

            LinkedIn: https://www.linkedin.com/in/yuval14, Blog: http://blogs.microsoft.co.il/blogs/yuval14

            Comment


            • #7
              Re: Delete temporary internet files from script or gpo

              Thank you, I'm getting ready to implement this very soon.
              None of our users are using roaming profiles so would I need to use the GPO setting for 'Terminal Server Roaming Profile Path'? I figure not but I want to make sure.

              Also, in my earlier posts when I asked if 'Are adm templates downloaded from the dc to the each client machine to make changes in the registry'? What I intended to mean was when a user logs on and the DC authenticates them, is the adm template downloaded to every users machine thatthe GPO applies to?

              Thanks!

              Comment


              • #8
                Re: Delete temporary internet files from script or gpo

                Please read this guide:

                http://www.microsoft.com/windowsserv...w/gpintro.mspx

                20 minutes of reading that will save you a lot of headache.
                Best Regards,

                Yuval Sinay

                LinkedIn: https://www.linkedin.com/in/yuval14, Blog: http://blogs.microsoft.co.il/blogs/yuval14

                Comment

                Working...
                X