OSD: upgrade sccm 2007 (XP) client to 2012, then deploy TS

Hi,
We have some Windows XP machines in our SCCM 2007. They are discovered via AD in SCCM 2012.
Now we would like to upgrade their client to SCCM 2012 then deploy (available) a task sequence to it (Windows 7 install). This way users can choose whenever to upgrade to Windows 7.
My questions:
*When I right click an XP/SCCM 2007 client and choose upgrade, nothing happens. How can I troubleshoot/follow the upgrade?
*Should the task sequence (SCCM MDT) contain a particular step or can we use the same as a bare metal (PXE) deploy (we do not want to keep any data from the pc)?
Please advise,
J.
Jan Hoedt

Do I understand it correct, that you are trying a Client Push Installation? If so, then start with looking at the ccm.log on the server-side for errors. That log file contains all the information about the push action.
You should be able to use the same task sequence. Just check the deployment settings and the first action of the task sequence (make sure it restarts in WinPE).
My Blog: http://www.petervanderwoude.nl/
Follow me on twitter: pvanderwoude

Similar Messages

  • Unable to install BR&E Promax license on a SCCM 2007 R2 client

    Unable to install BR&E Promax license on a SCCM 2007 R2 client
    in Execmgr log could see below entries,
    Program exit code -1073741510  in execmgr
    Script for Package:xxxxxx, Program: Install failed with exit code 3221225786

    Unable to install BR&E Promax license on a SCCM 2007 R2 client
    in Execmgr log could see below entries,
    Program exit code -1073741510  in execmgr
    Script for Package:xxxxxx, Program: Install failed with exit code 3221225786
    That error code is from BR&E Promax and not from CM07. You need to contact them to find out what it means.
    Garth Jones | My blogs: Enhansoft and
    Old Blog site | Twitter:
    @GarthMJ

  • OSD: scripted upgrade SCCM 2007 to SCCM 2012 not working (first attempt)

    Hi,
    We created a package in SCCM 2007 to upgrade the sccm 2007 client on a vista machine to SCCM 2012.
    What we did:
    1.uninstall 2007 client
    2.ccmclean.exe
    3.install sccm 2012 client
    4.trigger machine policy update
    All works fine but the install. If we run the script a second time, install DOES work fine.
    Error log of failed attempt, please advise:
    Failed to download client files by BITS. Error 0x800704dd    ccmsetup    16/05/2014 17:35:48    3872 (0x0F20)
    Sending Fallback Status Point message to 'sccmserver.ourdomain', STATEID='309'.    ccmsetup    16/05/2014 17:35:48    3872 (0x0F20)
    Failed to get client version for sending messages to FSP. Error 0x8004100e    ccmsetup    16/05/2014 17:35:48    3872 (0x0F20)
    Params to send FSP message '5.0.7958.1000 Deployment Error 0x800704dd. Path http://sccmserver.ourdomain/SMS_DP_SMSPKG$/FLSD00002'    ccmsetup    16/05/2014 17:35:48    3872 (0x0F20)
    State message with TopicType 800 and TopicId {87CA732B-9d2D-4CD1-BD93-CA2CCD20D691} has been sent to the FSP    FSPStateMessage    16/05/2014 17:35:48    3872 (0x0F20)
    Failed to download from DP 'http://sccmserver.ourdomain/SMS_DP_SMSPKG$/flsD00002', error 0x800704dd.    ccmsetup    16/05/2014 17:35:48    3872 (0x0F20)
    Enumerated all 1 local DP locations but none of them is good. Fallback to MP.    ccmsetup    16/05/2014 17:35:48    3872 (0x0F20)
    Using branch cache option.    ccmsetup    16/05/2014 17:35:48    3872 (0x0F20)
    Adding file 'HTTP://sccmserver.ourdomain:80/CCM_Client/i386/vcredist_x86.exe' to BITS job, saving as 'C:\Windows\ccmsetup\vcredist_x86.exe'.    ccmsetup    16/05/2014 17:35:48    3872 (0x0F20)
    Failed to download client files by BITS. Error 0x800704dd    ccmsetup    16/05/2014 17:35:48    3872 (0x0F20)
    Jan Hoedt

     Hi,
    "Error code 4dd (hex) = 1245 = "The operation being requested was not performed because the user has not logged
    on to the network. The specified service does not exist." This clearly implies some sort of account issue. Exactly how are you initiating the client agent setup?"
    For more information:
    http://social.technet.microsoft.com/Forums/en-US/2c80c8c4-06b5-431f-b732-470b7e531794/ccmsetup-failed-with-error-code-0x800704dd?forum=configmanagerdeployment
    Best Regards,
    Joyce
    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.

  • SCCM 2007 migrated clients (SCCM 2012) are still visible

    Hi,
    We migrated some SCCM 2007 Windows 7 clients to SCCM 2012 (upgraded the clients via push).
    This worked fine for most of the clients but not all so I cannot just delete clients from SCCM 2007.
    How can we clean the succesfully migrated? I cannot see which ones are succesfully migrated in SCCM 2007, the all show active (even the succesfully migrated ones).
    Pls advise.
    J.
    Jan Hoedt

    The client will become inactive if it's not requesting client policies, sending heartbeats, sending inventories, or sending status messages any more in a period of by default 7 days (but it all depends on the configured intervals). Also, if you
    delete clients that are still active, they will come back with the next heartbeat if they are still active.
    My Blog: http://www.petervanderwoude.nl/
    Follow me on twitter: pvanderwoude

  • Unable to move SCCM 2007 database to SQL 2012 SP1

    Hi ,
    We want to Move
    SCCM 2007 R3 database to SQL Server 2012 SP1.
    SCCM server Version :
    4.00.6487.2000
    Build Number : 6487
    But it says fatal error during the move wizard.
    In ConfigMgrSetup.log it says :
     ***SqlError: [42000][102][Microsoft][ODBC SQL Server Driver][SQL Server]Incorrect syntax near '99901'. : SiteControl_ins_upd
    ***SqlError: [42000][102][Microsoft][ODBC SQL Server Driver][SQL Server]Incorrect syntax near '99901'. : SiteControl_ins_upd
    I already installed following updates on SCCM server , but still it failed to move.
     2676737 
     2676776 

    This would be manual process. The simplest way to fix them is to reinstall the reporting point.
    Garth Jones | My blogs: Enhansoft and
    Old Blog site | Twitter:
    @GarthMJ

  • SCCM 2007 - All clients from primary site have vanished from central site collections

    Hi all,
    we have a SCCM 2007 R2 setup with one central site, one Primary Site (A) with a secondary site hanging off it and another Primary Site (B). Suddenly all the clients from the Primary Site A (and also it's Secondary Site) have vanished from the central
    site. All the clients are still present when we check Collections from the admin console on Primary Site A site server - they have simply disappeared when we check Collections from the Central Site admin console.
    Can anyone provide any info on a good starting point for troubleshooting this issue? As a sidenote, we can still push packages out to the Primary Site A distribution point and both the Primary and Central site can communicate/ping each other.
    Any help/info would be much appreciated!
    Thanks

    Check the
    site replication on central site, is that SQL is working fine, and also see the
    inbox folder in central site, might be there is backlog and those DDR files are
    not processing, and after maintenance they got deleted.<o:p></o:p>
    please run
    the heartbeat discovery by hour or day, and once the clients will sent all the
    DDR files then they will appears again.<o:p></o:p>
    Sharad Singh | My blogs: SharadTech | Twitter:
    @SinghSharaad | | Please remember to click “Mark as Answer” on the post that helps you.This can be beneficial to other community members reading the thread.

  • SCCM 2007 console client=no,Approved= Approved,there is further information

    Hi Team,
    We are having parent and child Domain. Consider ABC is Parent where SCCM Installed and XYZ is the Child Domain.
    Machines in the Child dmain are not publishing AD information to the parent Domain.
    Client : Automatic Discovery was unsuccessful. Also, in the console under Client = NO.
    Kindly let us know the solution.
    \Arjun Kandasamy

    Hi Jason,
    Location services Log: LSGetVersionFRomAD : failed to retrieve version of the site 'XYZ' (0x80004005)
    we have check the firewall, and current settings provided below,
    From SCCM serverto client on 3268/TCP is allowed in the firewall.
    From Client to SCCM server on port 3268 /TCP is not allowed in the firewall.
    Kindly let me know, why the clients in the child domain not publishing AD Information.
    \Arjun Kandasamy

  • SCCM 2007 R2 - Rebooted DP since then unable to add or remove packages to DP

    Hi
    looking for some advice...
    Running Config Mgr 2007 R2
    Server 1 - SCCM Management Point
    Server 2 - SCCM Distribution Point
    Server 3 - SCCM Software Update Point
    Share - NetApp Share
    Rebooted the DP and when it came back up WDS wouldnt start. i removed PXE Service Point and removed WDS Role, re-installed WDS role and PXE Service Point. 
    WDS started ok since then i am unable to add/remove boot images to the distribution point stuck with Removal Retrying or Install retrying.
    Error Message ID - 2302
    distmgr.log - Cannot establish connection to ["Display=\\GRPSCCMDP01\"]MSWNET:["SMS_SITE=NEC"]\\GRPSCCMDP01\
    Any help will be much appreciated.
    Regards
    Matt

    Hi
    Thanks for replying
    yes
    Server 1 (GRPSCCMMP01) - SCCM Management Point is our Primary Site
    Server 2 (GRPSCCMDP01) - SCCM Distribution Point
    The NetApp Share is the Source Directory for our SCCM Packages.
    Basically Everything was working fine up until wednesday when our SQL DBA started to receive SQL errors:
    DESCRIPTION:   SSPI handshake failed with error code 0x8009030c, state 14 while establishing a connection with integrated security; the connection has been closed. Reason: AcceptSecurityContext
    failed. The Windows error code indicates the cause of failure.  [CLIENT: 10.130.17.72].
    followed by..
    Login failed. The login is from an untrusted domain and cannot be used with Windows authentication. [CLIENT: 10.130.17.72]
    I rebooted the Distribution Point Wednesday night to see if that would resolve the SQL errors. When I checked the server Thursday morning I noticed the WDS (Windows Deployment Service) was in a stopped state. I tried to start the service and it wouldn’t
    start.
    Rebooted server again – still the same
    Removed the PXE Service Point from the SCCM DP and removed the WDS role, rebooted server and then re-added them again.
    WDS successfully started.
    Since then we are unable to upload packages to the SCCM DP
    Error ID – 2302 - SMS Distribution Manager failed to process package.
    Packages are in a constant “install retrying” state.
    I have checked the distmgr.log and it states the following:
    Cannot establish connection to ["Display=\\GRPSCCMDP01\"]MSWNET:["SMS_SITE=NEC"]

  • SCCM 2007 to SCCM 2012 CLIENT upgrade

    Hi,
    We have some Windows XP machines with a SCCM 2007 client, connected to a SCCM 2007 server. Meanwhile some client are already migrated to Windows 7 but still connected to SCCM 2007 (and their packages/collections).
    Now we would like to:
    -migrate the Windows 7 machines to SCCM 2012 and keep their packages (so no re-run of advertisements) run
    -migrate the Windows XP machines by migrating the SCCM 2007 clients then advertise a task sequence (Windows 7) to it
    Questions:
    -should we push the sccm client from 2007 or from 2012 server to keep the membership of collections?
    -if we have to push from 2007, please advise howto: use ccmsetup.exe, the msi (is this the way to go: http://blog.metasplo.it/2012/10/how-to-upgrade-sccm-2007-clients-to.html)?
    Please advise.
    J.
    Jan Hoedt

    It doesn't seem to be published on the site.
    I'll paste it here. Could you advise?
    I would like to test with a cmd, so I made an install.cmd which contains.
    @echo on
    Cscript ConfigMgrStartup.vbs /ConfigMgrStartup.xml
    pause
    Then I edited the configmgrstartup.xml:
    *Commmented lab1 since I'm not sure what to put there, why put a machine name and why the forward slash?
    I'd expect domain\administrator.
    *Commented out hotfixes since we don't need it
    Launched the cmd but nothing happens, no loggings either.
    !-- <Option Name="LocalAdmin" >lab1/dadmin</Option> -->
        <Option Name="SiteCode" >LTF</Option>
        <Option Name="CacheSize">8120</Option>
        <Option Name="AgentVersion">5.00.7804.1000</Option>
        <Option Name="MinimumInterval">0</Option>
        <Option Name="ClientLocation">\\oursccmserver\SMS_PRD\Client</Option>
        <Option Name="MaxLogFile">2048</Option>
        <Option Name="ErrorLocation">\\dfs\ErrorLogs\Clientinstall</Option>
        <!-- <Option Name="AutoHotfix">\\cm1\ConfigMgr\Client\Hotfixes</Option> -->
        <Option Name="Delay" >5</Option>
        <InstallProperty Name="FSP">oursccmserver.fqdn</InstallProperty>
        <InstallProperty Name="SMSMP">oursccmserver.fqdn</InstallProperty>
        <CCMSetupParameter Name="BITSPriority">HIGH</CCMSetupParameter>
        <CCMSetupParameter Name="noservice" />
        <ServiceCheck Name="BITS" State="Running" StartMode="Auto" Enforce="True" />
        <ServiceCheck Name="winmgmt" State="Running" StartMode="Auto" Enforce="True" />
        <ServiceCheck Name="wuauserv" State="Running" StartMode="Auto" Enforce="True" />
        <ServiceCheck Name="lanmanserver" State="Running" StartMode="Auto" Enforce="True" />
        <ServiceCheck Name="RpcSs" State="Running" StartMode="Auto" Enforce="True" />
        <RegistryValueCheck Key="HKLM\SOFTWARE\Microsoft\Ole" Value="EnableDCOM" Expected="Y" Enforce="True" Type="REG_SZ"/>
        <RegistryValueCheck Key="HKLM\SOFTWARE\Microsoft\Ole" Value="EnableRemoteConnect" Expected="Y" Enforce="False" Type="REG_SZ"/>
        <RegistryValueCheck Key="HKLM\SOFTWARE\Microsoft\Ole" Value="LegacyAuthenticationLevel" Expected="2" Enforce="False" Type="REG_DWORD"/>
        <RegistryValueCheck Key="HKLM\SOFTWARE\Microsoft\Ole" Value="LegacyImpersonationLevel" Expected="2" Enforce="False" Type="REG_DWORD"/>
    </Startup>
    Jan Hoedt

  • SCCM 2012 client push to SCCM 2007 clients

    Hi,
    I'd like to upgrade SCCM 2007 clients to SCCM 2012. Their computers appear in SCCM 2012.
    I could select them and then select "install client" but there are about 400 to upgrade, some or online some not.
    Will the process of upgrade run when the offline clients get online?
    J.
    Jan Hoedt

    If your clients are member of an Active Directory, you could also use a startup script to update the client.
    Jason has a very popular script you can use:
    http://blog.configmgrftw.com/configmgr-client-startup-script/
    Ronni Pedersen | Microsoft MVP - ConfigMgr | Blogs:
    www.ronnipedersen.com/ and www.SCUG.dk/ | Twitter
    @ronnipedersen

  • SCCM 2007 to SCCM 2012 client migration via Powershell

    Hi
    I'm looking for a controlled way to migrate a SCCM 2007 server client to SCCM 2012. A push of SCCM Console is no option.
    I 'll do all the testing but hoped to gain some time by having these questions answered:
    *can an install of SCCM 2012 client be remotely triggered in one go (no uninstall of 2007 needed)?
    *if uninstall is needed (of sccm 2007 client), does it need a reboot?
    What command to use (preferrably powershell):
    \\ourserver\Client\ccmsetup.exe" -argumentlist "SMSSITECODE=sitecode","SMSMP=oursccmserver","SMSCACHESIZE=8000","FSP=oursccmserver","CCMLOGMAXSIZE=104857600"
    OR (guess that's the command SCCM is using)
    Install-CMClient-DeviceName$ComputerName-IncludeDomainController$False-SiteCodePRD-ForceReinstall$True-AlwaysInstallClient$True-Verbose
    J.
    Jan Hoedt

     do I need to import the machine in SCCM 2012 also or launching the SCCM 2012 install from a SCCM 2007
    will do this?
    How will you do that? This does not work at all when using client push obviously. You can only use packages/programs to update clients to CM12 in that case and that's something you did not want to do.
    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.

  • Upgraded SCCM 2012 SP1 to CU5 - Problem updating Endpoint Protection Client (to V4.5.216.0)

    We upgraded SCCM SP1 to CU5. We got one primary site, on which we had no problems with running the CU setup. After the upgrade we pushed the new administrator console and client.
    SP1 CU5 - console update -> Updated on all administrator users (50 computers)
    SP1 CU5- x64 and x86 client update -> Updated on pilot group (50 computers)
    No problems so far.
    We are having troubles updating the Endpoint Protection Client version. This was V4.1.522.0 before the upgrade. When we enroll a new computer, it receives the new V4.5.216.0, which is the last version.
    But we can't update our older clients. We try to deploy the software update (Update for Forefront Endpoint Protection 2010 Client - 4.5.216.0 (KB2952678)) but it doesn't install. After 20 minutes, if I look in the Deployment logs, it says the installation
    was successfull; but it isn't, it's still the old version.
    Strange thing is, we can upgrade to an inbetween version (Update for Forefront Endpoint Protection 2010 Client - 4.3.215.0 (KB2864366)). Which installs on a test client.
    If I look to the cache files of the new EP Client update, and use the UpdateInstall.exe manually, the update does install. Then I see in the logfile EndpointProtectionAgent.log it still refers to the version 4.1.522.0.
    EP 4.5.216.0 is installed, version is higher than expected installer version 4.1.522.0. EndpointProtectionAgent 13/01/2015 14:54:00 7808 (0x1E80)
    Re-apply EP AM policy. EndpointProtectionAgent 13/01/2015 14:54:00 7808 (0x1E80)
    Apply AM Policy. EndpointProtectionAgent 13/01/2015 14:54:00 7808 (0x1E80)
    Create Process Command line: "c:\Program Files\Microsoft Security Client\\ConfigSecurityPolicy.exe" "C:\Windows\CCM\EPAMPolicy.xml". EndpointProtectionAgent 13/01/2015 14:54:00 7808 (0x1E80)
    Applied the C:\Windows\CCM\EPAMPolicy.xml with ConfigSecurityPolicy.exe successfully. EndpointProtectionAgent 13/01/2015 14:54:02 7808 (0x1E80)
    Save new policy state 1 to registry SOFTWARE\Microsoft\CCM\EPAgent\PolicyApplicationState EndpointProtectionAgent 13/01/2015 14:54:02 7808 (0x1E80)
    State 1 and ErrorCode 0 and ErrorMsg and PolicyName Antimalware Policy and GroupResolveResultHash D277339FA77A9017801399D96266BAD42DE74F38 is NOT changed. EndpointProtectionAgent 13/01/2015 14:54:02 7808 (0x1E80)
    Skip sending state message due to same state message already exists. EndpointProtectionAgent 13/01/2015 14:54:02 7808 (0x1E80)
    Firewall provider is installed. EndpointProtectionAgent 13/01/2015 14:54:02 7808 (0x1E80)
    Installed firewall provider meet the requirements. EndpointProtectionAgent 13/01/2015 14:54:02 7808 (0x1E80)
    This is the WindowsUpdate.log when I try to push the new EP client.
    2015-01-14 11:24:13:651 7416 1c44 Handler :::::::::
    2015-01-14 11:24:13:651 7416 1c44 Handler : Updates to install = 1
    2015-01-14 11:24:21:716 7416 1c44 Handler : WARNING: Command line install completed. Return code = 0x8004ff25, Result = Failed, Reboot required = false
    2015-01-14 11:24:21:716 7416 1c44 Handler : WARNING: Exit code = 0x8024200B
    2015-01-14 11:24:21:716 7416 1c44 Handler :::::::::
    2015-01-14 11:24:21:716 7416 1c44 Handler :: END :: Handler: Command Line Install
    2015-01-14 11:24:21:732 7416 1c44 Handler :::::::::::::
    2015-01-14 11:24:21:794 1096 c18 Agent *********
    2015-01-14 11:24:21:794 1096 edc AU Can not perform non-interactive scan if AU is interactive-only
    2015-01-14 11:24:21:794 1096 c18 Agent ** END ** Agent: Installing updates [CallerId = CcmExec]
    2015-01-14 11:24:21:794 1096 c18 Agent *************
    2015-01-14 11:24:21:794 2296 fac COMAPI >>-- RESUMED -- COMAPI: Install [ClientId = CcmExec]
    2015-01-14 11:24:21:794 2296 fac COMAPI - Install call complete (succeeded = 0, succeeded with errors = 0, failed = 1, unaccounted = 0)
    2015-01-14 11:24:21:794 2296 fac COMAPI - Reboot required = No
    2015-01-14 11:24:21:794 2296 fac COMAPI - WARNING: Exit code = 0x00000000; Call error code = 0x80240022
    2015-01-14 11:24:21:794 2296 fac COMAPI ---------
    2015-01-14 11:24:21:794 2296 fac COMAPI -- END -- COMAPI: Install [ClientId = CcmExec]
    2015-01-14 11:24:21:794 2296 fac COMAPI -------------
    2015-01-14 11:24:21:794 1096 1620 AU Can not perform non-interactive scan if AU is interactive-only
    2015-01-14 11:24:26:739 1096 1424 Report REPORT EVENT: {ED287668-4BEF-46FD-BB57-CA17680E5D3B} 2015-01-14 11:24:21:732+0100 1 182 101 {A90C3005-7B59-4268-8B11-12D9BE5C8EA0} 201 80070643 CcmExec Failure Content Install Installation Failure: Windows failed to install the following update with error 0x80070643: Update for System Center Endpoint Protection 2012 Client - 4.5.216.0 (KB2952678).
    2015-01-14 11:24:27:207 1096 1424 Report CWERReporter::HandleEvents - WER report upload completed with status 0x8
    2015-01-14 11:24:27:207 1096 1424 Report WER Report sent: 7.5.7601.17514 0x80070643 A90C3005-7B59-4268-8B11-12D9BE5C8EA0 Install 101 Managed
    2015-01-14 11:24:27:207 1096 1424 Report CWERReporter finishing event handling. (00000000)
    Thanks in advance!

    Hello,
    According to
    kb2952678:
    To apply this update, you must have one of the following installed:
    System Center 2012 R2 Configuration Manager Cumulative Update 4 for System Center 2012
    Configuration Manager Service Pack
    Service Pack 2 for System Center Configuration Manager 2007 and Update Rollup 1 for
    Forefront Endpoint Protection 2010
    Do you have Update Rollup 1 for Forefront Endpoint Protection 2010?
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • SCCM 2012 Client delpoyment in SCCM 2007 Native world

    Hi Team,
    In my account I have SCCM 2007 running in Native mode.... we do not support internet based clients there..but work on HTTPS only. Now I have implemented SCCM 2012 R2 there and now testing the client migration so that I can upgrade the SCCM client agent from
    2007 to 2012. In SCCM 2012 we have to support internet based clients and so the SCCM 2012 client which we need to install should be compatible on internet and intranet both
    The plan is to use the existing SCCM 2007 infra to do that. Send the ccmsetup.exe ( of SCCM 2012 ) in a package to all the clients via SCCM 2007 Software Distribution and trigger SCCM 2012 installation.
    Just to do a small test I did this :
    1. Created a folder in C drive of a client machine and copied the ccmsetup.exe ( of SCCM 2012 ) in it.
    2. Tried to trigger the installation with below mentioned commandlines..... but getting error as mentioned below.... Please help.
    Command line used : 
    Here ABCD.contoso.org is the intranet MP and PQRS.dmzone.org is internet MP
    CCMSetup.exe /UsePKICert /NoCRLCheck smsmp=ABCD.contoso.org ccmhostname=PQRS.dmzone.org smssitecode=ABC
    CCMSetup.exe /UsePKICert /NoCRLCheck smsmp=ABCD.contoso.org smssitecode=ABC
    CCMSetup.exe smsmp=ABCD.contoso.org smssitecode=ABC
    Error in ccmsetup.log
    <![LOG[==========[ ccmsetup started in process 3068 ]==========]LOG]!><time="12:49:12.547+300" date="11-11-2014" component="ccmsetup" context="" type="1" thread="5076" file="ccmsetup.cpp:9441">
    <![LOG[Running on platform X64]LOG]!><time="12:49:12.548+300" date="11-11-2014" component="ccmsetup" context="" type="1" thread="5076" file="util.cpp:1892">
    <![LOG[Updated security on object C:\Windows\ccmsetup\cache\.]LOG]!><time="12:49:12.548+300" date="11-11-2014" component="ccmsetup" context="" type="0" thread="5076" file="ccmsetup.cpp:9285">
    <![LOG[Launch from folder C:\Windows\ccmsetup\]LOG]!><time="12:49:12.548+300" date="11-11-2014" component="ccmsetup" context="" type="1" thread="5076" file="ccmsetup.cpp:721">
    <![LOG[CcmSetup version: 5.0.7958.1401]LOG]!><time="12:49:12.549+300" date="11-11-2014" component="ccmsetup" context="" type="1" thread="5076" file="ccmsetup.cpp:727">
    <![LOG[Successfully started the ccmsetup service]LOG]!><time="12:49:12.550+300" date="11-11-2014" component="ccmsetup" context="" type="1" thread="4744" file="ccmsetup.cpp:3271">
    <![LOG[Deleted file C:\Windows\ccmsetup\ccmsetup.exe.download]LOG]!><time="12:49:12.551+300" date="11-11-2014" component="ccmsetup" context="" type="1" thread="4744" file="ccmsetup.cpp:9497">
    <![LOG[In ServiceMain]LOG]!><time="12:49:12.552+300" date="11-11-2014" component="ccmsetup" context="" type="0" thread="3284" file="ccmsetup.cpp:3365">
    <![LOG[Folder 'MicABCoft\Configuration Manager' not found. Task does not exist.]LOG]!><time="12:49:12.556+300" date="11-11-2014" component="ccmsetup" context="" type="0" thread="4744"
    file="wintask.cpp:622">
    <![LOG[CcmSetup is exiting with return code 0]LOG]!><time="12:49:12.556+300" date="11-11-2014" component="ccmsetup" context="" type="1" thread="4744" file="ccmsetup.cpp:10879">
    <![LOG[Running on 'MicABCoft Windows 7 Enterprise ' (6.1.7601). Service Pack (1.0). SuiteMask = 272. Product Type = 18]LOG]!><time="12:49:12.618+300" date="11-11-2014" component="ccmsetup" context="" type="1"
    thread="3284" file="util.cpp:1974">
    <![LOG[Ccmsetup command line: "C:\Windows\ccmsetup\ccmsetup.exe" /runservice "/UsePKICert" "/NoCRLCheck" "smssitecode=ABC"]LOG]!><time="12:49:12.619+300" date="11-11-2014" component="ccmsetup"
    context="" type="1" thread="3284" file="ccmsetup.cpp:3590">
    <![LOG[Command line parameters for ccmsetup have been specified.  No registry lookup for command line parameters is required.]LOG]!><time="12:49:12.619+300" date="11-11-2014" component="ccmsetup" context=""
    type="1" thread="3284" file="ccmsetup.cpp:3775">
    <![LOG[Command line: "C:\Windows\ccmsetup\ccmsetup.exe" /runservice "/UsePKICert" "/NoCRLCheck" "smssitecode=ABC"]LOG]!><time="12:49:12.619+300" date="11-11-2014" component="ccmsetup"
    context="" type="1" thread="3284" file="ccmsetup.cpp:3776">
    <![LOG[SslState value: 448]LOG]!><time="12:49:12.619+300" date="11-11-2014" component="ccmsetup" context="" type="0" thread="3284" file="ccmsetup.cpp:4425">
    <![LOG[CCMHTTPPORT:    80]LOG]!><time="12:49:12.619+300" date="11-11-2014" component="ccmsetup" context="" type="1" thread="3284" file="ccmsetup.cpp:8621">
    <![LOG[CCMHTTPSPORT:    443]LOG]!><time="12:49:12.619+300" date="11-11-2014" component="ccmsetup" context="" type="1" thread="3284" file="ccmsetup.cpp:8636">
    <![LOG[CCMHTTPSSTATE:    448]LOG]!><time="12:49:12.619+300" date="11-11-2014" component="ccmsetup" context="" type="1" thread="3284" file="ccmsetup.cpp:8654">
    <![LOG[CCMHTTPSCERTNAME:    ]LOG]!><time="12:49:12.619+300" date="11-11-2014" component="ccmsetup" context="" type="1" thread="3284" file="ccmsetup.cpp:8672">
    <![LOG[FSP:    ]LOG]!><time="12:49:12.619+300" date="11-11-2014" component="ccmsetup" context="" type="1" thread="3284" file="ccmsetup.cpp:8724">
    <![LOG[CCMFIRSTCERT:    1]LOG]!><time="12:49:12.619+300" date="11-11-2014" component="ccmsetup" context="" type="1" thread="3284" file="ccmsetup.cpp:8782">
    <![LOG[HTTPS is enforced for Client. The current state is 31.]LOG]!><time="12:49:12.621+300" date="11-11-2014" component="ccmsetup" context="" type="1" thread="3284" file="ccmutillib.cpp:403">
    <![LOG[Begin searching client certificates based on Certificate Issuers]LOG]!><time="12:49:12.623+300" date="11-11-2014" component="ccmsetup" context="" type="1" thread="3284" file="ccmcert.cpp:4393">
    <![LOG[Completed searching client certificates based on Certificate Issuers]LOG]!><time="12:49:12.624+300" date="11-11-2014" component="ccmsetup" context="" type="1" thread="3284" file="ccmcert.cpp:4550">
    <![LOG[Begin to select client certificate]LOG]!><time="12:49:12.624+300" date="11-11-2014" component="ccmsetup" context="" type="1" thread="3284" file="ccmcert.cpp:4706">
    <![LOG[The 'Certificate Selection Criteria' was not specified, counting number of certificates present in 'MY' store of 'Local Computer'.]LOG]!><time="12:49:12.624+300" date="11-11-2014" component="ccmsetup" context=""
    type="0" thread="3284" file="ccmcert.cpp:4742">
    <![LOG[1 certificate(s) found in the 'MY' certificate store.]LOG]!><time="12:49:12.624+300" date="11-11-2014" component="ccmsetup" context="" type="0" thread="3284" file="ccmcert.cpp:4770">
    <![LOG[Only one certificate present in the certificate store.]LOG]!><time="12:49:12.624+300" date="11-11-2014" component="ccmsetup" context="" type="0" thread="3284" file="ccmcert.cpp:4774">
    <![LOG[Begin validation of Certificate [Thumbprint 50051EB74624621341900739D65706D8089A0941] issued to 'D-LJACKNVM7X64.ABClan.org']LOG]!><time="12:49:12.624+300" date="11-11-2014" component="ccmsetup" context=""
    type="1" thread="3284" file="ccmcert.cpp:1662">
    <![LOG[Failed to get certificate key provider information. Error 0x80092004]LOG]!><time="12:49:12.626+300" date="11-11-2014" component="ccmsetup" context="" type="3" thread="3284" file="ccmcert.cpp:1199">
    <![LOG[The Certificate [Thumbprint 50051EB74624621341900739D65706D8089A0941] issued to 'D-LJACKNVM7X64.ABClan.org' has 'Client Authentication' capability.]LOG]!><time="12:49:12.633+300" date="11-11-2014" component="ccmsetup"
    context="" type="0" thread="3284" file="ccmcert.cpp:582">
    <![LOG[Completed validation of Certificate [Thumbprint 50051EB74624621341900739D65706D8089A0941] issued to 'D-LJACKNVM7X64.ABClan.org']LOG]!><time="12:49:12.633+300" date="11-11-2014" component="ccmsetup" context=""
    type="1" thread="3284" file="ccmcert.cpp:1803">
    <![LOG[>>> Client selected the PKI Certificate [Thumbprint 50051EB74624621341900739D65706D8089A0941] issued to 'D-LJACKNVM7X64.ABClan.org']LOG]!><time="12:49:12.633+300" date="11-11-2014" component="ccmsetup"
    context="" type="1" thread="3284" file="ccmcert.cpp:4850">
    <![LOG[Raising event:
    instance of CCM_ServiceHost_CertRetrieval_Status
    ClientID = "GUID:A5879665-7A1B-4529-827E-52FA34ABD384";
    DateTime = "20141111174912.640000+000";
    HRESULT = "0x00000000";
    ProcessID = 3068;
    ThreadID = 3284;
    ]LOG]!><time="12:49:12.640+300" date="11-11-2014" component="ccmsetup" context="" type="1" thread="3284" file="event.cpp:715">
    <![LOG[Failed to submit event to the Status Agent. Attempting to create pending event.]LOG]!><time="12:49:12.643+300" date="11-11-2014" component="ccmsetup" context="" type="2" thread="3284"
    file="event.cpp:737">
    <![LOG[Raising pending event:
    instance of CCM_ServiceHost_CertRetrieval_Status
    ClientID = "GUID:A5879665-7A1B-4529-827E-52FA34ABD384";
    DateTime = "20141111174912.640000+000";
    HRESULT = "0x00000000";
    ProcessID = 3068;
    ThreadID = 3284;
    ]LOG]!><time="12:49:12.643+300" date="11-11-2014" component="ccmsetup" context="" type="1" thread="3284" file="event.cpp:770">
    <![LOG[Successfully submitted pending event to WMI.]LOG]!><time="12:49:12.648+300" date="11-11-2014" component="ccmsetup" context="" type="0" thread="3284" file="event.cpp:813">
    <![LOG[CCMCERTID:    MY;50051EB74624621341900739D65706D8089A0941]LOG]!><time="12:49:12.649+300" date="11-11-2014" component="ccmsetup" context="" type="0" thread="3284" file="ccmsetup.cpp:8803">
    <![LOG[No MP or source location has been explicitly specified.  Trying to discover a valid content location...]LOG]!><time="12:49:12.649+300" date="11-11-2014" component="ccmsetup" context="" type="1"
    thread="3284" file="ccmsetup.cpp:4729">
    <![LOG[Looking for MPs from AD...]LOG]!><time="12:49:12.649+300" date="11-11-2014" component="ccmsetup" context="" type="1" thread="3284" file="ccmsetup.cpp:4737">
    <![LOG[Performing AD query: '(&(ObjectCategory=mSSMSManagementPoint)(mSSMSDefaultMP=TRUE)(mSSMSSiteCode=ABC))']LOG]!><time="12:49:13.226+300" date="11-11-2014" component="ccmsetup" context="" type="0"
    thread="3284" file="lsad.cpp:657">
    <![LOG[OperationalXml '<ClientOperationalSettings><Version>5.00.7958.1000</Version><SecurityConfiguration><SecurityModeMask>0</SecurityModeMask><SecurityModeMaskEx>448</SecurityModeMaskEx><HTTPPort>80</HTTPPort><HTTPSPort>443</HTTPSPort><CertificateStoreName></CertificateStoreName><CertificateIssuers></CertificateIssuers><CertificateSelectionCriteria></CertificateSelectionCriteria><CertificateSelectFirstFlag>1</CertificateSelectFirstFlag><SiteSigningCert>308202F0308201D8A003020102021012B6F63E56359BB9493496A444140A76300D06092A864886F70D01010B05003016311430120603550403130B53697465205365727665723020170D3134303931383135313330355A180F32313134303832363135313330355A3016311430120603550403130B536974652053657276657230820122300D06092A864886F70D01010105000382010F003082010A0282010100D2F099DE475F5360729CBD0CEB1F9DC291383C9787E19DEA9CBE8988799E60CA26CB3FEBF2E4115FE6D8A6B42E063E72B2B035BEFA0BA9D8FB9E892366699A25FB9F10956770DAC5DD650CBAFB1BC46DACE2F2A777C42D269366361B6207318D5ED52D32078EA0D59CDBE13892B1A7BD7E21CD748B6BF636D9901610BE6D8D363646651ACB10440EE31F9F36FA48227631D9989E8349B888C3C4959E79AC0C4B579F10F41D30285B478FCED289AA23066D407D73AF73408D7609442EC7AC32F96EABB176E42159BEFDF6537864FEFC9F8491DA7C6BB9BCB99C5FF7E31ADC294FFD49088899C1698F44FE9F1C18046AF8255A521C6910AC113845997960ECA8070203010001A3383036301E0603551D11041730158213524F534E543232312E6574736C616E2E6F726730140603551D25040D300B06092B060104018237650B300D06092A864886F70D01010B050003820101002061E3AC32E4EAF2BEA7CF3004372C1FA61B5114B3CB838FA92A2037D1A26FB2926F2D3FB000B1249099E513BBD76DCB01D74BD6A273CCEAE84CD87F77D8BBB256F4FA58030B8DADC3F6C8B84967D8F7DFA81FE2C57426AB918CC61E42D5838C4A40D84F39E1B3288415609F2C3B0E52988EAB6E155A68725828B09D7475D9ED764DFD976F1D40CCEFAAD5E0F3B21E4DE7EA0BFEF617D4C8459C8E37B49EFBCF0C3921B2FD74BFDBEFFEF1B0CB1A1C85C5F3A16AE974DF3AB0E28EED844C43AB0E3F564C82FCD986CC429057702680B3869765A2A5128EC1EC378F90A9E4BA27572E64F500E645CFA5CBC300EAC980D68E6B96A1E1C7D95B2041CC807F7C74FF</SiteSigningCert></SecurityConfiguration><RootSiteCode>ABC</RootSiteCode><CCM>
    <CommandLine>SMSSITECODE=ABC</CommandLine> </CCM><FSP> <FSPServer></FSPServer> </FSP><Capabilities SchemaVersion ="1.0"><Property Name="SSLState" Value="0" /></Capabilities><Domain
    Value="ABClan.org" /><Forest Value="ABCroot.org" /></ClientOperationalSettings>']LOG]!><time="12:49:13.378+300" date="11-11-2014" component="ccmsetup" context="" type="0"
    thread="3284" file="lsadcache.cpp:236">
    <![LOG[The MP name retrieved is 'ABCD.contoso.org' with version '7958' and capabilities '<Capabilities SchemaVersion="1.0"><Property Name="SSLState" Value="0"/></Capabilities>']LOG]!><time="12:49:13.381+300"
    date="11-11-2014" component="ccmsetup" context="" type="1" thread="3284" file="lsadcache.cpp:334">
    <![LOG[MP 'ABCD.contoso.org' is not compatible]LOG]!><time="12:49:13.382+300" date="11-11-2014" component="ccmsetup" context="" type="1" thread="3284" file="lsadcache.cpp:345">
    <![LOG[Retrieved 0 MP records from AD for site 'ABC']LOG]!><time="12:49:13.382+300" date="11-11-2014" component="ccmsetup" context="" type="0" thread="3284" file="lsadcache.cpp:287">
    <![LOG[FromAD: command line = SMSSITECODE=ABC]LOG]!><time="12:49:13.383+300" date="11-11-2014" component="ccmsetup" context="" type="0" thread="3284" file="ccmsetup.cpp:288">
    <![LOG[Local Machine is joined to an AD domain]LOG]!><time="12:49:13.383+300" date="11-11-2014" component="ccmsetup" context="" type="0" thread="3284" file="lsad.cpp:715">
    <![LOG[Current AD forest name is ABCroot.org, domain name is ABClan.org]LOG]!><time="12:49:13.386+300" date="11-11-2014" component="ccmsetup" context="" type="1" thread="3284" file="lsad.cpp:843">
    <![LOG[Domain joined client is in Intranet]LOG]!><time="12:49:13.386+300" date="11-11-2014" component="ccmsetup" context="" type="1" thread="3284" file="lsad.cpp:1048">
    <![LOG[CMPInfoFromADCache requests are throttled for 01:07:08]LOG]!><time="12:49:13.386+300" date="11-11-2014" component="ccmsetup" context="" type="0" thread="3284" file="lsadcache.cpp:173">
    <![LOG[No valid source or MP locations could be identified to download content from. Ccmsetup.exe cannot continue.]LOG]!><time="12:49:13.386+300" date="11-11-2014" component="ccmsetup" context="" type="3"
    thread="3284" file="ccmsetup.cpp:4806">
    <![LOG[Failed to parse '"C:\Windows\ccmsetup\ccmsetup.exe" /runservice "/UsePKICert" "/NoCRLCheck" "smssitecode=ABC"' with error 0x80004005]LOG]!><time="12:49:13.386+300" date="11-11-2014"
    component="ccmsetup" context="" type="3" thread="3284" file="ccmsetup.cpp:4611">
    <![LOG[A Fallback Status Point has not been specified.  Message with STATEID='100' will not be sent.]LOG]!><time="12:49:13.386+300" date="11-11-2014" component="ccmsetup" context="" type="1"
    thread="3284" file="ccmsetup.cpp:9767">
    <![LOG[A Fallback Status Point has not been specified.  Message with STATEID='307' will not be sent.]LOG]!><time="12:49:13.387+300" date="11-11-2014" component="ccmsetup" context="" type="1"
    thread="3284" file="ccmsetup.cpp:9767">
    <![LOG[CcmSetup failed with error code 0x80004005]LOG]!><time="12:49:13.388+300" date="11-11-2014" component="ccmsetup" context="" type="1" thread="5076" file="ccmsetup.cpp:10883">

    Hi Jason,
    Thanks for your reply..... I tried with /mp switch.... but same error.... if you look at the logs it says 
    <![LOG[MP 'ABCD.contoso.org' is not compatible]LOG]!><time="12:49:13.382+300"
    date="11-11-2014" component="ccmsetup" context="" type="1" thread="3284" file="lsadcache.cpp:345">
    <![LOG[Retrieved 0 MP records from AD for site 'ABC']LOG]!>
    Not sure why it is saying " not compatible " ... its a valid MP..... from the same client machine below links are working fine..
    http://ABCD.contoso.org/sms_mp/.sms_aut?mpcert
    http://ABCD.contoso.org/sms_mp/.sms_aut?mplist
    Thanks,
    Sam

  • How to force site code discovery on all the clients, Migration SCCM 2007 to SCCM 2012

    HI,
    I migrated SCCM 2007 to SCCM 2012 SP1, but the clients does not update the New Site Code Automatically, if I click on Discovery option the client find the new site, but I need do this automatically because are too many clients.
    This registry key does not  exist on client computers.
    HKLM\Software\Microsoft\SMS\MobileClient\GPRequestedSiteAssignmentCode
    HKLM\Software\Microsoft\SMS\MobileClient\GPSiteAssignmentRetryInterval(Min)
    HKLM\Software\Microsoft\SMS\MobileClient\GPSiteAssignmentRetryDuration(Hour)
    Any Help?
    Thanks.

    Hello ICH-CR,
    Thanks for writing to the SysCtr ConfigMgr forums.
    I think there are multiple solutions to this issue and you can choose whatever fits best to your scenario.
    1. While upgrading the clients from SCCM 2007 to  2012 you can assign the clients to your ConfigMgr 2012 site.
    http://technet.microsoft.com/en-us/library/gg682060.aspx#BKMK_AutomaticAssignment
    You just need to ensure that you have a boundary group and boundaries. More details on
    http://technet.microsoft.com/en-us/library/13694ac5-8f3b-42a9-8040-b23f21c79637#BMBK_CreateBoundaryGrp
    I would suggest the first method because if you create  another child site, you shouldn't have to reassign the clients back again. If that is unlikely then use the following script which is method no 2
    2.
    http://gallery.technet.microsoft.com/scriptcenter/Change-sccm-configmgr-cf6e0327
    This is a VBSCRIPT and  can be ran from a network location using the PSEXC
    3. Here is a smaller script
    'Replace with your Site Code sSiteCode = "EnterNewSiteCode"
    sMachine
    = "."
    set oCCMNamespace
    = GetObject("winmgmts://"
    & sMachine & "/root/ccm")
    Set oInstance
    = oCCMNamespace.Get("SMS_Client")
    set oParams
    = oInstance.Methods_("SetAssignedSite").inParameters.SpawnInstance_()
    oParams.sSiteCode
    = sSiteCode
    oCCMNamespace.ExecMethod
    "SMS_Client",
    "SetAssignedSite",
    oParams
    You can use this script as a logon script .
    Anurag
    Microsoft Certified Professional| Microsoft Certified Technology Specialist (ConfigMgr)
    This posting is provided 'AS IS' with no warranties or guarantees, and confers no rights.
    My Blog
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

Maybe you are looking for