SCCM Client Cache management

Hi All,
I wanted to know how we can manage the client cache, we are on the process of patching in our prod environment & we found that on most of our client machine C Drive is filling up fast. Wanted to know how SCCM handles this, do these updates get deleted
automatically from the client cache or i have to configure something to delete them.
Please suggest.
Thanks,
Pranay.

What is the cache size currently set to on your clients?
I think the default is around 5400mb.
You could use the below VB script to change the cache size on the devices, just change the value to the value required.
On Error Resume Next
Dim UIResManager
Dim Cache
Dim CacheSize
CacheSize=20000
Set UIResManager = createobject("UIResource.UIResourceMgr")
Set Cache=UIResManager.GetCacheInfo()
Cache.TotalSize=CacheSize
Some info here too:
http://www.david-obrien.net/2013/02/how-to-configure-the-configmgr-client/
http://blog.coretech.dk/heh/configuration-items-and-baselines-using-scripts-powershell-example/

Similar Messages

  • Internet based management of SCCM clients and management points ?

    We have an SCCM backend infrastructure which is used to manage what is in affect multiple external organizations over the internet.  Currently each SCCM client is managed by the primary server directly over the internet. 
    Am I right that we could place a configmgr management point on the internal networks and for the clients to talk to this server when connected to the company network instead of all clients getting patched across the internet connection ?  Meaning that
    just the MP would communicate with our backend infrastructure ?

    So your internal clients are now connecting over the internet to the local MP? How does this setup look like exactly? How were the clients installed (parameters)?
    Torsten Meringer | http://www.mssccmfaq.de

  • Sccm Client Cache folder size growing instead of limit set

    Hi Everyone.
    Greetings.
    We have noticed that in our sccm environment, the cache folder size (under CCM path) in clients keeps increasing but however it should not as i believe the older contents automatically to be removed while downloading new contents.
    The cache folder to download the contents as by default set to 5GB and we haven't modified anything on that. 
    Please suggest us on this as it would be much appreciated.
    Thanks in advance
    Regards,
    Thangaraj

    Hi Jason,
    Yes. However we are using software distribution as well.
    We noticed recently this large size CCM folder (19GB) in one of our server as C drive is running out of space. 
    But when i looked at the contents inside that CCMCache folder, below are the findings.
    The content size of all the advertisements are around 18GB.
    The content size of software updates are around 1GB.
    MS KB patches, Service packs are pushed through software advertisement(present inside folder named as package ID. So it cannot be considered as software updates deployment right?
    Please suggest. Thanks.
    Regards,
    Thangaraj

  • How to identify certain KB in SCCM client cache

    i guys,
    is there any key how the SCCM in Software updates creates subfolder (for each update) in updates package ? I.e. my pkg is named CX0200001 there are some subfolders like "39a7f79f-bf30-4787-9876-796fc17d7b5e", "71dda667-4914-4a65-951e-41039aec132f"
    and so on..
    How can I simply identify which KB belongs to which subfolder ? I need to identify 1 empty subfolder. Another strange issue: we have 2003 and 2008 (R2) servers - I have 2 deployments (DCs are separated into 2 groups). From each group only 2003 servers
    were patched and rebooted automatically. It's very strange and I 've spent 2 days by searching but without success.
    many thanks in advance,
    regards,
    Tomas

    the data is also able to be pulled from your content folders. If you have a source folder for your updates you can search the folder and figure out where it came from. 
    http://www.sccm-tools.com http://sms-hints-tricks.blogspot.com

  • SCCM 2012 and 2012 sp1 client cache not cleaning itself

    I work on a University campus that deploys 100's of software titles to lab computers.  Since last summer, we have been using Config Man 2012 and upgraded to 2012 SP1 in early Jan.  Recently we started noticing 160GB hard drives filling up in locations
    that get most of our software.  When looking into it, the ccmcache folder has 50GB+ of data in it even though the cache size is set to 30GB.  I looked at the folders in the cache and many of them are from last summer when the apps were first
    downloaded and installed.  NONE of these apps are set to persist.  My understanding is that they should have been cleaned up automatically after 24 hours as space was needed.  Either way, shouldn't the cache folder be at or smaller than the
    cache size setting? 
    I have talked to others that have seen similar problems with 2012 of the cache folder growing beyond the max, but they don't have the software load that we do, so they are not filling their drives.  If I manually tell Confi Man client to delete the
    cache files, I free up 50GB or more, but manual intervention isn't a great option.
    Any ideas on where to troubleshoot this issue or what settings might be messed up that allows for this?
    Thanks

    How much of this is software updates?  Like in 2007 software updates are not counted against the cache size:
    "You can configure the location and amount of disk space that Windows Configuration Manager clients use to store temporary files for when they install applications and programs. Software updates also use the client cache, but software updates
    are not restricted by the configured cache size and will always attempt to download to the cache"
    https://technet.microsoft.com/en-us/library/gg712288.aspx
    http://www.sccm-tools.com http://sms-hints-tricks.blogspot.com

  • How SCCM client determines the required space for package in cache?

    Hi,
    I have deployed many small applications within SCCM. Now it is time to deploy Lingvo - the size of installation folder is 2.5 GB - and my test deployment report says that there is not enough client cache disk space... From the SCCM Right-click tools, I've
    changed the cache size many times (and restarted  SMS host agent too) - and deployment was successful only after I set client cache size to 65 GB. Why so ridiculous? 

    The Configuration Manager 2012 client cache will maintain itself automatically. You can find more information here about how that Works:
    http://technet.microsoft.com/en-us/library/gg712288.aspx#BKMK_ClientCache
    Have you verified that your existing applications is NOT marked as persist in cache, because if they are they will not be deleted automatically. You could use various script to delete the cache on your clients:
    http://cm12sdk.net/?p=1526
    These two link might be handy as well:
    http://blogs.msdn.com/b/helaw/archive/2014/01/07/configuration-manager-cache-management.aspx and
    http://blogs.technet.com/b/meamcs/archive/2012/10/04/managing_2d00_configuration_2d00_manager_2d00_2012_2d00_client_2d00_cache.aspx

  • SCCM 2012 – Client Installation properties - client cache size

    Hi,
    I'm setting the command line options for the client push install and taking into account the default client cache size is 5120MB. But my concern is a lot our servers and some workstations don't have enough free disk space for this.
    So I was going to set the cache size to only use a certain percentage, say 10% for example:
    SMSSITECODE=xxx SMSCACHEFLAGS=PERCENTDISKSPACE;NTFSONLY SMSCACHESIZE=10 SMSMP=FQDN-MP FSP=FQDN-FSP
    So does it allocate 10% of the total hard disk size or 10% of the free disk space available?
    Thanks

    As Torsten noted, this isn't an allocation or reservation of disk space. It's a maximum size that the ConfigMgr agent will allow the cache to grow to. If the servers don't have enough free space, the ConfigMgr agent won't stop or block or cause any
    failures until it actually needs to use that space.
    However, if you honestly have servers and workstations that don't have 5GB of free disk space, you've got much, much bigger problems.
    Jason | http://blog.configmgrftw.com | @jasonsandys

  • SCCM Client PC's failing to download/install Windows Updates

    Hi,
    Last month I noticed that our client PC's, shortly after they had built (using SCCM Task Sequence)  were downloading and installing Windows Updates using the usual Windows Update process. What I mean is, I had Software Centre showing Updates as installing,
    but also had the Windows Update agent installing various updates. It was also showing in the start menu (Yellow icon saying Shut down and install updates). Now my understanding is, that that shouldn't of been happening, and only SCCM/Software Centre should
    be showing Windows Updates as installing.
    I noticed that we had some GPO's set for Windows Updates, which I have disabled, as I believed these were not necessary. Also, I like to control my Updates via SCCM Software Update groups after testing them, and not just allow clients to grab any updates
    that are required and approved.
    My problem now is, none of the clients are getting/installing any updates. I'm getting the following errors in the WUAHandler.log:
    Unable to read existing WUA resultant policy. Error = 0x80070002.
    WUAHandler
    09/04/2015 19:03:29
    8732 (0x221C)
    Group policy settings were overwritten by a higher authority (Domain Controller) to: Server  and Policy NOT CONFIGURED
    WUAHandler
    09/04/2015 19:03:29
    8732 (0x221C)
    Failed to Add Update Source for WUAgent of type (2) and id ({FC358571-80C5-4EAA-8A33-F79AD4C14785}). Error = 0x87d00692.
    WUAHandler
    09/04/2015 19:03:29
    8732 (0x221C)
    So, I've checked in:
    HKLM\Software\Policies\Microsoft\Windowa\WindowsUpdate\ & HKLM\Software\Wow6432Node\Policies\Microsoft\Windows\WindowsUpdate 
    and neither have a WSUS server set. I'm assuming this is correct?
    RSOP shows all policies in \\Computer Configuration\Administrative Templates\Windows Components\Windows Update as
    DISABLED
    GPEDIT shows \\Computer Configuration\Administrative Templates\Windows Components\Windows Update\Specify intranet Microsoft update service location as
    Enabled and as our server (https://XXX.XXX:8531) - I'm assuming this is what SCCM client sets as if I changed this setting and then restart the setting comes back. If it was a Group Policy conflict then I
    would expect to see it in RSOP.
    Does anyone have any suggestions? I'm puzzled as to what to look at next. Is my first assumption of having 0 group policies configured for WSUS correct? Am I also correct in assuming Windows Updates shouldn't show in Control panel, or at the Start > Shutdown
    prompt, and only show in Software Centre?
    Thanks, and sorry for the long winded post!

    Hey Jason,
    Thanks for replying and explaining the WUA stuff. That made sense to be but my mind was being clouded by the issue all of the PC's/Clients onsite were, and are still getting. I cleared out the Group Policy cache as detailed on the link.
    - Cleared C:\Program Data\Microsoft\Group Policy\History\*.*
    - Ran a gpupdate /force
    - Restarted PC
    Issue still remains. Here is the output from the WUAHandler.log
    CWuaHandler::SetCategoriesForStateReportingExclusion called with E0789628-CE08-4437-BE74-2495B842F43B;E0789628-CE08-4437-BE74-2495B842F43B,A38C835C-2950-4E87-86CC-6911A52C34A3; for leaves and E0789628-CE08-4437-BE74-2495B842F43B,A38C835C-2950-4E87-86CC-6911A52C34A3;
    for bundles 
    WUAHandler 13/04/2015 16:14:34 2508 (0x09CC)
    Its a WSUS Update Source type ({FC358571-80C5-4EAA-8A33-F79AD4C14785}), adding it. WUAHandler 13/04/2015 16:15:02 2488 (0x09B8)
    Unable to read existing resultant WUA policy. Error = 0x80070002. WUAHandler 13/04/2015 16:15:02 2488 (0x09B8)
    Enabling WUA Managed server policy to use server: https://(Name.domain of our SCCM SUP):8531 WUAHandler 13/04/2015 16:15:02 2488
    (0x09B8)
    Waiting for 2 mins for Group Policy to notify of WUA policy change... WUAHandler 13/04/2015 16:15:02 2488 (0x09B8)
    Unable to read existing WUA resultant policy. Error = 0x80070002. WUAHandler 13/04/2015 16:15:11 2488 (0x09B8)
    Group policy settings were overwritten by a higher authority (Domain Controller) to: Server  and Policy NOT CONFIGURED WUAHandler 13/04/2015 16:15:11 2488 (0x09B8)
    Failed to Add Update Source for WUAgent of type (2) and id ({FC358571-80C5-4EAA-8A33-F79AD4C14785}). Error = 0x87d00692. WUAHandler 13/04/2015 16:15:11 2488 (0x09B8)

  • Trying to deploy SCCM Client upgrade...

    A few days ago I upgraded our SCCM 2007 R2 Site Server with SP2.  I did this in preparation for Windows 7 support and deployment.  Anyhow, I decided to release the client upgrade via software distribution using the same package that I include with my image deployment (data source is \\server\sms_001\client )
    Yesterday, I created an advertisement to distribute the SCCM client upgrade to my entire network but today System Center Console is reporting that out of 1148, 996 have not yet started, 0 succeeded, and 149 have failed.  We're a school so most of our computers are off.  The issue is that of the computers that are on 149 have failed with 0 reporting a success....or so they say.
    I checked a few of my clients and the ccmsetup.log indicates that installation has in fact succeeded.  However, what the "status of a specific advertisement" report is telling me is that the client failed with the "last status message name" column indicating "Program Failed (unexpected restart)".  It shows the same thing for all clients that have reported a failure.
    The software package program function is configured to run the following and I'm not using any client options:  "CCMSETUP.EXE /noservice SMSSITECODE=AUTO"
    Any ideas why the client appears to have been upgraded but reporting a failure?
    Below is the execmgr.log:
    Policy arrived for parent package 00100006 program Advanced Client Silent Upgrade execmgr 12/22/2009 8:09:49 PM 3784 (0x0EC8)
    Raising event:
    [SMS_CodePage(437), SMS_LocaleID(1033)]
    instance of SoftDistProgramOfferReceivedEvent
     AdvertisementId = "00120025";
     ClientID = "GUID:4AC789F0-1D9C-49A0-BFD2-23D950A6307A";
     DateTime = "20091223010949.649000+000";
     MachineName = "ADMIN-OFF-TSEC";
     ProcessID = 1976;
     SiteCode = "001";
     ThreadID = 3784;
     execmgr 12/22/2009 8:09:49 PM 3784 (0x0EC8)
    Requesting content from CAS for package 00100006 version 4 execmgr 12/22/2009 8:09:50 PM 3144 (0x0C48)
    Successfully created a content request handle {36479D3C-24C9-4844-BED1-2AB2B0BDD0F1} for the package 00100006 version 4 execmgr 12/22/2009 8:09:50 PM 3144 (0x0C48)
    Program Advanced Client Silent Upgrade change to state STATE_ADVANCED_DOWNLOAD content in progress execmgr 12/22/2009 8:09:50 PM 3144 (0x0C48)
    Execution Request for package 00100006 program Advanced Client Silent Upgrade state change from NotExist to AdvancedDownload execmgr 12/22/2009 8:09:50 PM 3144 (0x0C48)
    Mandatory execution requested for program Advanced Client Silent Upgrade and advertisement 00120025 execmgr 12/22/2009 8:09:50 PM 1348 (0x0544)
    Creating mandatory request for advert 00120025, program Advanced Client Silent Upgrade, package 00100006 execmgr 12/22/2009 8:09:50 PM 1348 (0x0544)
    Raising event:
    [SMS_CodePage(437), SMS_LocaleID(1033)]
    instance of SoftDistWaitingContentEvent
     AdvertisementId = "00120025";
     ClientID = "GUID:4AC789F0-1D9C-49A0-BFD2-23D950A6307A";
     DateTime = "20091223010950.555000+000";
     MachineName = "ADMIN-OFF-TSEC";
     PackageName = "00100006";
     PackageVersion = "4";
     ProcessID = 1976;
     ProgramName = "Advanced Client Silent Upgrade";
     SiteCode = "001";
     ThreadID = 1348;
     execmgr 12/22/2009 8:09:50 PM 1348 (0x0544)
    Successfully raised SoftDistWaitingContentEvent event for program Advanced Client Silent Upgrade execmgr 12/22/2009 8:09:50 PM 1348 (0x0544)
    Execution Request for package 00100006 program Advanced Client Silent Upgrade state change from WaitingDependency to WaitingContent execmgr 12/22/2009 8:09:50 PM 1348 (0x0544)
    Content is available for program Advanced Client Silent Upgrade. execmgr 12/22/2009 8:10:24 PM 2680 (0x0A78)
    CExecutionRequest::Overriding Service Windows as per policy. execmgr 12/22/2009 8:10:24 PM 2680 (0x0A78)
    Execution Request for package 00100006 program Advanced Client Silent Upgrade state change from WaitingContent to NotifyExecution execmgr 12/22/2009 8:10:24 PM 2680 (0x0A78)
    Notify user mandatory program Advanced Client Silent Upgrade is about to run execmgr 12/22/2009 8:10:24 PM 2680 (0x0A78)
    Execution Manager timer has been fired. execmgr 12/22/2009 8:15:25 PM 1736 (0x06C8)
    Executing program CCMSETUP.EXE /noservice SMSSITECODE=AUTO in Admin context execmgr 12/22/2009 8:15:25 PM 3500 (0x0DAC)
    Execution Request for package 00100006 program Advanced Client Silent Upgrade state change from Running to NotifyExecution execmgr 12/22/2009 8:15:25 PM 3500 (0x0DAC)
    Checking content location C:\WINDOWS\system32\CCM\Cache\00100006.4.System for use execmgr 12/22/2009 8:15:25 PM 3500 (0x0DAC)
    Successfully selected content location C:\WINDOWS\system32\CCM\Cache\00100006.4.System execmgr 12/22/2009 8:15:25 PM 3500 (0x0DAC)
    Executing program as a script execmgr 12/22/2009 8:15:25 PM 3500 (0x0DAC)
    Successfully prepared command line "C:\WINDOWS\system32\CCM\Cache\00100006.4.System\ccmsetup.exe" /noservice SMSSITECODE=AUTO execmgr 12/22/2009 8:15:25 PM 3500 (0x0DAC)
    Command line = "C:\WINDOWS\system32\CCM\Cache\00100006.4.System\ccmsetup.exe" /noservice SMSSITECODE=AUTO, Working Directory = C:\WINDOWS\system32\CCM\Cache\00100006.4.System\ execmgr 12/22/2009 8:15:25 PM 3500 (0x0DAC)
    Created Process for the passed command line execmgr 12/22/2009 8:15:25 PM 3500 (0x0DAC)
    Raising event:
    [SMS_CodePage(437), SMS_LocaleID(1033)]
    instance of SoftDistProgramStartedEvent
     AdvertisementId = "00120025";
     ClientID = "GUID:4AC789F0-1D9C-49A0-BFD2-23D950A6307A";
     CommandLine = "\"C:\\WINDOWS\\system32\\CCM\\Cache\\00100006.4.System\\ccmsetup.exe\" /noservice SMSSITECODE=AUTO";
     DateTime = "20091223011525.457000+000";
     MachineName = "ADMIN-OFF-TSEC";
     PackageName = "00100006";
     ProcessID = 1976;
     ProgramName = "Advanced Client Silent Upgrade";
     SiteCode = "001";
     ThreadID = 3500;
     UserContext = "NT AUTHORITY\\SYSTEM";
     WorkingDirectory = "C:\\WINDOWS\\system32\\CCM\\Cache\\00100006.4.System\\";
     execmgr 12/22/2009 8:15:25 PM 3500 (0x0DAC)
    Raised Program Started Event for Ad:00120025, Package:00100006, Program: Advanced Client Silent Upgrade execmgr 12/22/2009 8:15:25 PM 3500 (0x0DAC)
    Request in running or report status found for program Advanced Client Silent Upgrade package 00100006 execmgr 12/22/2009 8:19:11 PM 1700 (0x06A4)
    Service stopped while program Advanced Client Silent Upgrade is running execmgr 12/22/2009 8:19:11 PM 1700 (0x06A4)
    OpenProcess failed for process 1396, error 80070057 execmgr 12/22/2009 8:19:11 PM 1700 (0x06A4)
    Can not continue monitoring the program after service restart because the process exited.  Assume failed execmgr 12/22/2009 8:19:11 PM 1700 (0x06A4)
    Looking for MIF file to get program status execmgr 12/22/2009 8:19:11 PM 1700 (0x06A4)
    Raising event:
    [SMS_CodePage(437), SMS_LocaleID(1033)]
    instance of SoftDistProgramUnexpectedRebootEvent
     AdvertisementId = "00120025";
     ClientID = "GUID:4AC789F0-1D9C-49A0-BFD2-23D950A6307A";
     DateTime = "20091223011911.783000+000";
     MachineName = "ADMIN-OFF-TSEC";
     PackageName = "00100006";
     ProcessID = 3636;
     ProgramName = "Advanced Client Silent Upgrade";
     SiteCode = "001";
     ThreadID = 1700;
     execmgr 12/22/2009 8:19:11 PM 1700 (0x06A4)
    Raised Program Unexpected Reboot Event for Ad:00120025, Package:00100006, Program: Advanced Client Silent Upgrade execmgr 12/22/2009 8:19:11 PM 1700 (0x06A4)

    This KB article covers the upgrade of the client via hotfixes:
    http://support.microsoft.com/kb/2477182
    An important thing to note is that the Program needs the following set:
    After Running: Program Restarts Computer; this is needed to ensure that any status MIF files are collected after a restart of the client service (ccmexec.exe).  No actual restart of the computer should occur.
    This enables the SCCM client to detect that it re-started and to process the MIF files for status messages.
    Installing the following updates one at a time normally is sucessful:
    KB2761938
    KB2516517
    KB2815223
    Other updates such as KB2276865 fail with the Unexpected Reboot Event error (possibly because the MIF is not written correctly) but it has been superseeded by KB2815223 wich is OK.

  • Sccm client v4 wont install and install client v5 - SCCM 2012 R2

    Hi, I am coming to the end of a SCCM 2012 R2 client deployment. I have come across 2 machines (so far)that have the SCCM 2007 (v4) client installed, and although the task is set to uninstall from the server the v5 client will not installed. iI have been
    using this an as template:
    http://eskonr.com/2010/11/sccm-client-installation-troubleshooting-steps-check-list/
    I have ran the install seperatelty from the server (boxed ticked - Uninstall existing Config Manager client) - No Install
    The ccmsetup folder is created - c$\Windows\ccmsetup, but only has 3 files, no logs folder
    Other machines on site has the v5 client
    Checked ping from client to server and vice versa (no firewall enabled)
    Boundaries/Schema/DNS - ok
    Checked all local event logs.
    i know you can run the local uninstall command, but as the network is vast i would like to fix to come from the server, rather than having to do this on the client.
    Any tips would be great going forward.
    SCCM 2012 R2 - Windows 7 Enterprise SP1

    Hi,
    I ensured the account used for the install was in the local admins group.
    From the ccm.log on the server, i got these erros, been googling but nothing yet:
    ---> ERROR: Unable to start service "ccmsetup" on machine "LCD12121", error = 1075.    SMS_CLIENT_CONFIG_MANAGER    22/10/2014 12:01:43    1460 (0x05B4)
    ---> Failed to install CCM Client Bootstrap component on client (1075)    SMS_CLIENT_CONFIG_MANAGER    22/10/2014 12:01:43    1460 (0x05B4)
    Execute query exec [sp_CP_SetLastErrorCode] 2097153910, 1075    SMS_CLIENT_CONFIG_MANAGER    22/10/2014 12:01:43    1460 (0x05B4)
    Also, is there a way to run a report on which machines dont have the sccm client/install issues?
    Thanks

  • SCCM Client on Site Server from Different Site within Same Domain

    Our desktop team has a site to manage desktops.
    We have a site to manage servers.
    Do you see any issue with the Server site managing the Desktop teams servers as their clients?
    In other words, desktop wants us to patch and manage their SCCM servers with our site. Placing the SCCM client on their servers pointing to our site.
    Thanks for any gotchas!

    Are you talking about different (standalone primary ConfigMgr) sites (e.g. site abc is used for managing desktops and xyz for servers)? And now you want to assign the ConfigMgr clients (on servers used in site xyz) to site abc? This does work, but I am not
    sure if it is supported.
    Torsten Meringer | http://www.mssccmfaq.de

  • Client cache size reverts to default

    (SCCM 2012 SP1 with CU5)
    I've used a powershell script to set the client cache size to 20GB, using get-wmiobject and the Put() function.  I've deployed this to a test collection of PCs using a CI with remediation, and it's both checking and remediating correctly.
    However, while the 'compliance' is reported at near 100%, when manually checking the clients, many have reset to 5120MB. This affects both Windows 7 and 8.x based clients.
    To take one client specifically, at the time of writing this the CI reports it ran and remediated at 11:45am - it is now 8pm, and the cache is back to 5120.
    Triggering the CI to evaluate again sets the cache to 20GB (verified via get-wmiobject), but I'm sure if I check again at some point tomorrow it will have reverted to 5120 again.
    I can't see any evidence in any client log that indicates what could be causing this.  I've looked into how I can see what has made the change in WMI via the Analytic/Debug logs in Event Viewer, but the tracing available needs to be run at the
    time the change is made - and I don't know exactly when that is.
    Any ideas?!
    Thanks, Bob
    Edit:  CI is set to evaluate every day at 9am.  Client push properties on primary site now include SMSCACHESIZE=20480, but this is recent change - when the existing clients were installed this was not present so they installed at 5120MB.

    Changing the value directly in WMI is unsupported. You need to use the UIResource.UIResourceMgr COM object to perform this task on the client side:
    http://msdn.microsoft.com/en-us/library/cc145211.aspx
    PowerShell examples are available at
    http://www.david-obrien.net/2013/02/07/how-to-configure-the-configmgr-client/
    Jason | http://blog.configmgrftw.com | @jasonsandys

  • Need help with a simple Rename/Join Domain/Install SCCM Client Task Sequence

    Good morning everyone,
    I need to create a very simple task sequence that will run an .exe that we have created that renames the computer based on a prefix-serialnumber...then restarts, adds it to our domain, restarts, and then installs the SCCM client.
    1) run rename program 
    2) join to domain
    3) install sccm client
    Can someone help me with the steps that will be required for this?
    Thank you very much!
    **note, these will not be formatted/have an OS installation ran on it with this task sequence.  The situation is that we are receiving 400+ custom configured laptops, and we're going to have to rename/join/install sccm on each...trying to simplify
    this
    any recommendations are greatly appreciated!

    Narcoticoo : Which boot image am i supposed to be using to insure that it boots into Standard Windows, NOT WinPE?  I have a standard x86 package / boot image i've been using.  If it boots up with this, it goes into WinPE (correct me if I'm wrong,
    for this seems to be what happens each time it boots off the boot image...it does not go into windows standard/full)
    When I go into properties of the one i'm using, and take the check off of "Use a boot image", where it will not boot to WinPE, it will not even show up in my list of available task sequences for
    1) when I PXE boot to try the task sequence, or
    2) when I try to make stand-alone media for this task sequence as you have suggested
    When I run the standalone media, the only log files I find are the following with errors:
    PackageID = 'MPS0014E' InstallSoftware
    12/8/2014 12:28:36 PM 2344 (0x0928)
    BaseVar = '', ContinueOnError='' InstallSoftware
    12/8/2014 12:28:36 PM 2344 (0x0928)
    ProgramName = 'MPHS - Rename Computer' InstallSoftware
    12/8/2014 12:28:36 PM 2344 (0x0928)
    SwdAction = '0002' InstallSoftware
    12/8/2014 12:28:36 PM 2344 (0x0928)
    IsSMSV4PlusClient() == true, HRESULT=80004005 (e:\nts_sccm_release\sms\client\osdeployment\installsoftware\main.cpp,332)
    InstallSoftware 12/8/2014 12:28:36 PM
    2344 (0x0928)
    Configuration Manager client is not installed
    InstallSoftware 12/8/2014 12:28:36 PM
    2344 (0x0928)
    Process completed with exit code 2147500037
    TSManager 12/8/2014 12:28:36 PM
    1544 (0x0608)
    TSManager 12/8/2014 12:28:36 PM
    1544 (0x0608)
    Failed to run the action: Install Package. 
    Unspecified error (Error: 80004005; Source: Windows)
    TSManager 12/8/2014 12:28:36 PM
    1544 (0x0608)
    Failed to run the action: Install Package. Execution has been aborted
    TSManager 12/8/2014 12:28:36 PM
    1544 (0x0608)
    Do not send status message in full media case
    TSManager 12/8/2014 12:28:36 PM
    1544 (0x0608)
    Failed to run the last action: Install Package. Execution of task sequence failed.
    Unspecified error (Error: 80004005; Source: Windows)
    TSManager 12/8/2014 12:28:36 PM
    1544 (0x0608)
    Do not send status message in full media case
    TSManager 12/8/2014 12:28:36 PM
    1544 (0x0608)
    Execution::enExecutionFail != m_eExecutionResult, HRESULT=80004005 (e:\nts_sccm_release\sms\client\tasksequence\tsmanager\tsmanager.cpp,866)
    TSManager 12/8/2014 12:43:48 PM
    1544 (0x0608)
    Task Sequence Engine failed! Code: enExecutionFail
    TSManager 12/8/2014 12:43:48 PM
    1544 (0x0608)
    TSManager 12/8/2014 12:43:48 PM
    1544 (0x0608)
    Task sequence execution failed with error code 80004005
    TSManager 12/8/2014 12:43:48 PM
    1544 (0x0608)

  • Send state message to SCCM after uninstall of SCCM client

    Hi Everyone,
    I have a batch file to uninstall the client from PC's, how would I could I send a state message back to SCCM to say the uninstall was successful? Asking because the console doesn't come back with success info, just waiting, and accepted on the program.....as
    the client is uninstalled etc.
    Currently running a simple ccmsetup.exe /uninstall as below, thanks for any help in advance.
    I know there's a Vb script to force any existing messages to be sent, but as the CCM WMI will not exist, there would be nothing to send, right?
    And I have to do this for a POF......Is this even possible??I could write to a log file with the name of the computer that just uninstalled, but really wanted to use a report.....or if there's another way to uninstall client and get the info in SCCM then
    please let me know, it's been a very long few days..... cheers :)
    @echo off
    echo Please Wait while the system is uninstalling Microsoft's SMS/SCCM Client.
    REM 'echo Checking for SCCM 2007 client...
    REM 'IF EXIST %windir%\System32\ccmsetup\ccmsetup.exe GOTO DEL07
    REM 'echo No SCCM 2007 client found.
    echo Checking for SCCM 2012 client...
    IF EXIST %windir%\ccmsetup\ccmsetup.exe GOTO DEL12
    echo No SCCM 2012 client found.
    echo Checking for SMSCFG file...
    IF EXIST %windir%\SMSCFG.INI GOTO DELINI
    echo No SMSCFG file found.
    echo All software already removed or no client installed.
    GOTO END
    REM :DEL07
    REM echo Found SCCM Client v2007. Removing...
    REM %windir%\System32\ccmsetup\ccmsetup.exe /uninstall
    REM RD /S /Q %windir%\System32\ccmsetup
    REM RD /S /Q %windir%\System32\ccm
    REM RD /S /Q %windir%\System32\ccmcache
    REM echo SCCM Client 2007 removed.
    REM IF EXIST %windir%\ccmsetup\ccmsetup.exe GOTO DEL12
    REM IF EXIST %windir%\SMSCFG.INI GOTO DELINI
    REM GOTO END
    :DEL12
    echo Found SCCM client v2012. Removing.
    %windir%\ccmsetup\ccmsetup.exe /uninstall
    REM RD /S /Q %windir%\ccmsetup
    REM RD /S /Q %windir%\ccm
    RD /S /Q %windir%\ccmcache
    echo SCCM Client 2012 removed.
    IF EXIST %windir%\SMSCFG.INI GOTO DELINI
    GOTO END
    :DELINI
    echo SMSCFG file found. Removing...
    del /F %windir%\SMSCFG.INI
    echo SMSCFG file removed.
    GOTO END
    :END
    echo Done!
    rem pause
    exit
    many thanks

    Don't you think this is a bit of a silly question? The client is what sends state messages therefore what would you expect to "send" the message that the client was removed? Seems about as effective as putting the address on the inside of an
    envelope and expecting the post office to just know where to send the mail.
    John Marcum | Microsoft MVP - Enterprise Client Management
    My blog: System Center Admin | Twitter:
    @SCCM_Marcum | Linkedin:
    John Marcum

  • SCCM 2012 License Management

    Hi,
    Wanted to understand the SCCM 2012 License management process, let me explain our current setup
    As per my understanding, KMS captures the license count for bill-ability in SPLA.
    1. 200 plus servers in DC - managed as shared service - Licensed by Service company - KMS hosted on DC. Owned by service company.
    2. 4000 plus workstations, 20 plus servers - regional sites - managed by client themself - KMS hosted on local site. Owned by Client.
    So question is, both are two different kms managing two different set of owned machines. 
    If i set up SCCM 2012 in data Centre, how to capture the license information? 
    Thanks in advance.
    $Bug

    Configuration manager has no license management process and no a KMS does not capture license counts for billability (a KMS actually stops counting at 50).
    License tracking is another story and generally the built-in Asset Intelligence reports in ConfigMgr will do the job for Microsoft products. The systems must all be managed by ConfigMgr however. From there, simply instance counting is pretty trivial whether
    you use the built-in reports or not though as its a simple inventory.
    Jason | http://blog.configmgrftw.com | @jasonsandys
    Okay, so SCCM asset intelligence reports are sufficient to count/calculate billability for System Centre as SPLA. 
    Thanks a lot for your help. 
    $Bug

Maybe you are looking for

  • If i have Dns Client service running, is it necessary to enable dns prefetch in the about:config section?

    I've been wondering this for a while and can't seem to find the answer. Whenever i set network.dns.disablePrefetch to true, the browser seems to load a bit more smoothly and even with the pref. disabled, the dns client service seems to still cache dn

  • "Use itunes to restore" message on iPod

    I just got a new 160GB Classic. It appeared to be working fine for the first few days then all of a sudden a video I was watching started sticking. I tried a reset the got a message ""use itunes to restore". I opened itunes and connected the iPod and

  • User Text in Out put of report

    Hi.. I need to show some remark text in output of the report. User will enter at the runtime of the querry...that shoul be display in bottom of the querry ... Can any one please through lite.......... Thanks, Chinna

  • Regarding IDOC in Finance

    Hi all, I'm now starting to work on this IDOC_INPUT_FIDCC1. Can I know is there any way to create a IDOC that I can test run in this FM with we19? I need a IDOC so that I can test on this FM but currently I don't have any, therefore need to create on

  • Report 6i

    I need help from someone with a problem I have with the report that leaves only generate information, but when you invoke from the button nothing comes not only the logo that has the report.