Distribute content failed on sccm 2012

Hello all,
As part of OS deployment, I first did a 'build and capture' a Windows 2008 x64 bit image (.wim) and saved it as part of a shared folder (with full permissions). Next, I wanted to create a 'Operating System Images' under 'Software Library' and was successfully
able to add the .wim image previously created. Next, I wanted to 'Distribute content' to Distribution Point (DP) which happens to be the same server as my Site server and where my 'shared' folder is. 
As part of this 'Distribute content' when I check the 'content status' under Monitoring, I see the status in 'RED' (Failed). I checked the 'more details' on the error status and found this:
Can anyone help me understand what is missing and what needs to be done. I'm also going through documentation to troubleshoot this. thanks

Hi,
Have you configure the machine account(site server machine) to at least  Read permission?
We
are trying to better understand customer views on social support experience, so your participation in this
interview project would be greatly appreciated if you have time.
Thanks for helping make community forums a great place.

Similar Messages

  • Distribute Customer Updates in SCCM 2012 (CU's) using a Task Sequence

    I want to utilize a Task Sequence to Distribute Customer Updates to SCCM 2012 Clients.  I currently have 2 collections for pre-CU 4 clients, one for 32 Bit Clients (x86) , one for 64 Bit Clients (x64).  I have a package pertinent to each collection
    which I use to distribute the updates.
    However, instead of segregating them by collection, I would like to have one big collection, and have the Task Sequence sort out which package should load on which collection.
    I've tried using the RUN COMMAND LINE, and INSTALL PACKAGE options to no avail.  Is there a way to utilize a Task Sequence for this undertaking, or should I just continue the way I'm currently doing it.
    Thanks ,
    Dan

    You can set Collection Variables for the two collections, then add running condition in the Task Sequence Steps for corresponding collections.
    Juke Chou
    TechNet Community Support

  • Reporting services keep failing on SCCM 2012 SP1

    I have SCCM 2012 SP1 install with SSRS 2012 install on same server 2008 R2 server.
    Reporting services keep failing with the following message when trying to START the service from the Reporting Services Configuration Manager Console
    System.ServiceProcess.TimeoutException: Time out has expired and the operation has not been completed.
       at System.ServiceProcess.ServiceController.WaitForStatus(ServiceControllerStatus desiredStatus, TimeSpan timeout)
       at ReportServicesConfigUI.Panels.ServerInformationPanel.StartStopServiceTask(Boolean start)
    Thx,
    Joe
    Thx, Joe

    Good advice Garth, but I have opened over 5 cases to try to resolve this and several other issues with my troublesome SCOM 2012 SP1 upgrade. That is why I am also sending it to the community in hope they can provide assistance.
    CSS will only work on one specific issue and in most cases these are targeted bandaid fixes that DO NOT address the underlying or related issues. I a left to opening many tickets and still floundering with a unreliable product.
    It seems to only be with System Center. All other products by Microsoft seem to be reliable and predicable and are easily supported using break fix support model of the current MS teams.
    It is SQL (SSRS) that controls subscriptions not CM12. CM12 only leverages the APIs provided by SQL (SSRS).
    I hate to say this but Why do you think this problem has anything to do with CM12?
    If CSS tell you to re-create the subscription and the problem re-occurs then I would re-open the ticket and tell them that the problem is NOT fixed and to continue working on it.
    Garth Jones | My blogs: Enhansoft and
    Old Blog site | Twitter:
    @GarthMJ

  • SQL Connection Failed for SCCM 2012 R2 (Unable to load user-specified certificate)

    We've recently completed an upgrade from SCCM 2012 SP1 to 2012 R2 and have been running in the new environment for about a week. As of this morning, The consoles failed to connect to the CAS' and one of the Primary Site's database. The issue was resolved
    easily enough by addressing a certificate issue in SQL, but I'm left wondering if there's a correlation between the SP1-to-R2 upgrade that would cause the cert to fail. Anyone have experience with this?
    2014-01-21 22:10:11.81 Server      The server could not load the certificate it needs to initiate an SSL connection. It returned the following error: 0x8009030d. Check certificates to make sure they are valid.
    2014-01-21 22:10:11.81 Server      Error: 26014, Severity: 16, State: 1.
    2014-01-21 22:10:11.81 Server      Unable to load user-specified certificate [Cert Hash(sha1) "haaaaassssshhhh"]. The server will not accept a connection. You should verify that the certificate is correctly installed. See
    "Configuring Certificate for Use by SSL" in Books Online.
    2014-01-21 22:10:11.81 Server      Error: 17182, Severity: 16, State: 1.
    2014-01-21 22:10:11.81 Server      TDSSNIClient initialization failed with error 0x80092004, status code 0x80. Reason: Unable to initialize SSL support. Cannot find object or property.
    2014-01-21 22:10:11.81 Server      Error: 17182, Severity: 16, State: 1.
    2014-01-21 22:10:11.81 Server      TDSSNIClient initialization failed with error 0x80092004, status code 0x1. Reason: Initialization failed with an infrastructure error. Check for previous errors. Cannot find object or property.
    2014-01-21 22:10:11.81 Server      Error: 17826, Severity: 18, State: 3.
    2014-01-21 22:10:11.81 Server      Could not start the network library because of an internal error in the network library. To determine the cause, review the errors immediately preceding this one in the error log.
    2014-01-21 22:10:11.81 Server      Error: 17120, Severity: 16, State: 1.
    2014-01-21 22:10:11.81 Server      SQL Server could not spawn FRunCM thread. Check the SQL Server error log and the Windows event logs for information about possible related problems.

    We got the same certificate related error events after a fresh install of SCCM 2012 R2 on a new server. It happened during the first reboot after SCCM was installed. In the Certificates mmc, I right-clicked on the certificate used by SQL and chose Manage
    Private Keys. Giving the service account that runs the MSSQLSERVER service read rights to the private key allowed SQL to start. However, after a day or so we rebooted the server again, and SQL wouldn't start. Something had removed the service account's read
    permission. Since the SCCM configuration wasn't that far along, we uninstalled SCCM. After giving the service account read rights again, and rebooting several times over a few days, and SQL started every time. We then installed SCCM 2012 R2 again, and checked
    the certificate's permissions before rebooting. The service account still had read permissions when the install completed, but as soon as the server was rebooted, it lost the permissions again.
    The Certificates mmc was then used to request a second computer certificate and then SQL was configured to use that new certificate via SQL Server Configuration Manager. After several days and a number of reboots the SQL services have started normally every
    time so the second certificate seems to have fixed the issue. I have kept the original certificate for fear that removing it will cause whatever part of SCCM 2012 R2 that modifies the original certificate to start removing permissions from the new certificate
    as well.

  • WSUS Keeps failing on SCCM 2012 R2

    Hello all
    I am hoping I could get some help with this strange issue:
    I am trying to install WSUS on my sccm server prior to the software update point. This what I have done so far:<o:p></o:p>
     In server manger I select to install the WSUS role>Click next (I notice there is a feature option to install Windows internal database)
    I unchecked this option because I am using my existing sql server for the WSUS instance. I cant seem to find anything that say tells me that when installing sccm 2012 on Windows Server 2012 and you are using the sql database instance for WSUS to do xyz. In
    my case as mentioned before  unchecked the Windows Internal Database Feature. Then under Roles Services there are three option: WID Database, WSUS Services, Database. I chose WSUS Services and Database. On the next page I defined my source for the downloads,
    then the next page DB Instance I entered the instance of the sql server which in my case is also on my sccm 2012 server VMSCCM is the name> Click Check Connection and that was successfully connected to the server. <o:p></o:p>
    So here is where everything goes wrong. I then select to install everything at the confirmation page. reboot the server<o:p></o:p>
    once rebooted I open server manager and there is message that says Launch post - installation configuration. I then get the following error "Post-deployment
    configuration failed see log below is a image for the log located in c:\users\username\appdata\local\temp\tmpFC3D\
    <o:p></o:p>
    <o:p></o:p>
    Phil Balderos

    I had similar issues with the WSUS integration with ConfigMgr 2012 R2. I also have the WSUS DB hosted on the same SQL instance where ConfigMgr 2012 installs it's database.
    I found WSUS would not function correctly until I added the SYSTEM account to the WSUS Administrators group under Local Users and Groups:
    Hope this helps! :-)
    Reference Article -->
    http://technet.microsoft.com/en-us/library/gg712696.aspx
    Look under Plan for WSUS Installation heading. You can also add
    NT AUTHORITY\SYSTEM account as a user for the WSUS database (SUSDB) and configure a minimum of the webService database role membership as an alternative to the above
    Hello again,
    How would I add this account. When I go into th WSUS admin group on the local machines I cannot search for the this type of account. It returns nothing.
    Thanks
    Phil Balderos

  • 0x80004005: app install failed - OSD SCCM 2012 R2 - randomly

                    
    Hi,
    I have visited many forums with this error before posting.
    Problem : During TS New computer OSD, app failed to install randomly on all model Win 7 x86 or x64.
    Information :
    App concerned : Adobe flash, office, chrome...
    Domain integration : OK
    App installation tested across software center : OK
    smsts.log error  :
    Policy Evaluation failed, hr=0x80004005
    Install application action failed: 'Adobe Shockwave Player '. Error Code 0x80004005 InstallApplication
    LocationServices.log error :
    Policy prevents failover to WINS for lookup
    Successfully sent location services HTTP failure message.
    Error sending HEAD request. HTTP code 401, status 'Unauthorized'
    Client is not assigned to a site. Cannot get security settings.
    Client is not assigned to a site. Cannot get site signing cert.
    An idea ?

    Hi, 
    I create another topic and my problem (App install during OSD) is now solved yes:
    http://social.technet.microsoft.com/Forums/en-US/bb10bfc3-f5ec-46a6-9535-ea299266795c/strange-problem-app-install-failed-randomly-osd-sccm-2012-r2?forum=configmanagerosd#f54d0af1-2658-49ee-a57a-1ec9e2b09a3e
    You can Check "Continue on error" inside  "Options" Tab on your TS. Even if App install fail At least the rest ends well...

  • Content distribution in SCCM 2012, Will the application be installed automatically?

    Lets suppose If I have not distributed the content before the deployment
     and it got failed to deploy and in later time if I distribute the content will it get installed automatically (which I don’t want obviously), or will that be based on required or available deployment settings?

    Why would you not want the deployment to be enforced automatically after distributing the content?
    Exact behavior in this scenario is dependent upon your settings; however a deployment cannot be both available and required. It is one or the other. There is however an available time and deadline time in required deployments. Deployments are enforced at
    the deadline time -- the available time in required deployments is simply when the content will begin downloading and when the deployment is visible on the client. Available deployments are never enforced automatically.
    Jason | http://blog.configmgrftw.com | @jasonsandys

  • OSD Request User State Storage fails after SCCM 2012 upgrade to R2

    After SCCM upgrade from SP1 to R2 OSD fails on Request User State Storage. Error:
    Task sequence: XXXXX has failed with the error code (0x00004005). For more information, contact your system administrator or helpdesk operator.
    In smsts.log:
    =================================
    <![LOG[Certificate is a self signed certificate. It will not be checked for revocation or expiration.]LOG]!><time="09:27:37.133-120" date="03-14-2014" component="OSDSMPClient" context="" type="0" thread="5984"
    file="smpclientutil.cpp:420">
    <![LOG[Successfuly retrieved public key and verified signature.]LOG]!><time="09:27:37.133-120" date="03-14-2014" component="OSDSMPClient" context="" type="1" thread="5984" file="smpclient.cpp:2604">
    <![LOG[Sending share info request message: <RequestStateStore><ClientID>GUID:BF0F737B-1834-4625-984C-5C9DE2391CFC</ClientID><Reserved2>308202E4308201CCA00302010202103A4DDA5B85D41CAE4D9D220E5006A4FF300D06092A864886F70D01010B050030203110300E0603550403130742313439353230310C300A06035504031303534D533020170D3134303331313038353935385A180F32313134303231363038353935385A30203110300E0603550403130742313439353230310C300A06035504031303534D5330820122300D06092A864886F70D01010105000382010F003082010A0282010100C739D1BFA21BF715C0BCB55FC3B86983AAB9A0AF8BB33977E85CED2225EDAB0635DA31B1864420AD0BECBB947A148C669FA3C3B4EF17F76E2A5F6939FB4390ACA8EA53FE213C487E7DDBBD653963F0DC5F1ED08C20205657902E2EC70881654B7CFFA5C46006F94BCFE6F3C694E4A12A4B70A7F449473F00770660B0721305E2D17856FBE4ECDDEA0EB844E4628CBBCB6CA6859DF935FEF8F2F026D50FD39FFA99833F380F0298EA2A8CD6E023F00B3A008D64BBCCF694A303E5C4A2B9920C5DEDC72D123C4D2B02C429FFC29F80BB792AA05C367490AD5C3FB368D84C4373A7DD0A77A80B1D955E6E34F694B04BB1BF87CD67D697A4BB1FE291150FC8699EB50203010001A318301630140603551D25040D300B06092B0601040182376502300D06092A864886F70D01010B0500038201010031207E781BCF10D96166416C305AADFA53D85343168E5E8A6B41B2B12B53886D1AC75BDFA045598F088AF465853E1261A5D6F0F4DEB2443C0C5F25B4F2746DB52F1B46D5E4D4D7B139CA8281ACA03C37890285BEB721ED186F3D70098EA9D7E61265210B73C18245FE25C16D72E545C9F4544A788632C7A61F6106BAB6A357530241FBB4245F7D5244805BC571F1B024C0825D04C85021E8AC7F94B901F30039C28BAC6DC307F2AC04B9B14A3949697EED015E64611D3427E41537B800D1222CC1FDAF333DE7F59B1A242BBCB65F4D85722A62147CA391684EB6A53D547C78050C341DA0FC99A09842A184842DEE3C5138F2C5AF515DF8D531F850E7A3839E90</Reserved2></RequestStateStore>]LOG]!><time="09:27:37.134-120"
    date="03-14-2014" component="OSDSMPClient" context="" type="1" thread="5984" file="smpclient.cpp:2285">
    <![LOG[Requesting SMP Root share config information from http://server.int.domain.com:0]LOG]!><time="09:27:37.290-120" date="03-14-2014" component="OSDSMPClient" context="" type="1" thread="5984"
    file="smpclient.cpp:2348">
    <![LOG[Received 3963 byte response.]LOG]!><time="09:27:37.333-120" date="03-14-2014" component="OSDSMPClient" context="" type="0" thread="5984" file="smpclient.cpp:2363">
    <![LOG[Adding \\server.int.domain.com\SMPSTORED_39C7CA32$ to list ]LOG]!><time="09:27:37.367-120" date="03-14-2014" component="OSDSMPClient" context="" type="1" thread="5984" file="smpclient.cpp:2403">
    <![LOG[Failed to connect to "\\server.int.domain.com\SMPSTORED_39C7CA32$" (1203).]LOG]!><time="09:27:37.440-120" date="03-14-2014" component="OSDSMPClient" context="" type="2" thread="5984"
    file="tsconnection.cpp:340">
    <![LOG[Failed to connect to "\\server.int.domain.com\SMPSTORED_39C7CA32$" (1203).]LOG]!><time="09:27:37.468-120" date="03-14-2014" component="OSDSMPClient" context="" type="2" thread="5984"
    file="tsconnection.cpp:340">
    <![LOG[Cannot connect to http://server.int.domain.com SMP root share]LOG]!><time="09:27:37.468-120" date="03-14-2014" component="OSDSMPClient" context="" type="3" thread="5984" file="smpclient.cpp:1754">
    <![LOG[ClientRequestToSMP::DoRequest failed. error = (0x80004005).]LOG]!><time="09:27:37.468-120" date="03-14-2014" component="OSDSMPClient" context="" type="3" thread="5984" file="smpclient.cpp:1882">
    <![LOG[Request to SMP 'http://server.int.domain.com' failed with error (Code 0x80004005). Trying next SMP.]LOG]!><time="09:27:37.468-120" date="03-14-2014" component="OSDSMPClient" context="" type="2"
    thread="5984" file="smpclient.cpp:1590">
    <![LOG[Sleeping for 60 seconds before next attempt to locate an SMP.]LOG]!><time="09:27:37.468-120" date="03-14-2014" component="OSDSMPClient" context="" type="1" thread="5984" file="smpclient.cpp:1565">
    =======================
    IIS log:
    =======================
    172.20.0.xx CCM_POST /SMSSMP/.sms_smp op=KeyInfo 80 - 172.20.6.yy SMS+CCM+5.0+TS 200 0 0 2281 2
    172.20.0.xx CCM_POST /SMSSMP/.sms_smp op=RootShareInfo 80 - 172.20.6.yy SMS+CCM+5.0+TS 200 0 0 4088 29
    172.20.0.xx OPTIONS /SMPSTORED_39C7CA32$ - 80 - 172.20.6.yy Microsoft-WebDAV-MiniRedir/6.1.7601 200 0 0 206 19
    172.20.0.xx PROPFIND /SMPSTORED_39C7CA32$ - 80 - 172.20.6.yy Microsoft-WebDAV-MiniRedir/6.1.7601 405 0 0 1496 1
    172.20.0.xx PROPFIND /SMPSTORED_39C7CA32$ - 80 - 172.20.6.yy Microsoft-WebDAV-MiniRedir/6.1.7601 405 0 0 1496 1
    ======================
    Allow clients to connect anonymously enabled on DP
    On SMP file share permissions enabled for everyone
    Any suggestions where to look?

    Hi,
    Please try to access
    \\server.int.domain.com\SMPSTORED_39C7CA32$ using Network Access Account from the workstation you working on.
    Best Regards,
    Joyce Li
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Endpoint Protection Role fails after SCCM 2012 SP1 upgrade 0x8004ff84

    We have been in the process upgrading our SCCM RTM to SP1 in order to get to R2 in the end. After upgrading the PRimary Site server to SP1 it seems the Endpoint protection update did not succeed. I removed the role and after that tried it to install again,
    results below.
    EPSetup.log
    I<09/26/14 14:24:25> Installing the SMSEP
    <09/26/14 14:24:25> Passed OS version check.
    <09/26/14 14:24:25> File E:\BO\Microsoft Configuration Manager\Client\SCEPInstall.exe version is 4.4.304.0.
    <09/26/14 14:24:25> EP version 2.2.903.0 is already installed.
    <09/26/14 14:24:25> EP 2.2.903.0 is installed, version is lower than expected installer version 4.4.304.0.
    <09/26/14 14:24:25> Invoking process "E:\BO\Microsoft Configuration Manager\Client\SCEPInstall.exe" /s /q /noreplace /policy "E:\BO\Microsoft Configuration Manager\Client\EP_DefaultPolicy.xml" 
    <09/26/14 14:24:25> CreateProcess: E:\BO\Microsoft Configuration Manager, "E:\BO\Microsoft Configuration Manager\Client\SCEPInstall.exe" /s /q /noreplace /policy "E:\BO\Microsoft Configuration Manager\Client\EP_DefaultPolicy.xml" 
    <09/26/14 14:25:00> CreateProcess: -2147156092
    <09/26/14 14:25:01> SCEPInstall.exe returns 0x8004ff84
    <09/26/14 14:25:01> SMSEP could not be installed. The return code was -2147156092
    <09/26/14 14:25:02> ~RoleSetup().
    When I manually try to run the SCEPInstall.exe setup asks for certain msi files it cannot find. Anyone seen this behaviour before? I'm not able to find information on this one.

    It seems the uninstallation of the current SCEP client fails. It uses the new SCEPinstall.exe version to do the uninstall which fails. I copied the old version from another computer and used that to do the uninstall manually scepinstall.exe /u
    It asks a few times for a location to find the msi files used to do the uninstallation. You have to point at a temporary map created at the drive root location. The Uninstall succeeds.
    Now the Endpoint Protection role can be added again and will also succeed.

  • Sccm 2012 collection query for software deployment failed PCs

    Hi,
    Let me know how can we create a collection of PCs which a particular advertisement failed.
    SCCM 2012 sp1 infra
    Midhun.PS

    See
    http://myitforum.com/cs2/blogs/gramsey/archive/2006/10/20/How-To_3A00_-Create-a-Collection-Based-on-an-Advertisement-Status.aspx. This will only work for program deployments, not applications.
    Torsten Meringer | http://www.mssccmfaq.de

  • SCCM 2007 Secondary to SCCM 2012 Secondary Site

    we are planning to upgrade SCCM 2007 secondary to SCCM 2012 Secondary Site, As per the TechNet document that I understand i can't do in place upgrade of Secondary site. I can do only upgrade
    of 2007 DP to 2012 DP,
    This is what I plan,
    1. Install a SCCM 2012 Secondary site
    2. Enable DP sharing in 2012 and share the DP of 2007
    3. Upgrade the 2007 DP into 2012 DP on 2012 Secondary Site.
    My question is,
    1. How to copy the DP package to 2012 Secondary Server DP, it will happen during the upgrade or we need to use Export/extract Content feature in SCCM 2012
    2. How the client migration will happen? Do we need to distribute the 2012 client prior to DP update or we can use client push to upgrade old client.
    3. before share the DP, do i have to remove the MP, PXE role on the 2007 secondary?
    Thanks for your support

    I have already few packages available in that DP that I am going to migrate
    The second shared DP that I want to migrate to 2012, but it is not working.
    Do I need to specify any thing in reassign distribution point wizard, because I only select  the site code where I want to migrate the 2007 DP, and all other option I leave default and client on next.
    This is what I am trying to do.
    I have build a SCCM 2012 Primary and Secondary Server and I am trying to move the DP from exiting SCCM 2007 Secondary Site DP to 2012 Secondary Site.
    I set a source hierarchy for primary server with enable shared DP then I am trying to reassign a DP.

  • Deploymen fix with sccm 2012 R2

    Hello Guys
    I need deployment a patch in 235 windows 7 x86 and x64. I was created the package and also create a .bat file with the following contents
    wusa.exe <fix.msu> /quit /norestart
    The package is distributed but when is running appears a windows with the parameters of wusa
    Who I can distributed this patch with SCCM 2012.
    Thanks for your help
    Regards

    Hello
    I running .bat file with the parameters
    wusa.exe <fix.msu> /quit /norestart
    In the station of user appears a messages with options of parameters wusa.
    Exist other method?
    Regards

  • SCCM 2012 r2 with CU1 - XP Refresh

    Hi Everyone,
    Hoping someone out there can assist with this. I am doing a refresh for XP to win7.  I have read
    http://social.technet.microsoft.com/Forums/en-US/6e934990-999a-4367-860a-3ce4e5eda956/sccm-2012-r2-error-0x800700c1?forum=configmanagerosd
    and
    http://www.windows-noob.com/forums/index.php?/topic/9418-referesh-task-sequence-from-xp-fails-on-sccm-2012-r2/
    none of these work.  I took a look at this and I was able to get pass the staging of the boot image
    http://blogs.technet.com/b/brandonlinton/archive/2013/06/21/how-to-create-and-import-a-winpe-3-1-boot-image-for-use-in-configmgr-2012-sp1-cu2.aspx
    however when the machine rebooted I received this.  I also inject the nic drivers using dism and still the same issue. Any idea of a fix or how to go about refresh for
    XP using sccm 2012 r2?
    thanks all!

    Hi,
    Also ran into this issue, you're encountering this error because some components are missing in your WinPE image.
    Note that this refresh scenario is not supported, however you can get this  to work by manually customizing (especially importing WMI component) your WinPE image
    before importing it ConfigMgr.
    I made the script below, ran in on a base WinPE image from WADK for Windows 8 (a 6.2 version image so) to make it work (sorry for french comments Inside but I'm sure you'll get it :) ):
    #Adapt these variables to you environment
    $ADK = "C:\Program Files (x86)\Windows Kits\8.0\Assessment and Deployment Kit" #Chemin d'ADK
    $DismArchitecture = "amd64" #archi a utiliser pour DISM
    $CompArchitecture = "x86" #archi a utiliser pour les composants
    $MountDir = "e:\Mount" #point de montage a utiliser
    $Wimdir = "E:\winpe.wim" #chemin du wim a modifier
    $InjectDrivers = $TRUE #Choisir si il faut ajouter des pilotes ou non
    $DriversDir = "E:\Pilotes\WinPE3.1_x86" #chemin contenant les pilotes
    $AddCMTrace = $FALSE #Choisir si il faut ajouter cmtrace ou non
    $CMTraceDir = "E:\Microsoft Configuration Manager\tools\cmtrace.exe" #chemin de cmtrace
    $ChangeLocale = $TRUE #Choisir si il faut modifier les paramètre regionnaux ou non
    $Locale = "fr-FR" #param regionnaux a utiliser
    $DismFolder = "$ADK\Deployment Tools\$DismArchitecture\DISM" #ne pas modifier
    $OptComponents = "$ADK\Windows Preinstallation Environment\$CompArchitecture\WinPE_OCs"; #ne pas modifier
    $AddOPTComponents = $TRUE #Choisir si il faut ajouter des composants ou non
    #liste des composants:
    $ComponentList = @(
    “$OptComponents\WinPE-WMI.cab”
    “$OptComponents\$Locale\WinPE-WMI_$Locale.cab”
    “$OptComponents\en-us\WinPE-WMI_en-us.cab”
    “$OptComponents\WinPE-NetFx4.cab”
    “$OptComponents\$Locale\WinPE-NetFx4_$Locale.cab”
    “$OptComponents\en-us\WinPE-NetFx4_en-us.cab”
    “$OptComponents\WinPE-HTA.cab”
    “$OptComponents\$Locale\WinPE-HTA_$Locale.cab”
    “$OptComponents\en-us\WinPE-HTA_en-us.cab”
    “$OptComponents\WinPE-DismCmdlets.cab”
    “$OptComponents\$Locale\WinPE-DismCmdlets_$Locale.cab”
    “$OptComponents\en-us\WinPE-DismCmdlets_en-us.cab” );
    #Composants pour WinPE 6.3: (a inserer a la place de NetFx4)
    #“$OptComponents\WinPE-NetFx.cab”
    #“$OptComponents\$Locale\WinPE-NetFx_$Locale.cab”
    #“$OptComponents\en-us\WinPE-NetFx_en-us.cab”
    #“$OptComponents\WinPE-PowerShell.cab”
    #“$OptComponents\$Locale\WinPE-PowerShell_$Locale.cab”
    #-----debut du script
    #Creation du point de montage
    New-Item -ItemType Directory -Force -Path $MountDir
    #import de DISM
    import-module $DismFolder
    #montage de l'image
    Write-Host "Mounting WIM file"
    Mount-WindowsImage -ImagePath $Wimdir -Index 1 -Path $MountDir -ErrorAction Stop
    #changement de locale
    if($ChangeLocale -eq $TRUE)
    Write-Host "Changing locale"
    cd $DismFolder
    dism.exe /image:$MountDir /set-syslocale:$Locale
    dism.exe /image:$MountDir /set-userlocale:$Locale
    dism.exe /image:$MountDir /set-inputlocale:$Locale
    #ajout de cmtrace
    if($AddCMTrace -eq $TRUE)
    Write-Host "Adding CMTrace"
    $CMTraceDest = $MountDir + "\Windows\System32"
    Copy-Item -Path $CMTraceDir -Destination $CMTraceDest
    #ajout des pilotes
    if($InjectDrivers -eq $TRUE)
    Write-Host "Injecting Drivers"
    Add-WindowsDriver -Recurse -ForceUnsigned -Driver $DriversDir -Path $MountDir -Verbose -ErrorAction SilentlyContinue
    #ajout des composants
    if($AddOPTComponents -eq $TRUE)
    Write-Host "Adding Optionnal Components"
    foreach ($Component in $ComponentList)
    Write-Host -Object (’Installing component: {0}’ -f $Component);
    Add-WindowsPackage -Path $MountDir -PackagePath $Component -ErrorAction SilentlyContinue;
    #demontage de l'image
    Write-Host "Unmounting WIM file"
    Dismount-WindowsImage -Path $MountDir -Save -Verbose
    Mickael, My technet galleries contributions : ConfigMgr driver injector : http://gallery.technet.microsoft.com/ConfigMgr-Driver-Injector-aae7d17d SCCM Collection splitter : http://gallery.technet.microsoft.com/SCCM-Collection-Splitter-e1c82b06 ConfigMgr
    TS Tools : http://gallery.technet.microsoft.com/TSTools-f9b01357

  • Updates managed by SCCM 2012 R2

    Hi,
    If I manage and distribute my updates via SCCM 2012 R2, is it a best practice to disable Windows Automatic Updates on clients? In the following article I found that in case of SCCM 2007 it caused some problems regarding to the reboots.
    http://support.microsoft.com/en-us/kb/2476479
    Thank you,
    Dvijne

    Unfortunately, ConfigMgr only configures a couple of things including enabling the use of intranet location for updates and the location of that intranet source. It does not disable automatic updates leaving the door open for the WUA to do things on its
    own outside the control of ConfigMgr including installing any updates approved directly in WSUS (including new versions of the agent itself which are automatically approved) and rebooting systems which have a pending reboot. Neither of these is desirable in
    a ConfigMgr managed environment and thus the recommendation for disabling automatic updates. As for the rest of the Windows Update GPO settings, they are meaningless in the context of ConfigMgr so it doesn't really matter what you set those to if you disable
    automatic updates.
    Jason | http://blog.configmgrftw.com | @jasonsandys

  • SCCM 2012 says content distributed, but the folders are missing in my DP

    SCCM 2012 SP1 Update 4
    I've been adding updates and creating new applications and all looked ok.  I distributed them to my 7 distribution points, and the stats shows the content was distributed.  However, if I look on the DP hard drive for the folders, they are not there.
     Deployments are failing saying they cant find files.
    Any thoughts? I cant find anything through Google (sorry Bing ;) )..
    Thanks!!!
    Joel

    CM 2012 content library is different fr0m SMSPKGE$ folder. Check for SCCMContentLib folder. Also check the status of content distribution from CM12 console - Monitoring - Content Status Node 
    Anoop C Nair -
    @anoopmannur :: MY Site:
     www.AnoopCNair.com ::
    FaceBook:
     ConfigMgr(SCCM) Page ::
    Linkedin:
     Linkedin<

Maybe you are looking for

  • Unable to load style(SWF is not a loadable module)

    While devoloping an App voor iOS we decided to use several StyleSheets. We are implementing the loading of Stylesheets as: event_dispatcher:IEventDispatcher = this.styleManager.loadStyleDeclarations2("assests/styles/default.swf");  event_dispatcher.a

  • I am looking for HP Laserjet CM2320 MFP driver for OSX 10.8.1

    I have a LaserColor printer with all in one it is namely HP Color Laserjet CM2320nf MFP, once I upgraded my computer to the mountain lion OSX 10.8.1 I cannot scan any document, how can I go about this, any one help is appreciated. Thanks

  • External hard drives wont mount

    I ejected my two external hard drives before disconnecting them. I have reconnected but they do not show up in the Finder or Disk Utility. The drives show up when plugged into my macbook. jp

  • How to save a numbers file on macbook to iCloud?

    i have just started using icloud and want to save a numbers file on my macbook pro via icloud so i can use it on my iphone 5 please!!??

  • WLS 6.1 sp4 - JVM Crash

    Hi, We are running WLS6.1 sp4 on Red Hat Linux 7.3, Java HotSpot(TM) Server VM (1.4.1_01-b01 mixed mode) on 2CPU box. We have encountered several JVM crashes (unpredictable, abot once-twice a day). The load on the server is light, currently execute t