Automate import applications(app-v) in sccm 2012

Hi,
I wonder it there are some ready made tools to import applications, specifically app-v in SCCM 2012.
F.e. an excel-sheet/csv that is filled in with predefined fields and then can import applications.
Pls advise.
J.
Jan Hoedt

The only community tool that I know is SCCM 2012 Application Importer, see:
https://sccmappimp.codeplex.com/
AFAIK, this tool doesn't work with App-V applications, yet.
My Blog: http://www.petervanderwoude.nl/
Follow me on twitter: pvanderwoude

Similar Messages

  • Automate USER BASED PACKAGE installations in SCCM 2012

    Hi All,
    I want to automate the installation of software(in my case a user based package) from the Application Catalog.
    Here is just some general information:
    1. All software(Applications and Packages) deployed to Device Colllections will be published in Software Center
    2. All software(Applications and Packages) deployed to User Based Collections will be published in the Application Catalog
    3. Once software has been deployed from the Application Catalog, it is also available/visible in Software Centre .. this could be confusing for (scripted) test purposes!
    To Automate installations i tested the following (Powershell) methods:
    Methode 1 - Install Device Based Packages (This works)
    $SoftwareCenter = New-Object -ComObject UIResource.UIResourceMgr
    # to show applications
    $Application = $SoftwareCenter.GetAvailableApplications() | where {$_.name -like $APPNAME}
    # to install an application
    $SoftwareCenter.ExecuteProgram($Application.id, $Application.PackageId, $true)
    (once an User Based Package has been installed from the Application Catalog, it will be shown in the results of this method .. but initially it don't!!)
    Method 2 - Install Device based Applications (This works)
    Invoke-WmiMethod -Namespace root\ccm\clientsdk -Class CCM_Application -Name Install -ArgumentList 0,"xxAPP scope IDxx",$True,$False,1,1
    Method 3 - Install User based Applications
    Invoke-WmiMethod -Namespace root\ccm\clientsdk -Class CCM_Application -Name Install -ArgumentList 0,"xxAPP scope IDxx",$False,$False,1,1
    (once an User Based Application has been installed from the Application Catalog, this method can be used .. but initially it can't!!)
    Method 4 - Install User Based Packages (NOT WORKING)
    This solution is based on an (scripted) installation from the Application Catalog. Information can be found on the following sites:
    http://blogs.technet.com/b/configmgrteam/archive/2012/09/19/extending-the-application-catalog-in-system-center-2012-configuration-manager.aspx
    http://allthingsconfigmgr.wordpress.com/2012/10/02/application-catalog-uncovered/#more-284
    You can see the usable operations/methodes, by using the following URL in your SCCM 2012 environment:
    http://YOURSITE/CMApplicationCatalog/ApplicationViewService.asmx
    The method i tried for an installation part is 'installapplication', see example below:
    $service.Installapplication($appid, $deviceid, $null)
    This syntax is correct because it's giving a result that indicates the my command was correct(when i change the variables it produces an error), but that's it ... no application is installed.
    For the record: the operations/methods 'RequestApplicationForUser and GetApplications' are working fine.
    There is also log file 'ServicePortalWebService.log' on the Application Catalog Server in
    C:\Program Files\SMS_CCM\CMApplicationCatalogSvc\Logs, where i can see that Installation call is (correctly) be done.
    To be short:
    Is there anybody who can tell me how to automate (with Powershell) an USER BASED PACKAGE installation?
    With kind regards,
    Hayo Veenstra

    Thanks for your reaction.
    What i want is creating shortcuts in the startmenu of a user, that initiates a SCCM software installation. We also use this method for our SCCM 2007 environment by initating advertisments. I do not want a required user deployments, because when that user
    logs on on another machine (for a short time) .. all his/her software will be deployed. So i do not want to install unnescessary software .. only what a user initiates.
    Do you have other suggestions?
    I'm not sure about the shortcuts.  But, as for required deployments to users installing on all machines they log onto:  Not if you have User Device Affinity running for you.  You can set a requirement in the application to only install on a user's
    primary device.  Another option that we often deploy is to use App-V to deploy a virtual version of that app if the device they logged onto is not their primary.  When they log off, it goes away.  This is all done using User Device Affinity. 
    This is new in 2012. 

  • How do Virtual Applications get published in SCCM 2012

    SCCM 2012 Virtrual applications are deployed, icons appear on desktop and appear to be installed according to the Application Management Client console.  However the SCCM2012 AppDiscovery.log states "Required component is not published".  
    We are running MS Application Virtualization Desktop Client is V4.6.3.25171.  Where can I find the publishing errors?

    Only find Dll, exe files and some XML files there. 
    I do see in the CCM\log\AppDiscovery.log the following:
    <![LOG[    Performing detection of app deployment type PRU-VAPP_U_ATTRouteIt131-A - Microsoft Application Virtualization 4(ScopeId_756A69C5-BB0D-442E-BC79-54E767A8B034/DeploymentType_1acd73db-4883-43c9-90b2-ac044ed12dd8, revision 3) for
    user.]LOG]!><time="13:38:29.891+300" date="12-04-2014" component="AppDiscovery" context="" type="1" thread="936" file="appprovider.cpp:2148">
    <![LOG[Required component [Route It! 1.0.0.1] is not published for S-1-5-21-31572-1897081133-3783826585-2300]LOG]!><time="13:38:32.730+300" date="12-04-2014" component="AppVHandler" context="" type="1"
    thread="936" file="appvhandler.cpp:584">
    <![LOG[+++ AppV application not discovered for S-1-5-21-31572-1897081133-3783826585-2300 [AppDT Id: ScopeId_756A69C5-BB0D-442E-BC79-54E767A8B034/DeploymentType_1acd73db-4883-43c9-90b2-ac044ed12dd8, Revision: 3, AppV Pkg GUID: {D699AA09-CA0E-4774-A5D6-BBD97496FA69},
    AppV Version GUID: {AC834D03-3524-43A3-B5FC-8ED6FE3079E1}]. Some required components are not published.]LOG]!><time="13:38:32.730+300" date="12-04-2014" component="AppVHandler" context="" type="1"
    thread="936" file="appvhandler.cpp:224">
    <![LOG[+++ Did not detect app deployment type PRU-VAPP_U_ATTRouteIt131-A - Microsoft Application Virtualization 4(ScopeId_756A69C5-BB0D-442E-BC79-54E767A8B034/DeploymentType_1acd73db-4883-43c9-90b2-ac044ed12dd8, revision 3) for S-1-5-21-31572-1897081133-3783826585-2300.]LOG]!><time="13:38:32.730+300"
    date="12-04-2014" component="AppDiscovery" context="" type="1" thread="936" file="appprovider.cpp:540">
    But I don't know why all the components are not getting published.
    I have the icons for this app on the desktop and my ID is in the uninstall collection. The uninstall collection says:
    SMS_R_USER.ResourceID,SMS_R_USER.ResourceType,SMS_R_USER.Name,SMS_R_USER.UniqueUserName,SMS_R_USER.WindowsNTDomain from SMS_R_User inner join SMS_G_System_AppClientState  on SMS_R_USER.UniqueUserName = SMS_G_System_AppClientState.UserName where SMS_G_System_AppClientState.AppName='AppV
    - ATTRouteIt131-A' and SMS_G_System_AppClientState.ComplianceState = 1
    But it seems like the AppDiscovery.log does not think the app is installed.  Everytime I run the Application Deployment Evaluation Cycle on the client the AppDiscovery.log shows it trying to install. And since it does not think the app is
    installed, the uninstall does not seem to run.  I know I am missing something as I have many apps that act this way. 
    Hope you can help!

  • How to uncheck "install new versions automatically" from INTERNET EXPLORER 11 from SCCM 2012

    We have deployed "Internet Explorer 11" application  through SCCM 2012 console .the deployed application was customized using "Internet Explorer customization wizard 11" tool.
    issue:
    we are getting  "install new versions automatically" check box as checked
    when we see from help about  "about internet Explorer"
    seeking solution:
    how to uncheck "install new versions automatically" check box from SCCM 2012 console.
    please let me know if we have any solution for this instant
    thanks,
    Gc.Hanumareddy

    Hi,
    For option: "install new versions automatically", we can simply prevent it via GPO or registry (the registry entry can also be deployed via GPO)
    Computer Configuration - Administrative Templates - Windows Components - Internet Explorer - Install new versions of Internet Explorer automatically
    Or
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Main]    
    "EnableAutoUpgrade"=dword:00000000
    Yolanda Zhu
    TechNet Community Support

  • IIS Recycle times for Service Application App pool / Reporting Services 2012 memory

    Hello,
    On our SharePoint application servers we run the Reporting Services 2012 in SharePoint integrated mode. For the Reporting Services SharePoint sets up a own App Pool.
    Now we found, that this App Pool for Reporting Services takes all the memory of the server. Usually the SharePoint Web Application App Pool are recycled at night. The Service Application App Pools are not ? I'm confused.
    Of course, if an App Pool does not recylce it takes all memory it gets.
    >> But why is the recycling option in IIS not set for SharePoint Service Application pools? Does any know if we can just set recycle times, like for the Web Application app pools?
    Thanks in advance community.
    Benjamin

    You may want to consider limiting the amount of memory to be allocated to SSRS by editing C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\WebServices\Reporting\rsreportserver.config and changing the value of <MemoryThreshold>.
    This value is in percent. SSRS evaluates the amount of memory on service startup and will allocate up to this percentage of memory to SSRS.
    You also may want to consider increasing the amount of memory available on that SharePoint server.
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Application uninstall bug of SCCM 2012 R2 with Cu2?

    I install SCCM 2012 R2, then Update to CU1, last moth I had updated to CU2
    I create two deployment type for winzip application.
    It is 'available' and not 'required'.
    Use script installer, it contains mst file. the script is vbs
    One is for x64, the other is for x86. all of them contains uninstall program(msiexec /x {code} /q)
    Install is ok
    But the uninstall button is grayed out.
    When I delete x86 deployment type then can uninstall this application
    It seem if it has more than one of deployment type, the uninstall button is grayed out
    I saw CU1 had fixed this bug, but why I met it again?  It is new bug of SCCM 2012 R2 CU2?
    I find R2 CU1 and R2 CU2 client update package in SCCM.
    Do I need to deploy them to all PC?
    If I use sccm OSD to install OS(Use default Configuration Manager Client Package), If I need to update Client in this client?

    Thanks, Narcoticoo & Torsten
    I also do the test, it is because I didn't push the update to client, I have some new questions about Update CU
    http://social.technet.microsoft.com/Forums/en-US/1b6161f4-2cdb-42a5-b59a-4b49970e2daf/how-to-update-cu1-cu2-to-sccm-2012-r2?forum=configmanagergeneral

  • Installing an application through Powershell with SCCM 2012 r2 is not working as expected

    I am trying to install a VOIP client using a powershell script. When I run the powershell script on the client in a administrative powershell prompt the script runs fine and it installs the application as expected. When I try to do the same thing through
    the SCCM client using an application it does not install.
    I am not a Powershell Guru so the script below is my simple understanding of installations through powershell as of this moment
    <#
    Installatiescript CIC Client SU6 32 bit (kantoor)
    Versie 1.3
    17 april 2015 - Uitbreiding logfile. Fix opschonen startmenu
    16 april 2015 - Aanpassing verwijderen oude client, logfile aanmaken in TEMP
    13 maart 2015 - Eerste versie
    #>
    # Bepaal installatiebron
    $SourceDir = "\\VSC0501\SetupShare\APP_IC_Client_SU6\x86"
    # Bepaal logvariabelen
    $logfile = "$env:TEMP\cic_su6-install.txt"
    $Logdate = get-date -f yyyyMMdd-HHmm
    # Controleer of oude CIC client aanwezig is (versie 4.04.316) en deinstalleer deze indien nodig
    If (Test-Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{543BE3AC-426D-4FDD-8160-ECEEC2E211B6}")
    $val = (Get-ItemProperty "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{543BE3AC-426D-4FDD-8160-ECEEC2E211B6}").DisplayVersion
    if($val -eq "4.04.316") {
    $process = Start-Process -Filepath "msiexec.exe" -Argumentlist "/x {3F20671C-9CA2-41FA-B94A-C7C7FD95C7B4} /QN" -Wait -Passthru
    if ($process.ExitCode -eq 0) {
    Write-Output "$logdate - Client has been succesfully removed" | out-file $logfile -Append
    else {
    Write-Output "$logdate - Client cannot be succesfully removed" | out-file $logfile -Append
    exit
    $process = Start-Process -Filepath "msiexec.exe" -Argumentlist "/x {543BE3AC-426D-4FDD-8160-ECEEC2E211B6} /QN" -Wait -Passthru
    if ($process.ExitCode -eq 0) {
    Write-Output "$logdate - Client has been succesfully removed" | out-file $logfile -Append
    else {
    Write-Output "$logdate - Client cannot be succesfully removed - " $process.ExitCode | out-file $logfile -Append
    exit
    #(Start-Process -Filepath "msiexec.exe" -Argumentlist "/x {3F20671C-9CA2-41FA-B94A-C7C7FD95C7B4} /QN" -Wait -Passthru).exitcode
    #(Start-Process -Filepath "msiexec.exe" -Argumentlist "/x {543BE3AC-426D-4FDD-8160-ECEEC2E211B6} /QN" -Wait -Passthru).exitcode
    Get-ChildItem "$env:SYSTEMDRIVE\ProgramData\Microsoft\Windows\Start Menu\Programs\Abvakabo FNV\Interactive Intelligence" | Remove-Item -Recurse
    Remove-Item -Path "$env:SYSTEMDRIVE\ProgramData\Microsoft\Windows\Start Menu\Programs\Abvakabo FNV\Interactive Intelligence" -Recurse -Force
    else {
    Write-Output "$logdate - Client not present" | out-file $logfile -Append
    # Installeer CIC Client SU6
    $Arguments = "/i `"$SourceDir\ICUserApps_32bit.msi`" /l*vx `"$env:TEMP\cic_su6.log`" TRANSFORMS=`"$SourceDir\Kantoor.mst`" PATCH=`"$SourceDir\ICUserApps_32bit_SU6.msp`" ICSERVERNAME=cic.abvakabofnv.local /QN /norestart"
    $process = Start-Process -Filepath "msiexec.exe" -Argumentlist "$Arguments" -Wait -Passthru
    if ($process.ExitCode -eq 0) {
    Write-Output "$logdate - CIC Client SU6 (kantoor) has been succesfully installed" | out-file $logfile -Append
    else {
    Write-Output "$logdate - CIC Client SU6 (kantoor) cannot be succesfully installed - " $process.ExitCode | out-file $logfile -Append
    exit
    # Installeer CIC Client SU6 NL Language Plugin
    $Arguments = "/i `"$SourceDir\LanguagePlugins\ICUserApps_LanguagePlugin_nl.msi`" /l*vx `"$env:TEMP\cic_su6_nl.log`" PATCH=`"$SourceDir\LanguagePlugins\ICUserApps_LanguagePlugin_nl_SU6.msp`" /QN /norestart"
    $process = Start-Process -Filepath "msiexec.exe" -Argumentlist "$Arguments" -Wait -Passthru
    if ($process.ExitCode -eq 0) {
    Write-Output "$logdate - CIC Client SU6 Languagepack NL has been succesfully installed" | out-file $logfile -Append
    else {
    Write-Output "$logdate - CIC Client SU6 Languagepack NL cannot be succesfully installed - " $process.ExitCode | out-file $logfile -Append
    exit
    # Opschonen Desktop en Start menu
    Remove-Item -Path "$env:PUBLIC\Desktop\Interaction Fax.lnk"
    Remove-Item -Path "$env:PUBLIC\Desktop\Interaction Voicemail Player.lnk"
    Move-Item -Path "$env:SYSTEMDRIVE\ProgramData\Microsoft\Windows\Start Menu\Programs\Interactive Intelligence" "$env:SYSTEMDRIVE\ProgramData\Microsoft\Windows\Start Menu\Programs\Abvakabo FNV" -force
    The uninstall part works fine, but the installation (2 parts) do not. As I mentioned before... when I run the script manually it all works fine.
    The application is installed using a script. The commandline is
    powershell.exe -excecutionpolicy bypass -file Install_UserApps_SU6_Kantoor.ps1
    The application runs hidden in the context of the system wether or not the user is logged on. The maximum allowed run time is sufficient (30 minutes).
    There is no installation log from the msiexec command so the line were the application should be installed is not executed at all. There is also no mention in my own little log ($logfile = "$env:TEMP\cic_su6-install.txt") mentioning the result
    of the installation.
    The appenforce.log says...
    +++ Starting Install enforcement for App DT "Interaction Client - Standaard SU6" ApplicationDeliveryType - ScopeId_2EC1E80A-D73E-4152-A94F-546E7827CCB6/DeploymentType_720b132a-5626-4055-9555-18b4775724c4, Revision - 7, ContentPath - C:\WINDOWS\ccmcache\13, Execution Context - System AppEnforce 17-4-2015 16:31:05 640 (0x0280)
    A user is logged on to the system. AppEnforce 17-4-2015 16:31:05 640 (0x0280)
    Performing detection of app deployment type Interaction Client - Standaard SU6(ScopeId_2EC1E80A-D73E-4152-A94F-546E7827CCB6/DeploymentType_720b132a-5626-4055-9555-18b4775724c4, revision 7) for system. AppEnforce 17-4-2015 16:31:05 640 (0x0280)
    +++ Application not discovered. [AppDT Id: ScopeId_2EC1E80A-D73E-4152-A94F-546E7827CCB6/DeploymentType_720b132a-5626-4055-9555-18b4775724c4, Revision: 7] AppEnforce 17-4-2015 16:31:05 640 (0x0280)
    App enforcement environment:
    Context: Machine
    Command line: Powershell.exe -executionpolicy bypass -file Install_UserApps_SU6_Kantoor.ps1
    Allow user interaction: No
    UI mode: 0
    User token: null
    Session Id: 1
    Content path: C:\WINDOWS\ccmcache\13
    Working directory: AppEnforce 17-4-2015 16:31:05 640 (0x0280)
    Prepared working directory: C:\WINDOWS\ccmcache\13 AppEnforce 17-4-2015 16:31:05 640 (0x0280)
    Found executable file Powershell.exe with complete path C:\WINDOWS\System32\WindowsPowerShell\v1.0\Powershell.exe AppEnforce 17-4-2015 16:31:05 640 (0x0280)
    Prepared command line: "C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe" -executionpolicy bypass -file Install_UserApps_SU6_Kantoor.ps1 AppEnforce 17-4-2015 16:31:05 640 (0x0280)
    Executing Command line: "C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe" -executionpolicy bypass -file Install_UserApps_SU6_Kantoor.ps1 with user context AppEnforce 17-4-2015 16:31:05 640 (0x0280)
    Working directory C:\WINDOWS\ccmcache\13 AppEnforce 17-4-2015 16:31:05 640 (0x0280)
    Post install behavior is BasedOnExitCode AppEnforce 17-4-2015 16:31:05 640 (0x0280)
    Waiting for process 2916 to finish. Timeout = 30 minutes. AppEnforce 17-4-2015 16:31:05 640 (0x0280)
    Process 2916 terminated with exitcode: 0 AppEnforce 17-4-2015 16:31:08 640 (0x0280)
    Looking for exit code 0 in exit codes table... AppEnforce 17-4-2015 16:31:08 640 (0x0280)
    Matched exit code 0 to a Success entry in exit codes table. AppEnforce 17-4-2015 16:31:08 640 (0x0280)
    Performing detection of app deployment type Interaction Client - Standaard SU6(ScopeId_2EC1E80A-D73E-4152-A94F-546E7827CCB6/DeploymentType_720b132a-5626-4055-9555-18b4775724c4, revision 7) for system. AppEnforce 17-4-2015 16:31:08 640 (0x0280)
    +++ Application not discovered. [AppDT Id: ScopeId_2EC1E80A-D73E-4152-A94F-546E7827CCB6/DeploymentType_720b132a-5626-4055-9555-18b4775724c4, Revision: 7] AppEnforce 17-4-2015 16:31:08 640 (0x0280)
    ++++++ App enforcement completed (3 seconds) for App DT "Interaction Client - Standaard SU6" [ScopeId_2EC1E80A-D73E-4152-A94F-546E7827CCB6/DeploymentType_720b132a-5626-4055-9555-18b4775724c4], Revision: 7, User SID: ] ++++++ AppEnforce 17-4-2015 16:31:08 640 (0x0280)
    I'm thinking of going back to a batchfile because that seems to do the job, but Powershell is much more powerfull.
    Anybody got any answers on what is going wrong are some suggestions for a better script? 

    You have a number of problems here.
    1.  As mentioned you have UNC paths ... which means there's no reason for a package at all.  f you want SCCM to use the package it just downloaded you should use $PSScriptRoot (PS equivelant of %~0dp).  If the client is using v2 or earlier
    ... fix that quick by starting your script with:
    If (!$PSScriptRoot) {
    $PSSCriptRoot = Split-Path $MyInvocation.MyCommand.Path -Parent
    Now you can call your install easy enough with a $PSScriptRoot+"\app.exe"
    2.  your discovery is failing after install.  This will always make SCCM report an installation failed even when the exit code is 0.  You can see it at the end of your log:
    Matched exit code 0 to a Success entry in exit codes table. AppEnforce 17-4-2015 16:31:08 640 (0x0280)
    Performing detection of app deployment type Interaction Client - Standaard SU6(ScopeId_2EC1E80A-D73E-4152-A94F-546E7827CCB6/DeploymentType_720b132a-5626-4055-9555-18b4775724c4, revision 7) for system. AppEnforce 17-4-2015 16:31:08 640 (0x0280)
    +++ Application not discovered. [AppDT Id: ScopeId_2EC1E80A-D73E-4152-A94F-546E7827CCB6/DeploymentType_720b132a-5626-4055-9555-18b4775724c4, Revision: 7] AppEnforce 17-4-2015 16:31:08 640 (0x0280)
    So either your installation script is spitting out a exit code 0 regardless of the event OR your detection is wrong.
    EDIT:  you have exit statemetns after failed installs ... but no exit code (simply exit).  Change those to exit 1 so sccm knows it's a failed exit and not just a generic exit.  That's probably your problem (unc can't be reached as system, you're
    getting an exit  .... not defining exit 1).
    Something like this (warning this is a fast change so review it):
    <#
    Installatiescript CIC Client SU6 32 bit (kantoor)
    Versie 1.3
    17 april 2015 - Uitbreiding logfile. Fix opschonen startmenu
    16 april 2015 - Aanpassing verwijderen oude client, logfile aanmaken in TEMP
    13 maart 2015 - Eerste versie
    #>
    If (!$PSScriptRoot) {
    $PSSCriptRoot = Split-Path $MyInvocation.MyCommand.Path -Parent
    # Bepaal installatiebron
    #$SourceDir = "\\VSC0501\SetupShare\APP_IC_Client_SU6\x86"
    $SourceDir = $PSScriptRoot
    # Bepaal logvariabelen
    $logfile = "$env:TEMP\cic_su6-install.txt"
    $Logdate = get-date -f yyyyMMdd-HHmm
    # Controleer of oude CIC client aanwezig is (versie 4.04.316) en deinstalleer deze indien nodig
    If (Test-Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{543BE3AC-426D-4FDD-8160-ECEEC2E211B6}")
    $val = (Get-ItemProperty "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{543BE3AC-426D-4FDD-8160-ECEEC2E211B6}").DisplayVersion
    if($val -eq "4.04.316") {
    $process = Start-Process -Filepath "msiexec.exe" -Argumentlist "/x {3F20671C-9CA2-41FA-B94A-C7C7FD95C7B4} /QN" -Wait -Passthru
    if ($process.ExitCode -eq 0) {
    Write-Output "$logdate - Client has been succesfully removed" | out-file $logfile -Append
    else {
    Write-Output "$logdate - Client cannot be succesfully removed" | out-file $logfile -Append
    exit 1
    $process = Start-Process -Filepath "msiexec.exe" -Argumentlist "/x {543BE3AC-426D-4FDD-8160-ECEEC2E211B6} /QN" -Wait -Passthru
    if ($process.ExitCode -eq 0) {
    Write-Output "$logdate - Client has been succesfully removed" | out-file $logfile -Append
    else {
    Write-Output "$logdate - Client cannot be succesfully removed - " $process.ExitCode | out-file $logfile -Append
    exit 1
    #(Start-Process -Filepath "msiexec.exe" -Argumentlist "/x {3F20671C-9CA2-41FA-B94A-C7C7FD95C7B4} /QN" -Wait -Passthru).exitcode
    #(Start-Process -Filepath "msiexec.exe" -Argumentlist "/x {543BE3AC-426D-4FDD-8160-ECEEC2E211B6} /QN" -Wait -Passthru).exitcode
    Get-ChildItem "$env:SYSTEMDRIVE\ProgramData\Microsoft\Windows\Start Menu\Programs\Abvakabo FNV\Interactive Intelligence" | Remove-Item -Recurse
    Remove-Item -Path "$env:SYSTEMDRIVE\ProgramData\Microsoft\Windows\Start Menu\Programs\Abvakabo FNV\Interactive Intelligence" -Recurse -Force
    else {
    Write-Output "$logdate - Client not present" | out-file $logfile -Append
    # Installeer CIC Client SU6
    $Arguments = "/i `"$SourceDir\ICUserApps_32bit.msi`" /l*vx `"$env:TEMP\cic_su6.log`" TRANSFORMS=`"$SourceDir\Kantoor.mst`" PATCH=`"$SourceDir\ICUserApps_32bit_SU6.msp`" ICSERVERNAME=cic.abvakabofnv.local /QN /norestart"
    $process = Start-Process -Filepath "msiexec.exe" -Argumentlist "$Arguments" -Wait -Passthru
    if ($process.ExitCode -eq 0) {
    Write-Output "$logdate - CIC Client SU6 (kantoor) has been succesfully installed" | out-file $logfile -Append
    else {
    Write-Output "$logdate - CIC Client SU6 (kantoor) cannot be succesfully installed - " $process.ExitCode | out-file $logfile -Append
    exit 1
    # Installeer CIC Client SU6 NL Language Plugin
    $Arguments = "/i `"$SourceDir\LanguagePlugins\ICUserApps_LanguagePlugin_nl.msi`" /l*vx `"$env:TEMP\cic_su6_nl.log`" PATCH=`"$SourceDir\LanguagePlugins\ICUserApps_LanguagePlugin_nl_SU6.msp`" /QN /norestart"
    $process = Start-Process -Filepath "msiexec.exe" -Argumentlist "$Arguments" -Wait -Passthru
    if ($process.ExitCode -eq 0) {
    Write-Output "$logdate - CIC Client SU6 Languagepack NL has been succesfully installed" | out-file $logfile -Append
    else {
    Write-Output "$logdate - CIC Client SU6 Languagepack NL cannot be succesfully installed - " $process.ExitCode | out-file $logfile -Append
    exit 1
    # Opschonen Desktop en Start menu
    Remove-Item -Path "$env:PUBLIC\Desktop\Interaction Fax.lnk"
    Remove-Item -Path "$env:PUBLIC\Desktop\Interaction Voicemail Player.lnk"
    Move-Item -Path "$env:SYSTEMDRIVE\ProgramData\Microsoft\Windows\Start Menu\Programs\Interactive Intelligence" "$env:SYSTEMDRIVE\ProgramData\Microsoft\Windows\Start Menu\Programs\Abvakabo FNV" -force
    Exit 0

  • 16-Bit App Support for SCCM 2012 Task Sequence / WinPE 4.0

    I'm not sure if what we're trying to do is even possible, but I am hoping it is.  I wrote a little script to check the BIOS asset tag info and if it isn't a valid numeric number it prompts in the task sequence to enter the correct asset tag number. 
    We're trying to do this so we have it on a custom SCCM report for inventory tracking.  The problem is the Acer utility is 16-bit and it kicks back an error in WinPE saying that
    you don't have access to run 16-bit applications and to check your permissions with your system admin.  Where does WinPE store these permissions?  I know where they are in GPO's but not for SCCM's WinPE.
    ' Beta Test Version' Define Variables
    Dim AssetTag, BiosVer, Serial, Model, Vendor, strAssetTag, FSO, objShell, objName, objBios, objAsset
    ' Define WMI Objects / queries
    Set wmi = GetObject("winmgmts:")
    Set objAsset = wmi.InstancesOf("Win32_SystemEnclosure")
    Set objBios = wmi.InstancesOf("Win32_Bios")
    Set objName = wmi.InstancesOf("Win32_ComputerSystemProduct")
    Set FSO = CreateObject("Scripting.FileSystemObject")
    Set objShell = WScript.CreateObject ("WScript.shell")
    ' Set values of variables based on the WMI Object query
    For Each obj in objAsset
    AssetTag = obj.SMBIOSAssetTag
    Exit For
    Next
    For Each obj in objBios
    BiosVer = obj.SMBIOSBIOSVersion
    Serial = obj.SerialNumber
    Exit For
    Next
    For Each obj in objName
    Model = obj.Name
    Vendor = obj.Vendor
    Exit For
    Next
    ' Test for Valid Asset Tag number
    Set re = New RegExp
    re.Pattern = "\D+"
    re.IgnoreCase = True
    re.Global = True
    hasMatches = re.Test(AssetTag)
    If hasMatches = True Then
    FSO.CreateFolder "C:\BIOS"
    strAssetTag = InputBox("Asset Tag info is INVALID." & vbCrLf & "Please enter a valid ACSD Asset Tag: ","ACSD Asset Tag",AssetTag,20,20)
    Else
    Wscript.Quit
    End If
    ' Process Asset Tag Update in BIOS
    If Model = "5100C2U" Then
    FSO.CopyFile "\\server\share\BIOS\Lenovo-5100C2U\*.*", "C:\BIOS\"
    objShell.Run "CMD /K CD C:\BIOS & C:\BIOS\wflash2.exe /tag:" & strAssetTag
    ElseIf Model = "2117EKU" Then
    FSO.CopyFile "\\server\share\BIOS\Lenovo-2117EKU\*.*", "C:\BIOS\"
    objShell.Run "CMD /K CD C:\BIOS & C:\BIOS\wflash2.exe /tag:" & strAssetTag
    ElseIf Model = "Aspire V5-121" Then
    FSO.CopyFile "\\server\share\BIOS\Acer-V5-121\*.*", "C:\BIOS\"
    objShell.Run "CMD /K CD C:\BIOS & C:\BIOS\DQDMI.EXE /Wasset " & strAssetTag
    Else
    Wscript.Quit
    End If

    I guess that it has nothing to do with permissions. WinPE is missing the 16bit subsystem in total as far as I know.
    Torsten Meringer | http://www.mssccmfaq.de

  • How to repackage "jre-7u72-windows-i586.exe" application and deploy through SCCM 2012

    Hi,
    Along with IE 11 we are planning to deploy "jre-7u72-windows-i586.exe"
    Created transform file for "jre-7u72-windows-i586.exe" by using Adminstudio Installshield.
    Identified vendor .MSI file at
    %AppData%\LocalLow\Sun\Java\jre1.7.0_72\jre1.7.0_72.msi"
    %AppData%\LocalLow\Sun\Java\jre1.7.0_72\Data1.cab
    Created Transform file
    Created transform file for "jre-7u72-windows-i586.exe" by using Adminstudio Installshield with the Tuner feature
    My queries:
    Do we have any best practices while repackaging “jre-7u72-windows-i586.exe?” by Adminstudio
    How to deploy the jre-7u72-windows-i586.exe application assuming with parallel deployment of IE
      11.
    Do we uninstall lower versions of Java when installing any newer versions like jre-7u72-windows-i586.exe?
     if yes then how to handle
    Do we install jre-7u72-windows-i586.exe application without uninstallations of any lower version of JAVA , if yes then how to handle
    Looking for best practices / Customizations ?
    Thanks, appreciate your help.
    Han,
    Gc.Hanumareddy

    Alternatively, why not actually reference Oracle official documentation or post in their forums (because as Torsten said, this really has nothing to do with ConfigMgr or Microsoft even).
    http://java.com/en/download/help/msi_install.xml looks to be a great place to start.
    Jason | http://blog.configmgrftw.com | @jasonsandys

  • App-v management server or SCCM 2012 integration?

    Hi,
    We are using App-V 5.0 integrated within SCCM 2012 for a while now but aren't happy with it.
    Hope was that in some update of sccm 2012 it would improve but it does not. That's why the idea arises to use the Ap-V management server again.
    Below a comparison of the two options, I was wondering what your opinion on this matter is.
    App-V via SCCM 2012:
    Pro:
    Full integration with SCCM 2012
    Contra:
    Dependency on SCCM 2012 client (when SCCM client doens’t work, App-V doesn’t work either)
    Slow responstimes before package arrives at user (SCCM needs to scan AD groups, SCCM client needs a policy refresh)
    App-V Management server:
    Pro:
    Deploy is also possible to computers as from App-V 5.0 management server
    http://virtualvibes.co.uk/enabling-computer-based-targeting-in-app-v-5-0/
    “the fact that we can now target machines instead of users when publishing packages”
    Fast respsonsetime: deploy & uninstall
    Automatic uninstall when user/computer isn’t member of AD group anymore
    Contra:
    Extra server needed
    Note: the migration from SCCM to the App-V Management server should be transparent, right? Unpublish existing packages via SCCM, publish via management server
    Please advise.
    J.
    Jan Hoedt
    Jan Hoedt

    How many data centres and sites are these RDS servers and desktops deployed across?
    If you read Rory's blog post, you'll get a sense of what the App-V Full Infrastructure's down sides are across multiple sites/DCs.
    Please remember to click "Mark as Answer" or "Vote as Helpful" on the post that answers your question (or 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.
    This forum post is my own opinion and does not necessarily reflect the opinion or view of my employer, Microsoft, its employees, or other MVPs.
    Twitter:
    @stealthpuppy | Blog:
    stealthpuppy.com |
    The Definitive Guide to Delivering Microsoft Office with App-V

  • How to uninstall applications in SCCM 2012 R2

    Hi,
    We have installed following applications using "Applications" mode of SCCM 2012 R2.
    XML Notepad
    Notepad++
    Adobe Reader XI
    How do we uninstall these applications from clients using SCCM 2012 R2? Do we create deployment type for each and uninstall?

    You can configure an install and uninstall command line for each deployment type. Then there are 'install' and 'uninstall' deployments. Uninstall deployments can be used to uninstall software. Keep in mind that an install deployments wins over an uninstall
    deployment if both are deployed to the same machine.
    Torsten Meringer | http://www.mssccmfaq.de

  • SCCM 2012 Non-MS License import issue.

    Hi All,
    I am trying to import non-ms licenses in SCCM 2012 but its not letting me to import. I amusing the attached sample csv. but every-time I am getting error that import failed.
    Link for both CSV & Image as follows ... Changed Url as
    http:// 1drv.ms/1g1LZaN

    Hi, I am using the same sample CSV in same format, but no luck. EG Below.
    Name
    Publisher
    Version
    Language
    EffectiveQuantity
    Adobe Acrobat 4.0
    Adobe
    999999
    Adobe Acrobat 5
    Adobe
    5
    999999
    Adobe Acrobat 7 Professional
    Adobe
    7.1
    999999
    Adobe Acrobat 7 Professional
    Adobe
    7
    999999
    Adobe Acrobat 8 Professional
    Adobe
    8
    999999
    Adobe Acrobat 8 Professional
    Adobe
    8.1
    999999
    Adobe Acrobat 9 Pro
    Adobe
    9.5
    999999
    Adobe Acrobat 9 Pro
    Adobe
    9
    999999
    Adobe Acrobat 9 Pro
    Adobe
    9.2
    999999
    Adobe Acrobat 9 Pro
    Adobe
    9.4
    999999
    Adobe Acrobat 9 Pro Extended 64-bit Add-On
    Adobe
    9
    999999
    Adobe Creative Suite 3 Master Collection
    Adobe
    1
    999999
    Adobe Creative Suite 4 Design Standard
    Adobe
    4
    999999
    Adobe Creative Suite 4 Master Collection
    Adobe
    4
    999999
    Adobe Creative Suite 5 Design Standard
    Adobe
    5
    999999
    Adobe Creative Suite 5 Master Collection
    Adobe
    5.5
    999999
    Adobe Creative Suite 5 Web Premium
    Adobe
    5
    999999
    Adobe Creative Suite 5.5 Design Standard
    Adobe
    5.5
    999999

  • Getting "Error: 0x80070654" when trying to install SCCM 2012 R2 Console from Software Center

    What I did:
    Created a Package Source share on the Site Server
    Gave the Package Source Share the following Share permissions: SCCM Admins: Full Control, Domain Computers: Full Control, Local Admins: Full Control.
    Copied the "Program Files\Microsoft Configuration Manager\tools\ConsoleSetup" folder to my package source (Since the Package Source is actually on the site server, I just copied the ConsoleSetup folder to it that is on the same drive)
    Created a package and a Standard Program
    Command line: ConsoleSetup.exe 
    I deploy it to my collection
    Run Machine Policy and Reevaluation on my Right Click Tools 
    Go to one of my clients and open up Software Center and click the Install button
    It fails with ""Error: 0x80070654" 
    I open up execmgr.log on the client using CMTrace and I use the error lookup tool and it shows that the 0x80070654 error is "This installation package could not be opened. Contact the application vendor to verify that this is a valid Windows Installer
    package"
    I also see a red highlighted line in the execmgr.log file with the following entry: "Script for Package:PRI00013, Program: SCCM 2012 R2 Management Console failed with exit code 2147944020"
    I can run ConsoleSetup.exe using a command line to the package source. 
    Execmgr.log Contents
    Policy arrived for parent package PRI00013 program SCCM 2012 R2 Management Console
    execmgr 7/31/2014 2:40:48 AM
    3336 (0x0D08)
    Raising client SDK event for class CCM_Program, instance CCM_Program.PackageID="PRI00013",ProgramID="SCCM 2012 R2 Management Console", actionType 6l, value NULL, user NULL, session 4294967295l, level 0l, verbosity 30l
    execmgr 7/31/2014 2:40:48 AM
    3336 (0x0D08)
    Raising event:
    [SMS_CodePage(437), SMS_LocaleID(1033)]
    instance of SoftDistProgramOfferReceivedEvent
    AdvertisementId = "PRI2000A";
    ClientID = "GUID:C83A938E-8BD7-4207-A450-11B3FE063DD6";
    DateTime = "20140731094048.938000+000";
    MachineName = "My Computer";
    ProcessID = 1548;
    SiteCode = "PRI";
    ThreadID = 3336;
    execmgr
    7/31/2014 2:40:48 AM 3336 (0x0D08)
    Raising client SDK event for class NULL, instance NULL, actionType 6l, value , user NULL, session 4294967295l, level 0l, verbosity 30l
    execmgr 7/31/2014 2:40:48 AM
    3568 (0x0DF0)
    Validating chain of dependent programs for package PRI00013 optional program SCCM 2012 R2 Management Console
    execmgr 7/31/2014 2:41:04 AM
    4612 (0x1204)
    Validating package PRI00013 program SCCM 2012 R2 Management Console in the chain. The content request ID is {00000000-0000-0000-0000-000000000000}
    execmgr 7/31/2014 2:41:04 AM
    4612 (0x1204)
    Creating an optional execution request for package PRI00013 program SCCM 2012 R2 Management Console
    execmgr
    7/31/2014 2:41:04 AM 4612 (0x1204)
    Requesting content from CAS for package PRI00013 version 1
    execmgr 7/31/2014 2:41:05 AM
    4612 (0x1204)
    Successfully created a content request handle {CBABEBB0-D019-4421-8B2E-47ABF90A925F} for the package PRI00013 version 1
    execmgr 7/31/2014 2:41:05 AM
    4612 (0x1204)
    Raising event:
    [SMS_CodePage(437), SMS_LocaleID(1033)]
    instance of SoftDistWaitingContentEvent
    AdvertisementId = "PRI2000A";
    ClientID = "GUID:C83A938E-8BD7-4207-A450-11B3FE063DD6";
    DateTime = "20140731094105.334000+000";
    MachineName = "My Computer";
    PackageName = "PRI00013";
    PackageVersion = "1";
    ProcessID = 1548;
    ProgramName = "SCCM 2012 R2 Management Console";
    SiteCode = "PRI";
    ThreadID = 4612;
    execmgr
    7/31/2014 2:41:05 AM 4612 (0x1204)
    Successfully raised SoftDistWaitingContentEvent event for program SCCM 2012 R2 Management Console
    execmgr 7/31/2014 2:41:05 AM
    4612 (0x1204)
    Execution Request for advert  package PRI00013 program SCCM 2012 R2 Management Console state change from NotExist to WaitingContent
    execmgr 7/31/2014 2:41:05 AM
    4612 (0x1204)
    Raising client SDK event for class CCM_Program, instance CCM_Program.PackageID="PRI00013",ProgramID="SCCM 2012 R2 Management Console", actionType 1l, value , user NULL, session 4294967295l, level 0l, verbosity 30l
    execmgr 7/31/2014 2:41:05 AM
    4612 (0x1204)
    Raising client SDK event for class CCM_Program, instance CCM_Program.PackageID="PRI00013",ProgramID="SCCM 2012 R2 Management Console", actionType 1l, value NULL, user NULL, session 4294967295l, level 0l, verbosity 30l
    execmgr 7/31/2014 2:41:05 AM
    5072 (0x13D0)
    Raising client SDK event for class CCM_Program, instance CCM_Program.PackageID="PRI00013",ProgramID="SCCM 2012 R2 Management Console", actionType 1l, value NULL, user NULL, session 4294967295l, level 0l, verbosity 30l
    execmgr 7/31/2014 2:41:05 AM
    4260 (0x10A4)
    Raising client SDK event for class CCM_Program, instance CCM_Program.PackageID="PRI00013",ProgramID="SCCM 2012 R2 Management Console", actionType 1l, value NULL, user NULL, session 4294967295l, level 0l, verbosity 30l
    execmgr 7/31/2014 2:41:05 AM
    4756 (0x1294)
    Raising client SDK event for class CCM_Program, instance CCM_Program.PackageID="PRI00013",ProgramID="SCCM 2012 R2 Management Console", actionType 1l, value NULL, user NULL, session 4294967295l, level 0l, verbosity 30l
    execmgr 7/31/2014 2:41:05 AM
    4756 (0x1294)
    Raising client SDK event for class CCM_Program, instance CCM_Program.PackageID="PRI00013",ProgramID="SCCM 2012 R2 Management Console", actionType 1l, value NULL, user NULL, session 4294967295l, level 0l, verbosity 30l
    execmgr 7/31/2014 2:41:05 AM
    5072 (0x13D0)
      Processing [{CBABEBB0-D019-4421-8B2E-47ABF90A925F}, 0]: OnContentAvailable
    execmgr
    7/31/2014 2:41:10 AM 4756 (0x1294)
    [{CBABEBB0-D019-4421-8B2E-47ABF90A925F}]: Content Version 1 is available for advert , pkg: PRI00013, program SCCM 2012 R2 Management Console.
    execmgr 7/31/2014 2:41:10 AM
    4756 (0x1294)
    An existing MTC token was not supplied, using ExecutionRequest's Id as MTC token and this execution request is the owner of resultant MTC task.
    execmgr 7/31/2014 2:41:10 AM
    4756 (0x1294)
    Request a MTC task for execution request of package PRI00013, program SCCM 2012 R2 Management Console with request id: {C9942D47-8A99-4363-AE69-A6F813336239}
    execmgr 7/31/2014 2:41:10 AM
    4756 (0x1294)
    Execution Request for advert  package PRI00013 program SCCM 2012 R2 Management Console state change from WaitingContent to Ready
    execmgr 7/31/2014 2:41:10 AM
    4756 (0x1294)
    MTC task with id {C9942D47-8A99-4363-AE69-A6F813336239}, changed state from 0 to 4
    execmgr 7/31/2014 2:41:10 AM
    4328 (0x10E8)
    Raising client SDK event for class CCM_Program, instance CCM_Program.PackageID="PRI00013",ProgramID="SCCM 2012 R2 Management Console", actionType 1l, value , user NULL, session 4294967295l, level 0l, verbosity 30l
    execmgr 7/31/2014 2:41:10 AM
    4756 (0x1294)
      Processing [{CBABEBB0-D019-4421-8B2E-47ABF90A925F}, 0]: RemoveNotification
    execmgr 7/31/2014 2:41:10 AM
    4756 (0x1294)
    MTC signaled SWD execution request with program id: SCCM 2012 R2 Management Console, package id: PRI00013 for execution.
    execmgr 7/31/2014 2:41:10 AM
    4328 (0x10E8)
    Sending ack to MTC for task with id: {C9942D47-8A99-4363-AE69-A6F813336239}
    execmgr 7/31/2014 2:41:10 AM
    4328 (0x10E8)
    Executing program ConsoleSetup.exe in Admin context
    execmgr 7/31/2014 2:41:10 AM
    4328 (0x10E8)
    Execution Request for advert  package PRI00013 program SCCM 2012 R2 Management Console state change from Ready to NotifyExecution
    execmgr 7/31/2014 2:41:10 AM
    4328 (0x10E8)
    Raising client SDK event for class CCM_Program, instance CCM_Program.PackageID="PRI00013",ProgramID="SCCM 2012 R2 Management Console", actionType 1l, value , user NULL, session 4294967295l, level 0l, verbosity 30l
    execmgr 7/31/2014 2:41:10 AM
    4328 (0x10E8)
    Checking content location C:\Windows\ccmcache\eo for use
    execmgr 7/31/2014 2:41:10 AM
    4328 (0x10E8)
    Successfully selected content location C:\Windows\ccmcache\eo
    execmgr 7/31/2014 2:41:10 AM
    4328 (0x10E8)
    Executing program as a script execmgr
    7/31/2014 2:41:10 AM 4328 (0x10E8)
    Successfully prepared command line "C:\Windows\ccmcache\eo\ConsoleSetup.exe"
    execmgr 7/31/2014 2:41:10 AM
    4328 (0x10E8)
    Command line = "C:\Windows\ccmcache\eo\ConsoleSetup.exe", Working Directory = C:\Windows\ccmcache\eo\
    execmgr 7/31/2014 2:41:10 AM
    4328 (0x10E8)
    Running "C:\Windows\ccmcache\eo\ConsoleSetup.exe" with 32bitLauncher
    execmgr 7/31/2014 2:41:10 AM
    4328 (0x10E8)
    Created Process for the passed command line
    execmgr 7/31/2014 2:41:11 AM
    4328 (0x10E8)
    Raising event:
    [SMS_CodePage(437), SMS_LocaleID(1033)]
    instance of SoftDistProgramStartedEvent
    AdvertisementId = "PRI2000A";
    ClientID = "GUID:C83A938E-8BD7-4207-A450-11B3FE063DD6";
    CommandLine = "\"C:\\Windows\\ccmcache\\eo\\ConsoleSetup.exe\"";
    DateTime = "20140731094111.028000+000";
    MachineName = "My Computer";
    PackageName = "PRI00013";
    ProcessID = 1548;
    ProgramName = "SCCM 2012 R2 Management Console";
    SiteCode = "PRI";
    ThreadID = 4328;
    UserContext = "NT AUTHORITY\\SYSTEM";
    WorkingDirectory = "C:\\Windows\\ccmcache\\eo\\";
    execmgr
    7/31/2014 2:41:11 AM 4328 (0x10E8)
    Raised Program Started Event for Ad:PRI2000A, Package:PRI00013, Program: SCCM 2012 R2 Management Console
    execmgr 7/31/2014 2:41:11 AM
    4328 (0x10E8)
    Raising client SDK event for class CCM_Program, instance CCM_Program.PackageID="PRI00013",ProgramID="SCCM 2012 R2 Management Console", actionType 1l, value NULL, user NULL, session 4294967295l, level 0l, verbosity 30l
    execmgr 7/31/2014 2:41:11 AM
    4328 (0x10E8)
    Raising client SDK event for class CCM_Program, instance CCM_Program.PackageID="PRI00013",ProgramID="SCCM 2012 R2 Management Console", actionType 1l, value , user NULL, session 4294967295l, level 0l, verbosity 30l
    execmgr 7/31/2014 2:41:11 AM
    4328 (0x10E8)
    MTC task with id {C9942D47-8A99-4363-AE69-A6F813336239}, changed state from 4 to 5
    execmgr 7/31/2014 2:41:11 AM
    4612 (0x1204)
    Program exit code -2147023276 execmgr
    7/31/2014 2:41:11 AM 4756 (0x1294)
    Looking for MIF file to get program status execmgr
    7/31/2014 2:41:11 AM 4756 (0x1294)
    Script for Package:PRI00013, Program: SCCM 2012 R2 Management Console failed with exit code 2147944020
    execmgr 7/31/2014 2:41:11 AM
    4756 (0x1294)
    Raising event:
    [SMS_CodePage(437), SMS_LocaleID(1033)]
    instance of SoftDistProgramErrorEvent
    AdvertisementId = "PRI2000A";
    ClientID = "GUID:C83A938E-8BD7-4207-A450-11B3FE063DD6";
    DateTime = "20140731094111.506000+000";
    ExitCode = "-2147023276";
    MachineName = "My Computer";
    PackageName = "PRI00013";
    ProcessID = 1548;
    ProgramName = "SCCM 2012 R2 Management Console";
    SiteCode = "PRI";
    ThreadID = 4756;
    UserContext = "NT AUTHORITY\\SYSTEM";
    execmgr
    7/31/2014 2:41:11 AM 4756 (0x1294)
    Raised Program Error Event for Ad:PRI2000A, Package:PRI00013, Program: SCCM 2012 R2 Management Console
    execmgr 7/31/2014 2:41:11 AM
    4756 (0x1294)
    Execution is complete for program SCCM 2012 R2 Management Console. The exit code is -2147023276, the execution status is FailureNonRetry
    execmgr 7/31/2014 2:41:11 AM
    4756 (0x1294)
    Requesting MTC to delete task with id: {C9942D47-8A99-4363-AE69-A6F813336239}
    execmgr 7/31/2014 2:41:11 AM
    4756 (0x1294)
    MTC task with id: {C9942D47-8A99-4363-AE69-A6F813336239} deleted successfully.
    execmgr 7/31/2014 2:41:11 AM
    4756 (0x1294)
    Raising client SDK event for class CCM_Program, instance CCM_Program.PackageID="PRI00013",ProgramID="SCCM 2012 R2 Management Console", actionType 10l, value Result:FALSE, user NULL, session 4294967295l, level 0l, verbosity 30l
    execmgr 7/31/2014 2:41:11 AM
    4756 (0x1294)
    Requesting MTC to delete task with id: {C9942D47-8A99-4363-AE69-A6F813336239}
    execmgr 7/31/2014 2:41:11 AM
    4756 (0x1294)
    This execution request does not have a corresponding task in MTC.
    execmgr 7/31/2014 2:41:11 AM
    4756 (0x1294)
    Raising client SDK event for class CCM_Program, instance CCM_Program.PackageID="PRI00013",ProgramID="SCCM 2012 R2 Management Console", actionType 1l, value , user NULL, session 4294967295l, level 0l, verbosity 30l
    execmgr 7/31/2014 2:41:11 AM
    4756 (0x1294)
    CServiceWindowEventHandler::Execute - Received SERVICEWINDOWEVENT : END Event
    execmgr 7/31/2014 5:00:00 AM
    2928 (0x0B70)
    Thanks 

    Cool, mate it is then.
    Yeah it either changed or there is a typo. 
    I re-created everything and I still get that same 0x80070654 error.
    This is really frustrating
    Anyway, here is what I see in the AppEnforce.log:
    +++ Starting Install enforcement for App DT "SCCM 2012 R2 Management Console" ApplicationDeliveryType - ScopeId_DF08DF3D-39F7-4840-B17C-92FCAB02F116/DeploymentType_00b14782-2bc3-4c88-bc19-9d12981bc4ef, Revision - 1, ContentPath - C:\Windows\ccmcache\ev,
    Execution Context - System AppEnforce
    7/31/2014 11:27:30 PM 4256 (0x10A0)
        A user is logged on to the system.
    AppEnforce 7/31/2014 11:27:30 PM
    4256 (0x10A0)
        Performing detection of app deployment type SCCM 2012 R2 Management Console(ScopeId_DF08DF3D-39F7-4840-B17C-92FCAB02F116/DeploymentType_00b14782-2bc3-4c88-bc19-9d12981bc4ef, revision 1) for system.
    AppEnforce 7/31/2014 11:27:30 PM
    4256 (0x10A0)
    +++ Application not discovered. [AppDT Id: ScopeId_DF08DF3D-39F7-4840-B17C-92FCAB02F116/DeploymentType_00b14782-2bc3-4c88-bc19-9d12981bc4ef, Revision: 1]
    AppEnforce 7/31/2014 11:27:30 PM
    4256 (0x10A0)
        App enforcement environment: 
    Context: Machine
    Command line: consolesetup.exe /q TargetDir="%ProgramFiles%\ConfigMgr" EnableSQM=0 DefaultSiteServerName=my.site.server
    Allow user interaction: No
    UI mode: 1
    User token: null
    Session Id: 2
    Content path: C:\Windows\ccmcache\ev
    Working directory:
    AppEnforce 7/31/2014 11:27:30 PM
    4256 (0x10A0)
        Prepared working directory: C:\Windows\ccmcache\ev
    AppEnforce 7/31/2014 11:27:30 PM
    4256 (0x10A0)
        Prepared command line: "C:\Windows\ccmcache\ev\ConsoleSetup.exe" /q TargetDir="C:\Program Files\ConfigMgr" EnableSQM=0 DefaultSiteServerName=my.site.server
    AppEnforce 7/31/2014 11:27:30 PM
    4256 (0x10A0)
        Executing Command line: "C:\Windows\ccmcache\ev\ConsoleSetup.exe" /q TargetDir="C:\Program Files\ConfigMgr" EnableSQM=0 DefaultSiteServerName=my.site.server with user context
    AppEnforce 7/31/2014 11:27:30 PM
    4256 (0x10A0)
        Working directory C:\Windows\ccmcache\ev
    AppEnforce 7/31/2014 11:27:30 PM
    4256 (0x10A0)
        Post install behavior is BasedOnExitCode
    AppEnforce 7/31/2014 11:27:30 PM
    4256 (0x10A0)
        Waiting for process 2792 to finish.  Timeout = 120 minutes.
    AppEnforce 7/31/2014 11:27:30 PM
    4256 (0x10A0)
        Process 2792 terminated with exitcode: 2147944020
    AppEnforce 7/31/2014 11:27:30 PM
    4256 (0x10A0)
        Looking for exit code -2147023276 in exit codes table...
    AppEnforce 7/31/2014 11:27:30 PM
    4256 (0x10A0)
        Unmatched exit code (2147944020) is considered an execution failure.
    AppEnforce 7/31/2014 11:27:30 PM
    4256 (0x10A0)
    ++++++ App enforcement completed (0 seconds) for App DT "SCCM 2012 R2 Management Console" [ScopeId_DF08DF3D-39F7-4840-B17C-92FCAB02F116/DeploymentType_00b14782-2bc3-4c88-bc19-9d12981bc4ef], Revision: 1, User SID: ] ++++++
    AppEnforce 7/31/2014 11:27:30 PM
    4256 (0x10A0)

  • Past Due - Will be installed issue in SCCM 2012

    Deployment of an application task sequence after the initial OS deployment task sequence is working fine, but several application deployments that is deployed to a role collection does not
    install even if they are deployed required and deadline is passed. As you can see from print screen all the jobs is received by the agent, so the question is, why do they not start
    installing automatically?
    Checked the Computer Agent settings and all the settings were also intact including “Additional Software manages the deployment of application” setting was set to No so there
    is something else due to which this is not installing.
    Checked in the below post for the same issue
    http://blogs.msdn.com/b/rslaten/archive/2013/11/26/past-due-applications-not-installing-in-sccm-2012.aspx#comments
    as per it issue may be with Incorrect revision number within any of the task sequences
    targeted to a machine. Now how do I find the application with the incorrect revision number in any of the task sequences targeted to the machine?
    Also not sure how to go about verifying the correct revision numbers in the task sequences if this is the issue in my case
    Please suggest.

    Have you checked is there a maintenance window set? - No
    Also can they find the content on a DP? Yes
    Are the files present on the client in ccmcache? Yes

  • Using MDT boot image in SCCM 2012

    Hi,
    I want to import MDT boot image in SCCM 2012. Please let me know if this is possible.
    I have integrated all the driver in it and want to use from SCCM.
    Any suggestion on this?
    Regards, Shishir Kushawaha "If this thread answered your question, please click on "Mark as Answer"

    These two blogs explain this process very very well.
    http://myitforum.com/myitforumwp/2013/08/01/how-to-create-configmgr-2012-boot-images-from-scratch/
    http://www.niallbrady.com/2013/10/09/how-can-i-manually-add-winpe-5-boot-images-to-system-center-2012-configuration-manager-sp1-cu3/
    Gerry Hampson | Blog:
    www.gerryhampsoncm.blogspot.ie | LinkedIn:
    Gerry Hampson | Twitter:
    @gerryhampson

Maybe you are looking for

  • How to give the file path in adf application

    Hii all, I want to use castor xml framework in adf application.. for which i have to un- marshaller the xml file.. by using following method- Person person = (Person) Unmarshaller.unmarshal(Person.class, new FileReader("src/com/person.xml")); if i us

  • Report for cogs

    Hi Experts Can i have a report in which it shows COGS with quantity for a selected period with each single deliveries Thanks

  • Nested Panels with SpringLayout

    I've been attempting to use nested JPanels, each with a SpringLayout. However, this seems to cause some very strange behaviour with component scrolling off the left edge of the window unless it's sized narrow. I've not used SpringLayout much, but I'm

  • Graphic bug in system preferences

    hi. when i open the sys preferences, i always have a graphic bug, with for example the printer icon squared and very big. any solutions? thanks

  • Adobe Updater quits every time I open Photoshop CS 3

    When I open up Photoshop, it opens up OK. Then I get a message that the "Adobe Updater has quit unexpectedly." I click "ignore" and I try opening it up again by going to Help - Updates. The same box come up. What can I do to fix this problem? I am ru