Jump to content


Recommended Posts

I need to make the SMSCACHESIZE larger due to large software installations such as adobe creative suite. I have tried adding the option smscachesize=10240 to make it 10gb but when i check the cache size after deployment it is still 5120.

 

i have tried editing the program and putting the switch at the end of the ccmsetup.exe and also in the installation options in the Task Sequence

 

but both do not work

 

any help would be great.

 

Thanks

 

Phil

Share this post


Link to post
Share on other sites

Sorry to jump on this thread, but how exactly do I set the sms chache size within a task sequence?

 

The task Sequence is deployed to new machines and installs windows then the client, followed by some applications however the cache is not large enough to install all of the applications.

 

I have set SMSCACHESIZE=10240 within the task sequence editor, under the "Setup windows and configuration manager" task. I placed this setting within the properites bo of the client package. However it doesnt seem to work and the chache is still the default size.

Share this post


Link to post
Share on other sites

You could manually do it by opening up the ConfigMgr Client from the CTRL Panel on the machines...Cache tab and edit it's size there.....or as Peter said the Right click tools gives extra functionality...one been able to resize the cache remotely (once the target machines are active and switched on)

 

 

Rocket Man

Share this post


Link to post
Share on other sites

But i want to install applications at windows 7 deploy at the same time, and to do this i need to set the cache before the applications are installed.

 

I need a way of automaticaly setting the cache size within the task sequence as windows 7 is deployed. otherwise my task sequence fails due to space requirements. If you understand.

Share this post


Link to post
Share on other sites

What applications are failing?

 

Im not sure what you mean now.....I install all my packages at OSD time with a default TS configuration....Office2010, Adobe*3, Ie9, java, updates..VS2010, CS6 and more without having to change any size of cache!! (5120 default).

 

 

 

But then I am running directly from DP(using BITS) and not downloading.

 

Rocket Man

Share this post


Link to post
Share on other sites

 

But then I am running directly from DP(using BITS) and not downloading.

 

Rocket Man

 

How do I set it to run directly from DP without downloading ?

 

Is this practical in the long term (say 30 machines at once) will it cause heavy network traffic?

 

Thanks.

Share this post


Link to post
Share on other sites

For starters you must be running a default TS and choosing to download all content first (This is much heavier and taxing on your network..never mind the fact it takes 3 times longer for OSD to be accomplished).

 

Have you distributed your software and configured it to copy to a content share on DP?

At TS deploy time at the DP settings part there should be a drop down box which allows you to access content directly from DP!!

 

BITS will be used when choosing this which is Background Intelligent transfer System which is less taxing on the network when it comes to OSD or software deployment!

 

 

 

One more thing you have not by any chance specified to persist client cache when you created your software packages(not a good idea if you did for packages so large...this should only be done if the software has to run multiple times like antivirus or power management software to shut machines down etc.)..

 

Rocket Man

Share this post


Link to post
Share on other sites

OK let me start again,

 

I have a task sequence that images a new machine with windows 7 x86.

 

anevdg.jpg

 

This is the software that is set to install after the OS and after the Client, these all work tested through software center ( Adobe CS3 only works when increasing the cache size beyond default even though the folder is only 1.8GB).

 

1yr6nq.jpg

 

 

Ok so now here is the settings i have for the client install stage:

 

mc9nvn.jpg

 

 

However this highlighted property does not seem to work. Any ideas? If it did work then there would be no problem.

 

There must be a simple way to set the cache size at install during the task sequence? or at least before the application install phase.

Share this post


Link to post
Share on other sites

You can do that also with a simple powershell line.

 

powershell -executionpolicy bypass -command $sms=gwmi -namespace root\ccm\softmgmtagent -class cacheconfig;$sms.size = "10000";$sms.put()

 

This needs a restart of the ccmexec service though. So reboot the Client just after Setting the Cache size.

Share this post


Link to post
Share on other sites

I love powershell! PS > Everyone needs to learn to use it. I'm using Powershell on a near daily basis now.

 

I have not looked into seeing what powershell cmdlets are available for config manager yet however I can say that my (non-powershell) method does not require a reboot of any kind. This is useful if you are about to deploy a large app. You can deploy the cache size change as a pre-req of the large app deployment.

Share this post


Link to post
Share on other sites

by default a task sequence does not use the ccmcache folder to deploy applications - it saves the locally to an auto created folder on the root of C:\ called SMS_tasksequence (or something like that). CCM cache only comes into play with individual applications and "most" are going to be under 5GB until you get into applications like autocad or some of the Microsoft developer tools. Be sure to check the smsts.log file which will give you why something is erroring out.

  • Like 1

Share this post


Link to post
Share on other sites

Sorry to resurrect this thread, but I have the exact same issue and I'm still unable to change cache size from within a task sequence.

 

I know I can do it as a package, an app, etc, etc, but I want to do it as part of a task sequence. I even read a MS Blog that says that it's supposed to work using SMSCACHESIZE=10240 in Setup Windows and ConfigMgr section, but it just doesn't work.

 

Has anyone been able to get this to work from a task sequence?

 

Thanks!!

 

 

OK let me start again,

I have a task sequence that images a new machine with windows 7 x86.

anevdg.jpg

This is the software that is set to install after the OS and after the Client, these all work tested through software center ( Adobe CS3 only works when increasing the cache size beyond default even though the folder is only 1.8GB).

1yr6nq.jpg


Ok so now here is the settings i have for the client install stage:

mc9nvn.jpg


However this highlighted property does not seem to work. Any ideas? If it did work then there would be no problem.

There must be a simple way to set the cache size at install during the task sequence? or at least before the application install phase.

Share this post


Link to post
Share on other sites

I'm currently having the same issue but with a VBS script I found online that will increase the cache size. However, up until a week ago I'm receiving an Access Denied error message within the smsts.log of the client PC being imaged. From what I'm gathering, it has to do with the directory that mark6960 indicated. Mark, why would I receive an Access Denied error to that directory since I am able to deploy apps and images using my network access account? What kind of permissions does the account require to run any vbs or application in the directory located in C:\sms_tasksequence?

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...


×
×
  • Create New...