System Center Configuration Manager 2012 - Modification de la taille et l'emplacement du cache
Par Romain Tiennot le lundi 27 août 2012, 09:00 - Serveur - Lien permanent
Hummm, effet de bord Bonjour ! Durant un article, j'ai montré comment modifier ajouter/supprimer une langue à SCCM 2012 mais lorsque la mise à jours effectué sur les clients, l'emplacement et surtout la taille du cache SCCM se modifie.
On se retrouve avec un emplacement "C:\CCM" au lieu de "C:\Windows\CCMCACHE" et une taille de cache à 250mo au le 5go... Drôle de surprise n'est ce pas... De plus, sur les nouveau clients que l'on deploie, ils ne rencontrent pas le probleme.
Pour corriger ce probleme, voici un script VBS qui permet de modifier la taille et l'emplacement du cache sur les postes SCCM. Il faut créer un programme et forcer l'execution directement sur l'emplacement réseau et surtout pas le télécharger dans le cache car etant utilisé, il ne pourra pas etre modifié.
On Error Resume Next
Set oFSO = CreateObject("Scripting.FileSystemObject")
set oUIResManager = createobject("UIResource.UIResourceMgr")
Set wshShell = WScript.CreateObject( "WScript.Shell" )
set oCache=oUIResManager.GetCacheInfo()
oCache.TotalSize=10240
nValueToSet = "C:\Windows"
oCache.Location = nValueToSet
Reponse_OS = oFSO.FolderExists("C:\CCM")
if Reponse_OS = True Then
oFSO.DeleteFolder("C:\CCM" )
end if
Voici la vidéo en 1080P :
Romain
Il y a 3 commentaires
It's rather a nice and valuable part of info. Now i'm content that you just contributed this handy data about. Be sure to keep us up to par like that. We appreciate you spreading.
Not a setup is compulsory and it should be less troublesome when adding the software. There exist widgets for almost everything, from meteorology when you need to calendars, happening through simple adornments otherwise lists everything. http://www.moviesafar.com/z4root.ht... z4root
Judy http://www.paulawhite.org/wp-black-... v2 merged acts competitors would be chosen after individuals come along on-page, achievable experience time for this Olympics somebody in charge of within Eighty eight ages.find irresistible to do, understanding that exactly work. http://www.emergencewellness.com http://www.paulawhite.org/wp-black-... http://www.emergencewellness.com http://www.emergencewellness.com http://www.emergencewellness.com