Announcement

Collapse
No announcement yet.

Deleting Tmp Internet Files on log off

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

  • Deleting Tmp Internet Files on log off

    Is there a way to set this via GPO??

    If so is it a 2k03 GPO as I cant find it on 2k?

  • #2
    Re: Deleting Tmp Internet Files on log off

    Not sure this is part of GPO (I can't find it in W2K3/XPSP2 admin templates too), but you can use my example of limiting the IE cache size and create your own admin template to do what you want:
    http://guy.netguru.co.il/archives/13...e-via-GPO.html

    The updated Admin template should look like this (have not tested it yet, but should work):
    Code:
    CLASS USER 
    CATEGORY !!WindowsComponents
      CATEGORY !!InternetExplorer
        CATEGORY !!IE_Cache
    	KEYNAME "Software\Microsoft\Windows\CurrentVersion\Internet Settings"
    	
            POLICY !!IE_Cache_size
    	    #if version >= 4
    		SUPPORTED !!SUPPORTED_IE5
    	    #endif
    
                EXPLAIN !!IE_ExplainCacheSize
                
                PART !!IE_CacheSizeInKB NUMERIC
                KEYNAME "Software\Microsoft\Windows\CurrentVersion\Internet Settings\5.0\Cache\Content"
                VALUENAME "CacheLimit"
                DEFAULT 102400
                MAX 1024000
                END PART
                PART !!IE_CacheSizeInKB2 NUMERIC
                KEYNAME "Software\Microsoft\Windows\CurrentVersion\Internet Settings\Cache\Content"
                VALUENAME "CacheLimit"
                DEFAULT 102400
                MAX 1024000
                END PART
            END POLICY
    
    	POLICY !!IE_Keep_Cache
    	    #if version >= 4
    		SUPPORTED !!SUPPORTED_IE5
    	    #endif
    	    EXPLAIN !!IE_KeepCache
    
    	    KEYNAME "Software\Microsoft\Windows\CurrentVersion\Internet Settings\Cache"	
    	    VALUENAME "Persistent"
    	    VALUEON 	NUMERIC   0
    	    VALUEOFF	NUMERIC   1
    	END POLICY
    
         END CATEGORY ;; IE Cache
      END CATEGORY ;; Internet Explorer
    END CATEGORY ;; WindowsComponents
    
    [strings]
    
    WindowsComponents="Windows Components"
    InternetExplorer="Internet Explorer"
    IE_Cache="Cache"
    IE_Keep_Cache="Empty Temporary Internet Files folder when browser is closed"
    IE_KeepCache="If enabled, will clear the contents of Temporary Internet Files folder when the browser is closed"
    
    IE_Cache_size="Internet Explorer's cache"
    IE_ExplainCacheSize="Maximum cache size in kilobytes for Internet Explorer"
    IE_CacheSizeInKB="Cache size in kilobytes"
    IE_CacheSizeInKB2="Cache size in kilobytes (enter the same value to make it work)"
    
    SUPPORTED_IE5="at least Internet Explorer v5.01"
    Guy Teverovsky
    "Smith & Wesson - the original point and click interface"

    Comment


    • #3
      Re: Deleting Tmp Internet Files on log off

      you could use a logoff script to delete %userprofile%\Local Settings\Temporary Internet Files
      MCSE 2000\2003, A+
      00000001-00000011-00000011-00000111

      Comment

      Working...
      X