Question pour admin NT - Windows & Software
Marsh Posté le 31-12-2001 à 13:00:29
Very Easy,
Il suffit de créer une policy utilisateur.
Utilise l'adm suivant dans Poledit :
;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
CLASS USER ;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
CATEGORY !!TemporaryFiles
KEYNAME "Software\Microsoft\Windows\CurrentVersion\Internet Settings\Cache"
POLICY !!TemporaryMode
PART !!DisableTemp CHECKBOX
VALUENAME Persistent
VALUEON NUMERIC 0
VALUEOFF NUMERIC 1
END PART
END POLICY
END CATEGORY
CATEGORY !!CustomCache1
KEYNAME "Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders"
POLICY !!CustomCache2
PART !!CustomCache3 EDITTEXT
VALUENAME "Cache"
DEFAULT "C:\IECache"
END PART
END POLICY
END CATEGORY
CATEGORY !!CustomCache1
KEYNAME "Software\Microsoft\Windows\CurrentVersion\Internet Settings\Cache"
POLICY !!CustomCache2
PART !!CustomCache3 EDITTEXT
VALUENAME "Directory"
DEFAULT "C:\IECache"
END PART
END POLICY
END CATEGORY
CATEGORY !!CustomCache1
KEYNAME "Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders"
POLICY !!CustomCache2
PART !!CustomCache3 EDITTEXT
VALUENAME "Cache"
DEFAULT "C:\IECache"
END PART
END POLICY
END CATEGORY
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
CLASS MACHINE ;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
CATEGORY !!CustomCache4
KEYNAME "Software\Microsoft\Windows\CurrentVersion\Internet Settings\Cache\Paths"
POLICY !!CustomCache2
PART !!CustomCache3 EDITTEXT
VALUENAME "Directory"
DEFAULT "C:\IECache"
END PART
END POLICY
END CATEGORY
CATEGORY !!CustomCache4
KEYNAME "Software\Microsoft\Windows\CurrentVersion\Internet Settings\Cache\Paths\Path1"
POLICY !!CustomCache2
PART !!CustomCache5 EDITTEXT
VALUENAME "CachePath"
DEFAULT "C:\IECache"
END PART
END POLICY
END CATEGORY
CATEGORY !!CustomCache4
KEYNAME "Software\Microsoft\Windows\CurrentVersion\Internet Settings\Cache\Paths\Path2"
POLICY !!CustomCache2
PART !!CustomCache6 EDITTEXT
VALUENAME "CachePath"
DEFAULT "C:\IECache"
END PART
END POLICY
END CATEGORY
CATEGORY !!CustomCache4
KEYNAME "Software\Microsoft\Windows\CurrentVersion\Internet Settings\Cache\Paths\Path3"
POLICY !!CustomCache2
PART !!CustomCache7 EDITTEXT
VALUENAME "CachePath"
DEFAULT "C:\IECache"
END PART
END POLICY
END CATEGORY
CATEGORY !!CustomCache4
KEYNAME "Software\Microsoft\Windows\CurrentVersion\Internet Settings\Cache\Paths\Path4"
POLICY !!CustomCache2
PART !!CustomCache8 EDITTEXT
VALUENAME "CachePath"
DEFAULT "C:\IECache"
END PART
END POLICY
END CATEGORY
[strings]
TemporaryFiles="Persistant or Remove temp files when closing IE"
TemporaryMode="Select Cache Persistent Policy"
DisableTemp="Remove temp files if checked"
IECache="IE Temporary Internet Files"
CustomCache1="Internet Explorer 6.0 Cache Directory"
CustomCache2="Customize IE6 Cache Directory"
CustomCache3="Enter Path for the new IE6 Cache Directory"
CustomCache4="Internet Explorer Cache Base Directory"
CustomCache5="Internet Explorer Cache Directory 1"
CustomCache6="Internet Explorer Cache Directory 2"
CustomCache7="Internet Explorer Cache Directory 3"
CustomCache8="Internet Explorer Cache Directory 4"
IEAK_Title=Directory of TempInet Cache
IEAK_DescriptionTitle=Specify the Location of the Temporary Ineternet Cache & Cache strategy
IEAK_Description1=Administrators can specify the location of the where Internet Explorer will store the Temporary Internet Files. Keep in mind that if this is being done via Autoconfig, a reboot would be required, as a reboot is necessary when done via the UI.
IEAK_Description2=NOTE: Due to the way IE stores Cache, you must specify the same directory in all of the fields below.
[IEAK]
Lock=1
Roles=001
NumOfDescLines=2
Platform=010
WW
Marsh Posté le 31-12-2001 à 12:24:56
Salut
quelqu'un aurait-il un moyen d'automatiser la suppression des fichiers internet temporaires sur le repertoire "profiles" d'un serveur NT4 ?
Il me faut, soit un batch soit un outil qui le fasse en auto avec une gestion des variables puisque tous les noms sont différents evidemment...
C'est une question sérieuse alors merci aux gens qui ne savent pas de s'abstenir de polluer avec des solutions bidons...
merci d'avance