Quantcast
Channel: Configuration Manager 2012 - Application Management forum
Viewing all 4762 articles
Browse latest View live

Installing GoogleChromeStandaloneEnterprise.msi\msi as Application or Package

$
0
0

Hi , 

I am looking for a right command line to install .msi application through Config manager 2012 R2 as part of TS.

Application is GoogleChromeStandaloneEnterprise.msi.

I have tried both methods i.e. as application (msi) and another as package -> Program. Pls. find screen attach.

I have tried different command line options as well but it fails every time. 

Any pointers will be appreciated is anyone is using the same app or can suggest something to deploy .msi . Thanks

Regards,


Add-CMDeploymentType : Specified cast is not valid.

$
0
0

Hi,

I'm trying to write a Powershell-script to deploy software in SCCM 2012.

Everything works fine but the Add-CMDeploymtenType, there I got this error:

Creating Deployment Type Microsoft - Office - 2010 (1.0) - X64
WARNING: The parameter 'AutoIdentifyFromInstallationFile' has been deprecated from this parameter set and may be removed in a future release.
WARNING: Unexpected site version '-1' was detected. Defaulting to latest Application Management SDK API set. This may introduce cmdlet incompatibilities.
Add-CMDeploymentType : Specified cast is not valid.

This is my command:

Add-CMDeploymentType-ApplicationName $AppVName -DeploymentTypeName $DeploymentTypeName -AppV5xInstaller-InstallationFileLocation $InstallFileLocation -AutoIdentifyFromInstallationFile-ForceForUnknownPublisher $true -AddRequirement $oDTRule  

Note: I updated the Powershell to version 4.0 on Windows 2012 R2 and updated the lateste SCCM CMDlets due to an issue (which I also posted in the forum).

Please advise.
J.


Jan Hoedt


Jan Hoedt

SCCM client not getting WSUS or endpoint protection updates.

$
0
0

Hi,

I am trying to build a SCCM server for WSUS and Endpoint protection, I have WSUS install and configured in SCCM.

I have added the Software update and EPP roles on SCCM. I can see the Software updates being takes down. 

When I run the Automatic Deployment rule I can the update file being downloaded into the source folder. So all that looks to be working.

On my clients the SCCM client has been pushed down. the endpoint protection client has also been pushed down from the SCCM server. But I can't seem to get any windows updates or Virus definitions pushed down. 

Would anyone have know what steps i need to troubleshoot this? Or what logs could point me in the right direction. 

Thanks,

Tom.

Superseding multiple previous versions

$
0
0

Issue:
I have setup supersedence for an application. It is set to supersede 9 previous versions of the application. Not all previous versions were deployed via CM so I created dummy apps with the detection method and the uninstall command. To the new version I added each of those dummy apps to the supersedence tab and selected for uninstall.

My test scenario is to install 3 of the superseded versions onto a VM and then deploy the new version to it. When I do the deployment it uninstalls the 1st superseded version in the list under the supersedence tab and then installs the new app; without removing the other 2 superseded apps.

When checking the AppDiscovery log I notice that it detects the other 2 versions. AppEnforce shows that no attempt was made to remove the other 2 superseded versions.

It is my understanding that all versions should remove before installing the new version, otherwise why would you be allowed to place several versions in the supersedence tab?

Does anyone have an idea why only 1 version is uninstalled in this scenario?

I am now attempting the same scenario, but without the one version installed that the new version removed. I want to see if it will remove the next one in the list. (Basically, only removing 1 version before an install, independent of version it uninstalls). 

Force uninstall in System Context for Applications

$
0
0

Hi

I create Applications script based. in the deployment type I set the installation behavior to install for system.

when I try to uninstall a program from the Software Center I get the following error:

Executing Command line: "blablabla" /SILENT with user context

ScriptHandler::EnforceApp failed (0x8007010b).

AppProvider::EnforceApp - Failed to invoke EnforceApp on Application handler(0x8007010b).

CommenceEnforcement failed with error 0x8007010b.

Method CommenceEnforcement failed with error code 8007010B

++++++ Failed to enforce app. Error 0x8007010b. ++++++

how come the uninstall command runs with user context and not with system context?!

is it even possible to modify it?

thanks for the help


Tamir Levy

Sccm 2012 r2 after sp1 upgrade, application deployments - setting available time not enforced\recognized

$
0
0

after the upgrade whenever we set time for a deployment to be available, its as if its ignored, and the install happens right away? has anyone come across this issue?

thank you.

Deploying Office 2016 Removes Existing Office 2010 and forces reboot

$
0
0

What is the best way to avoid both of these?  My  command and config file is as follows:

setup.exe /config /configuration.xml

<Configuration>
    <Add OfficeClientEdition="64" Branch="Current" SourcePath="myserver">
        <Product ID="O365ProPlusRetail">
            <Language ID="en-us" />
            <ExcludeApp ID="Lync" />
            <ExcludeApp ID="Visio" />
            <ExcludeApp ID="Project" />
            <ExcludeApp ID="Groove" />
        </Product>
    </Add>
    <Display Level="None" AcceptEULA="TRUE" />
</Configuration>

Thanks in advance!



Superseded Application Ignoring Installation Deadline in Deployment Scheduling

$
0
0

It seems that the "Installation deadline to upgrade users or devices that have the superseded application installed" setting does not delay the installation of the application consistently.

In deploying Office 2016 365 ProPlus as an upgrade I have superseded Office 2013 365 ProPlus, and configured the deployment "schedule at" date to 12/31/2015 wanting to give users the option to install the upgrade on their own if they want it right away, before forcing the upgrade at the end of the year.

What I'm experiencing, however, is that the application is installing on its own...on some computers. I've seen it first person, so it's not the case where the user is initiating the installation.

The deployment Purpose is set to Available, not Required. The Automatically upgrade any superseded versions of this application checkbox is checked.

Has anyone else experienced similar behavior with scheduled deployments?


Evaluation State List - Hard to Find

$
0
0

I'm trying to populate a list of EvaluationState numbers for items listed in the CCM_SoftwareBase.  On MS page the EvaluationState numbers do not coincide with what is populating on our SCCM Client.  What I've been able to determine are the following:

9 = Downloading

17 = Success

18 = Failed

14 = Installing

7 = Preparing Download.

Does anyone have the complete list that matches the results I've been able to put together from trial and error?  Also why does the information in MS website differ from what is actually being populated?

Thank you!

 

"Available" applications randomly installing themselves without end-user triggering

$
0
0

Hi, I'm running SCCM 2012 SP1 CU2.

I have a problem where a long list of "available" applications will install themselves on a workstation without any end-user action.  I'm getting reports of this happening 2 or 3 times per week in an environment of 14,000 workstations (XP and W7).

A couple minutes after a user logs on, between 30 and 70 applications get installed in quick succession.  I can confirm that these apps do NOT have a "required" deployment type; they are all "available".

It is definitely SCCM doing it, as I can see all the .MSIs in \windows\ccmcache.

AppDiscovery.log (numerous similar messages):

ActionType - Install will use Content Id: Content_c758362d... + Content Version: 1 for AppDT "application 1 (*.msi file)"
ActionType - Install will use Content Id: Content_da9231a7... + Content Version: 1 for AppDT "application 2 (*.msi file)"
ActionType - Install will use Content Id: Content_e24e32b7... + Content Version: 1 for AppDT "application 3 (*.msi file)"

DCMAgent.log (numerous similar messages):

Job::SetupJob - Add assignment (DEP-XYZ20240-ScopeId_8FB9C6D8...

CDCMAgentJob::PopulateCIsFromAssignment - [SKIPPING] CI policy Id :ScopeId_8FB9C6D8...

All the applications that are getting installed are Applications (not packages), deployed as "available", that are set to install as the user, and are targeted to a large machine collection.

We have about 70 deployments like this, but I've seen variation where between 30 and 70 of these apps will get installed.  Each incident will install a different subset of these 70 apps.

We've been cutting over our legacy packages to applications over time.  The problem was first reported about a month ago.

Ideas?

Thanks,

Nick.


Software Center show application stuck at Installing

$
0
0

Greetings,

This has happened a few times now over the last couple of weeks. At first I thought it was just a once-off bug, but it keeps coming back and I can't see any patterns to identify the cause or trigger.

Sometimes when I start a Deployment from the Software Center the Status gets stuck at "Installing" and never moves beyond that. It has happened for OSD task sequences as well as Package/programs. In both cases the same Deployment works on other machines, or has worked on this same machine previously. It's not always the same programs, and there seems to be no particular pattern I can find to cause it.

Restarting the SMS Agent doesn't resolve, it just comes up as "Installing" again after the agent has restarted. I've tried clearing the adverts from the client and no difference, restarting the computer also makes no difference... it just comes back as "Installing"

If I remove the computer from the deployment, it dissapears from the Software Center, and when I add the deployment back again it re-appears in Software Center as "Installing" again.

Doing a client repair (ccmrepair) doesn't fix it. Doing a client re-install (with always re-install) doesn't fix it either. I have to completely remove the existing client and reinstall to clear the problem, but that makes the client then appear as a completely new device in CM12 so that's not a very reasonable resolution.

The only log entry I can find that seems to indicate an error is in execmgr.log where an entry saying "OnContentAvailable invalid request GUID handle" appears several times. I have no idea what it means. Running the same deployment on another computer works fine.

Clients are all Windows7 SP1 32bit.

Available Software is installing automatically

$
0
0

Dear All,

This may be wired scenario where applications (available deployment) are installing automatically after it is available in software center for some time.

  1. Same application stays in available mode for some machines and some machines installing automatically
  2. Also not issue with single application and seeing same behavior with some more applications.

At this juncture we are seeing this as a random behavior and we are not able to track how available deployment is triggering mandatory install.

  1. We have verified the deployment is in available mode collection and no other mandatory deployments are targeted.
  2. Verified scheduler log and it is marking as available install

SMSTrigger '31E12A8000080001' (Schedule ID: 'Machine/{196159F8-1BCC-4AD5-8094-8A22253B7BF9}', Message Name: '', Target: 'direct:DCMAgent') will never fire again.

3.We have seen CI_CIAssignments table for the respective application and enforcement is Null which is clearly an available deployment.



Thanks, Sandeep

Deploy UltraVNC

$
0
0

HI All,

  How do i deploy UltraVNC via SCCM 2012 R2?

As

Past Due - Will be Installed/Retried

$
0
0

Hi

We are running Sccm 2012 R2 SP1 (Clients with CU1) at the moment, but we also have hade similar issues before SP1 installation (With R2).

The issue is that some applications and/or software updates (Microsoft) will not be installed on some clients. In Software Center status Past Due - Will be Installed/Retried. If I manually click retry or Install it installs just fine, but SCCM will never try to launch the installation automatically. Stuck in "Past Due" state forever.

I've read a lot about this and found an 2 year old post herehttp://blogs.msdn.com/b/rslaten/archive/2013/11/26/past-due-applications-not-installing-in-sccm-2012.aspx

I've tried to select a specific deadline date/time under deployment --> Scheduling instead of using the default "As soon as possible". Sometimes this does the trick (I specified a date/time in the past). This doesn't work on all applications.

I haven't tried the PS script (to automatically update deadline time by 1 min).Ths will do the same I manually did, but will do automatically on all applications right?

As I mentioned, only issues sometimes with some applications/some pcs.

is this a "bug" still in R2 SP1 or have I missed anything?

How to make SCCM try to launch/retry automatically?

Regards

Tony

Remove App-V deployement type version, deployed via SCCM

$
0
0

Hi,


We have deployed an App-V package 7-Zip, with deployment type verision 1.0. Now, there was a tiny feature change we needed to do so we made  deployment type version 2.0 and increased the priority.
The App-V package is deployed to a terminal server on which we have 100 users.
We see the old deployment type still is in use but also the new one. Tried to reboot the server, nothing works.

So last resort was to remove the old deployment type, but even that does not seem to work.

This is the package (not in use):

PackageId            :
VersionId            :
Name                 : packagex
Version              : 0.0.0.3
Path                 : C:\Windows\ccmcache\33\packagex
IsPublishedToUser    : False
UserPending          : False
IsPublishedGlobally  : False
GlobalPending        : False
InUse                : False
InUseByCurrentUser   : False
PackageSize          : 25066547
PercentLoaded        : 100
IsLoading            : False
HasAssetIntelligence : True


Whatever command I launch (via enter-pssession) no output (neither via -verbose) and it does not dissapear either.

Get-AppvClientPackage *7-zip*(1.0) -all | Stop-AppvClientPackage -Verbose | Unpublish-AppvClientPackage -verbose

get-appvclientpackage *7-zip*(1.0)  gives the package


Please advise.
J.



Jan Hoedt


Problem with distribute application via SCCM console and prestage option

$
0
0

Hi,

I have problems with distribute very big applications (Autodesk products) in SCCM 2012 R2. Everytime when I distribute this Autodesk application distribution process is failed. I through that can be two reasons:

1. Poor network connection

2. Daily SCCM backup task stops process of distribution.

I decided use "Create prestaged content file" option. Ready file I have copied via Robocopy and next I have imported application on DP. And here is a problem... I have done it on three DP's. One is fine but two after two days reported about "problem with update package". What a update - I have not updated application. Could you explain me what update process SCCM is thinking? :-)

Thank yo very much for answer.

How to customize the URL of Application Catalog?

$
0
0

Hi,

Is there a way to customize the URL of the application catalog for branding purposes?

Thanks!

How to install application from SCCM 2012 Application Catalog using administrator privilege?

$
0
0

Greetings!

I have a situation where all user accounts have no administrator privilege on their workstation, and they're disabled to install anything without administrator privilege. But we want them to still be able to install application they downloaded from SCCM 2012 Application Catalog. What should I do to ensure this will working?

Thanks



Task Sequence - Run Command Line

$
0
0

Hello,

I'm trying to setup a command line to change the name of a computer in a Task Sequence. Every time, the Task fails and I'm not sure why. The error code is 0x800004005.

The Run Command code is:

cscript.exe \\systemcenter\"Bat and VBS Packages"\ComputerName\Laptop.vbs

Is there something wrong with this? Why isn't this working?

How to use Application method to run app install as user, not system

$
0
0

Bit of a strange one this, in that most people seem to ask the opposite question (e.g.; https://social.technet.microsoft.com/Forums/en-US/a92f7713-11c7-45ed-8865-df4c18f60892/how-to-install-application-from-sccm-2012-application-catalog-using-administrator-privilege?forum=configmanagerapps).

I have a command line I want to run as the user, who doesn't have admin rights. Run the command line by hand, all is fine. The command in question will complain (fail!) though if you try and run as an admin/elevated.

Put the command line as a deployment type in an application, and despite setting setting "Install for user" as Installation behaviour on User Experience tab, it still runs as Admin. Naturally, it fails.

If I was to use the Package/Program method then setting Run mode to "Run with user's rights" would enable this, but I want to stick to the App model.

So, what have I missed?

Viewing all 4762 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>