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

Mixed Scope Bundle Deployment for SCCM

$
0
0

Hi TechNet Community,

I am currently working within this Windows Environment:

Domain Level Windows Server 2012

Windows 7 Clients

System Center Configuration Manager 2012 R2

Application being deployment: Executable (.exe)

Our software department is developing a fairly newly released application which requires both user level and administrator level permissions to install.  The Administrator permissions are required to install system level USB devices needed for this application, and the user level permissions point to the current logged on user's AppData.  There are currently no built-in switches for modified installation. I apologize in advance that I do not know the specifics of development terminology or roadmap. But I can get this information if it needed.

The issue I am running into, is when I am deploying this application with SYSTEM permissions(ie: install for system), the application installation fails.  When I install this using the logged on user permissions (if the user does not have Administrator level permissions), there is a UAC prompt which is expected.

Is there a way to bypass this via some sort of mixed-scope bundle deployment method that I am not aware of?

Thank you in advance!

Daniel


Daniel Scoland Windows 7 Professional SharePoint 2010 Microsoft Office 2010



Error 255 when package conting cmd deploys

$
0
0

I have a package that deploys to a user collection that is returning error 255. The package contains a .cmd file that runs a very short script. The script runs fine when done manually from a local drive. The program is set to run with user rights and the package is set to download and run locally. Because it runs correctly manually I'm at a loss as to why it is failing.

Script follows:

if exist "C:\Program Files (x86)\Microsoft Office\Office16\ospp.htm"
 ( winhttpcertcfg -i "certificate.pfx" -c CURRENT_USER\TrustedPublisher -a %username% -p password
 "C:\Program Files (x86)\Common Files\Microsoft Shared\VSTO\10.0\VSTOInstaller.exe" /i "%~dp0OutlookAddin1.vsto" /s)
else exit

 

Application Vs Package Deployment -SCCM 2012 R2

$
0
0

Hi,

Since SCCM 2012 there is concept of Application and Package both..

can you please share more details  when we should use Application and when we should use Package deployment ???

is any limitation o deploy any software as a Application or as a Package ??

Should I deploy .msi as a Application and .exe as a package ? both deployment will be display in installed Software in Software center during and after deployment??


Shailendra Dev

How to get application deployment result for an individual client in a collection.

$
0
0

Hi all,

Hope you can help. For "Reasons" I have to automate a link between a legacy helpdesk system and SCCM to automate the deployment of software once it has been approved by the legacy system's process.

The legacy system hasn't much interconnectivity, but it can read and write to SQL databases. So we have created a standalone database for it to post requests, which include the Device name and a device collection ID linked to a deployment for the requested software.

A PowerShell script on the SQL server runs and after some validation will insert the machine into the collection using Add-CMDeviceCollectionDirectMembershipRule (having converted the machine name into a resource ID).

Next we need to feed back to the legacy system what happened to the deployment. The plan was to have another PowerShell script and for each outstanding request, query SCCM by machine name and collection id to get the current status, including both status type and status field as seen in the deployment monitoring in the console. The standalone DB would be updated with this status which the legacy system would read back in it's own time.

The problem is I cannot see a way to get this data out of sccm. While Get-CMDeployment shows the summary for the number of clients with each status type it does not have any individual client details to search for and return to one we are wanting.

Is anyone able to help with a method. Idealy one which uses sccm cmdlets or WMI and does not involve directly querying the SCCM SQL database.

regards

Mat

Install customized Skype for Business 2016 Client

$
0
0

 Improvement  Program; Disabled->Send Office Feedback with Modify User Settings, Configured Registry Keys - HKCU\Software\IM Providers\DefaultIMApp:Lync & HKLM\SOFTWARE\Wow6432Node\Microsoft\Office\Outlook\Call Integration\IMApplication:Lync and saved Custom_file.MSP in updates folder. 

For manual installation edited the config.xml as below

<Display Level="None" CompletionNotice="no" SuppressModal="Yes" AcceptEula="yes" />  
<Setting Id="SETUP_REBOOT" Value="Never" />
<Setting Id="REBOOT" Value="ReallySuppress"/>

Manual Installation is planning with command: setup.exe /config config.xml

For installation through SCCM we are planning to follow the article "http://prajwaldesai.com/how-to-deploy-office-2016-using-sccm-2012-r2/"

Here we a have a few concerns

a) We want to auto-start Communicator when a user logged in to the PC till we migrate the user from Communicator to Skype and once we complete the migration then as usual SfB should start automatically

b) Even though we mentioned the MAK key with config and .msp file the SfB client is asking to activate the product, how can we correct this with manual installation

c) Installation through SCCM doesn't need config.xml file, right?

d) Cisco Jabber is overwriting the following registry keys and it takes precedence over SfB presence with Outlook

HKCU\Software\IM Providers\DefaultIMApp:Lync 

HKLM\SOFTWARE\Wow6432Node\Microsoft\Office\Outlook\Call Integration\IMApplication:Lync 

How can block Jabber from overwriting this value each time we starts Jabber or is there a way to update this value to Lync each time we starts SfB client

Thanks in advance


LMS

Installing a superceded application from Application Catalog - Requirements not met

$
0
0

I have two Applications - Power BI June is superceded by Power BI August.

Both Applications are deployed to Application Catalog. Power BI August has the supercedence option ticked "Allow users to see deployments for this application and all applications that it supercedes in Application Catalog", so both are showing up correctly.

A certain department want to go from August, back to June.

When I install Power BI August, uninstall it, and install Power BI June, I get "Requirements not met":

AppIntentEval.log (at time of receiving "Requirements not met" error in App Catalog):

ScopeId_50D51712-6795-4746-A9FB-E0E0B98C2492/Application_285db7bd-393d-4200-b758-3a352806a343/3 :- Current State = NotInstalled, Applicability = NotApplicable, ResolvedState = None, ConfigureState = NotNeeded, Title = Power BI Desktop (June 2016)	AppIntentEval	29/09/2016 9:09:13 AM	7620 (0x1DC4)
ScopeId_50D51712-6795-4746-A9FB-E0E0B98C2492/Application_a0148ec9-beab-47cf-8adb-f95c895c3c15/9 :- Current State = NotInstalled, Applicability = Applicable, ResolvedState = Available, ConfigureState = NotNeeded, Title = Power BI Desktop (August 2016) AppIntentEval 29/09/2016 9:09:13 AM 7620 (0x1DC4)

When I install Power BI June without ever having installed Power BI August (e.g. fresh machine) it works fine.

When I break the supercedence link between the two apps, installing Power BI August, uninstall it, and install Power BI June will now work.

Ultimately I would like to not have to break the supercedence link so that June users can update to August when they are ready to. What is happening here? It seems like the client is remembering that it has been assigned a superceding deployment and refuses to install the superceded one.



Application Deployment Status is incorrect

$
0
0

Hi,

I've started to see a problem recently, not sure why it's just suddenly started happening but when I deploy an application the deployment status doesn't seem to make much sense.

Sometimes some computers are unaccounted for, and don't appear under any of the tabs for Success, In Progress, Error, etc. they're just lost in the ether.

On the pie chart it displays the computers might be in progress or unknown state.

Tried doing a Machine Policy cycle on all the PCs which are like this and then doing a summarization, but the stats still aren't up to date. When I look at the PC, the program has already been installed, so it's just not reporting that back to the server.

Any ideas how to go about troubleshooting this?

Thanks,

Dave 

Office 365 Direct Access SCCM

$
0
0

Hi,

Recently we deployed a bunch of laptops using SCCM (windows 8.1) but having a partial issue with Office 365 via Software Center.

When laptops are within domain:

- Office 365 installs during OSD

- Office 365 installs via Software Center

When laptops are within domain via Direct Access:

- Office 365 downloads but fails at installing.

"exitcode: 17002"

"The software change returned error code 0x426A(17002)"

<![LOG[++++++ App enforcement completed (2 seconds) for App DT "VisioProRetail" [ScopeId_538AD476-A160-422A-81FA-BE714BFAD0B1/DeploymentType_3d6a46b6-ffca-477c-b200-cc3392085b38], Revision: 2, User SID: S-1-5-21-2507967118-3678214798-1188983363-2612] ++++++]LOG]!><time="11:33:58.291-600" date="07-10-2014" component="AppEnforce" context="" type="1" thread="6188" file="appprovider.cpp:2448"><![LOG[+++ Starting Install enforcement for App DT "VisioProRetail" ApplicationDeliveryType - ScopeId_538AD476-A160-422A-81FA-BE714BFAD0B1/DeploymentType_3d6a46b6-ffca-477c-b200-cc3392085b38, Revision - 2, ContentPath - C:\WINDOWS\ccmcache\d, Execution Context - System]LOG]!><time="11:34:17.546-600" date="07-10-2014" component="AppEnforce" context="" type="1" thread="6188" file="appprovider.cpp:1702"><![LOG[    A user is logged on to the system.]LOG]!><time="11:34:17.546-600" date="07-10-2014" component="AppEnforce" context="" type="1" thread="6188" file="appprovider.cpp:2083"><![LOG[    Performing detection of app deployment type VisioProRetail(ScopeId_538AD476-A160-422A-81FA-BE714BFAD0B1/DeploymentType_3d6a46b6-ffca-477c-b200-cc3392085b38, revision 2) for user.]LOG]!><time="11:34:17.550-600" date="07-10-2014" component="AppEnforce" context="" type="1" thread="6188" file="appprovider.cpp:2148"><![LOG[+++ Application not discovered. [AppDT Id: ScopeId_538AD476-A160-422A-81FA-BE714BFAD0B1/DeploymentType_3d6a46b6-ffca-477c-b200-cc3392085b38, Revision: 2]]LOG]!><time="11:34:17.580-600" date="07-10-2014" component="AppEnforce" context="" type="1" thread="6188" file="localapphandler.cpp:291"><![LOG[    App enforcement environment:
	Context: Machine
	Command line: setup.exe /configure configuration.xml
	Allow user interaction: No
	UI mode: 1
	User token: not null
	Session Id: 3
	Content path: C:\WINDOWS\ccmcache\d
	Working directory: ]LOG]!><time="11:34:17.580-600" date="07-10-2014" component="AppEnforce" context="" type="1" thread="6188" file="appcontext.cpp:85"><![LOG[    Prepared working directory: C:\WINDOWS\ccmcache\d]LOG]!><time="11:34:17.582-600" date="07-10-2014" component="AppEnforce" context="" type="1" thread="6188" file="appcontext.cpp:189"><![LOG[    Prepared command line: "C:\WINDOWS\ccmcache\d\setup.exe" /configure configuration.xml]LOG]!><time="11:34:17.584-600" date="07-10-2014" component="AppEnforce" context="" type="1" thread="6188" file="appcontext.cpp:338"><![LOG[    Executing Command line: "C:\WINDOWS\ccmcache\d\setup.exe" /configure configuration.xml with user context]LOG]!><time="11:34:17.585-600" date="07-10-2014" component="AppEnforce" context="" type="1" thread="6188" file="appexcnlib.cpp:201"><![LOG[    Working directory C:\WINDOWS\ccmcache\d]LOG]!><time="11:34:17.586-600" date="07-10-2014" component="AppEnforce" context="" type="1" thread="6188" file="appexcnlib.cpp:215"><![LOG[    Post install behavior is BasedOnExitCode]LOG]!><time="11:34:17.615-600" date="07-10-2014" component="AppEnforce" context="" type="1" thread="6188" file="appcommon.cpp:1094"><![LOG[    Waiting for process 440 to finish.  Timeout = 120 minutes.]LOG]!><time="11:34:17.617-600" date="07-10-2014" component="AppEnforce" context="" type="1" thread="6188" file="appexcnlib.cpp:1958"><![LOG[    Process 440 terminated with exitcode: 17002]LOG]!><time="11:34:19.687-600" date="07-10-2014" component="AppEnforce" context="" type="1" thread="6188" file="appexcnlib.cpp:1967"><![LOG[    Looking for exit code 17002 in exit codes table...]LOG]!><time="11:34:19.689-600" date="07-10-2014" component="AppEnforce" context="" type="1" thread="6188" file="appexcnlib.cpp:505"><![LOG[    Unmatched exit code (17002) is considered an execution failure.]LOG]!><time="11:34:19.690-600" date="07-10-2014" component="AppEnforce" context="" type="2" thread="6188" file="appexcnlib.cpp:591"><![LOG[++++++ App enforcement completed (2 seconds) for App DT "VisioProRetail" [ScopeId_538AD476-A160-422A-81FA-BE714BFAD0B1/DeploymentType_3d6a46b6-ffca-477c-b200-cc3392085b38], Revision: 2, User SID: S-1-5-21-2507967118-3678214798-1188983363-2612] ++++++]LOG]!><time="11:34:19.692-600" date="07-10-2014" component="AppEnforce" context="" type="1" thread="6188" file="appprovider.cpp:2448">

I have seen some other post where they suggest it is a permission issue but in my case there are no pop up windows and the content was cached to user directory.

Also confirming that source folder (files and file sizes) are all matching compare to local cached folder.

Administrator full access to file (myself logged in as administrator)

Thank you,

Jono



Jonathan



Switches QR or QB dont work in SCCM ?

$
0
0

Hi,
does someone knows if i could Start an MSI File with the Switch /QR over SCCM ?
We got the Problem that MSI was Configured with /qr in the Console but SCCM seems like he changed that automaticly to /qn if the Installation starts over SCCM.

Our target is to start SCCM installation of an MSI with the QR-Switch.

Does someone had the same Problem ?

Updating Office 2016 Pro Plus to newer version

$
0
0

We deployed Office 2016 Pro Plus (version 16.0.4266.1001) in our environment via SCCM by placing the package on a network share. Since we did this over the Summer newer versions of Office Pro Plus 2016 have been released.

And so our standalone package is still at version 16.0.4266.1001 and we've found out it's causing a syncing issue with OneNote. The issue is resolved in the newest version of Office 2016 Pro Plus. So we'd like to push out a software update if possible to get our standalone version of Office Pro Plus updated to the newest version. Ideally this update would run in the background and wouldn't require our users to uninstall/reinstall from Software Center.

Has anybody gone through this process and could help point me in the right direction?

I contacted our Microsoft customer support and they notified me that they only help troubleshoot deployments using the Office Deployment Tool and that I would have to open a Professional support ticket.

Application Content on no distribution point but in progress - cannot delete application

$
0
0

Hey,

I have a very strange behaviour with one application.
In content tab the application is distributed to no distribution point, but status is still in progress on one DP.
I already tried to add the application to one distribution point and remove it again - but without any change to the one unknown in progress.
I already remove all version history to make sure there is nothing causing the error - but without success.

Additionally I cannot delete the application - it told me first 3 TaskSequences are referring to it.
So I went through all of my 8 ones and remove from 2. But it still tells me there is one referring.
So I went again two time but none of my TaskSequences is still referring.

Any Idea what to do?

SCCM 2012 CLIENT

$
0
0

Hi SCCM client not pushing out on one desktop. When i go to the the desktop i can see software centre and application have been installed in the past when i try and push out an application now nothing comes through to software centre.  In Sccm devices it says no client has been installed.

Ive tried forcing it through still nothing,

Your help will be much appreciated

Application deployment not showing in Monitoring tab

$
0
0

Hi,

I have deployed an appv 5 application in SCCM. I am getting error message while checking the deployment status via Monitoring tab. But when I check in Monitoring tab in the console I am not able to see any machine listed under Error section. The machines are not visible in other section either(e.g Unknown).

Can anyone help how can I fix this.


Deploy an Upgrade/Update to an Application Currently in use

$
0
0

Could someone point me to the best method to updating an installed application that might currently be in use? An example would be Firefox. I've found the installations typically fail or force an immediate restart despite multiple parameters not to do so.

Selecting the install only when no user is logged on doesn't work because users typically restart their computers rather than logging off and letting them sit idle. Deploying through GPO requires the user to be able to have access to the network on Windows Startup and remote users would not have this capability.

Thanks.

Software Center Application Stuck on Waiting to Install (have checked off "allow users to run program independently")

$
0
0

Hi,

I'm not sure if this is by design of SCCM 2012, but if I set up a package for deployment as "Required" with a deadline and also check off the "Allow users to run program independently of assignments" checkbox, if the deadline passes a client cannot install the software during maintenance windows. They can only install the package in advance of the deadline, after which it says on "waiting to install" until a maintenance window is available.

Now of course if I check the "software installation" box under the "User Experience" tab, that overrides the maintenance windows and installs the software. The only problem is, is that it does it automatically. This is a problem for packages that shut down other applications to install the software (for example shutting down Internet Explorer to install another app) as we don't want applications shutting down when a user comes in at 9 AM or being prompted to reboot their machine.

So basically what I want to know is, is it possible to allow a client to run a package from Software Center themselves after a deadline has passed without either setting it to an "Available" advertisement or checking off that "software installation" box and have the software install automatically? I was able to have clients install software at any time past deadlines manually in SCCM 2007 (with "Run Advertised Programs"). Thanks in advance!



Query for detecting Office x86 or x64.

$
0
0

Hi,

I am trying to find a way to detect which computers has Office 365 x86 and which has Office 365 x64 in our environment.

Anyone know a query that will work for this?

The query I am using to detect if Office 365 (any version) is installed is this:

select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name,SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainORWorkgroup,SMS_R_SYSTEM.Client from SMS_R_System inner join SMS_G_System_ADD_REMOVE_PROGRAMS_64 on SMS_G_System_ADD_REMOVE_PROGRAMS_64.ResourceID = SMS_R_System.ResourceId where SMS_G_System_ADD_REMOVE_PROGRAMS_64.DisplayName = "Microsoft Office 365 ProPlus - en-us"

Silently installing Skype For Business Online web installer across enterprise using SCCM

$
0
0

Hello,

I am planning to roll out Skype For Business Online (Office 365) to users across enterprise. We want to install this silently to all users.

I tried to search for the MSI/full Exe version to install but I am only able to get the Web Installer version downloadable from Office 365 Admin center.

Can anyone advice how to silently install the web installer version silently across enterprise using Microsoft SCCM?

Thanks,


kesari suresh

sccm 2012 R2 application deployment log

$
0
0

hey:

I am trying to deploy 7zip application as sccm 2012 R2 application, the deployment is for all users , but nothing appears on the software center, is there any log for deployed applications..

thank you in advance

Application failing on about 3/4 of my clients - The software change returned error code 0x87D00317(-2016410857).

$
0
0

Hi All,

I'm trying to deploy .Net 4.5.2 to about 1000 clients and it's applicable on about half of those.  I'm seeing the above error in the software center and in the monitoring node for about 3/4 of the applicable clients.  The other 1/4 of clients (so about 125) have installed just fine.  When i dig into the logs after trying to run the application manually via the software center, I'm seeing some errors in the CI*.log files:

Failed to get state for (a19564d3-4f6f-44e3-a163-43677351ac72) from MTC. Error = 0x87d00317    CITaskMgr    11/21/2016 8:55:10 AM    8212 (0x2014)
Failed to submit MTC request : CITask(ScopeId_DDF2880D-575F-42D9-A30B-E026F0EFDA4F/DeploymentType_8f4feec6-4309-43f9-8777-dd757565ff1b.10..Install.Enforce)    CITaskMgr    11/21/2016 8:55:10 AM    8212 (0x2014)
CCITaskMgr::InitiateTask failed. Error =0x87d00317    CITaskMgr    11/21/2016 8:55:10 AM    8212 (0x2014)

The appdiscovery, appenforce and appintenteval logs don't show any errors, they show the following when i run the application manually:

Entering ExecQueryAsync for query "select * from CCM_AppDeliveryType where (AppDeliveryTypeId = "ScopeId_DDF2880D-575F-42D9-A30B-E026F0EFDA4F/DeploymentType_8f4feec6-4309-43f9-8777-dd757565ff1b" AND Revision = 10)"    AppDiscovery   11/21/2016 9:07:08 AM    9360 (0x2490)
    Performing detection of app deployment type .Net 4.5.2(ScopeId_DDF2880D-575F-42D9-A30B-E026F0EFDA4F/DeploymentType_8f4feec6-4309-43f9-8777-dd757565ff1b, revision 10) for system.    AppDiscovery    11/21/2016 9:07:08 AM    9360 (0x2490)
+++ Application not discovered. [AppDT Id: ScopeId_DDF2880D-575F-42D9-A30B-E026F0EFDA4F/DeploymentType_8f4feec6-4309-43f9-8777-dd757565ff1b, Revision: 10]    AppDiscovery    11/21/2016 9:07:08 AM    9360 (0x2490)
+++ Did not detect app deployment type .Net 4.5.2(ScopeId_DDF2880D-575F-42D9-A30B-E026F0EFDA4F/DeploymentType_8f4feec6-4309-43f9-8777-dd757565ff1b, revision 10) for system.    AppDiscovery    11/21/2016 9:07:08 AM   9360 (0x2490)
No dependencies for DeploymentType ScopeId_DDF2880D-575F-42D9-A30B-E026F0EFDA4F/DeploymentType_8f4feec6-4309-43f9-8777-dd757565ff1b/10.    AppIntentEval    11/21/2016 9:07:08 AM    9796 (0x2644)
* Evaluating Application policies for Machine    AppIntentEval    11/21/2016 9:07:08 AM    9796 (0x2644)
DT id = ScopeId_DDF2880D-575F-42D9-A30B-E026F0EFDA4F/RequiredApplication_eb78fbea-eabf-493b-bae7-ead8b784b488/11, technology = Script    AppIntentEval    11/21/2016 9:07:08 AM    9796 (0x2644)
ScopeId_DDF2880D-575F-42D9-A30B-E026F0EFDA4F/DeploymentType_8f4feec6-4309-43f9-8777-dd757565ff1b/10 :- Current State = NotInstalled, Applicability = Applicable, ResolvedState = Installed, ConfigureState = NotNeeded, Title = .Net 4.5.2    AppIntentEval   11/21/2016 9:07:08 AM    9796 (0x2644)
ScopeId_DDF2880D-575F-42D9-A30B-E026F0EFDA4F/Application_eb78fbea-eabf-493b-bae7-ead8b784b488/11 :- Current State = NotInstalled, Applicability = Applicable, ResolvedState = Installed, ConfigureState = NotNeeded, Title = .Net 4.5.2    AppIntentEval   11/21/2016 9:07:08 AM    9796 (0x2644)
ScopeId_DDF2880D-575F-42D9-A30B-E026F0EFDA4F/RequiredApplication_eb78fbea-eabf-493b-bae7-ead8b784b488/11 :- Current State = NonCompliant, Applicability = Applicable, ResolvedState = Compliant, ConfigureState = NotNeeded, Title = ApplicationIntentPolicy   AppIntentEval    11/21/2016 9:07:08 AM    9796 (0x2644)
   ActionType - Install will use Content Id: Content_3efc02a3-4fb0-41f0-81b2-a0c09c401204 + Content Version: 1 for AppDT ".Net 4.5.2" [ScopeId_DDF2880D-575F-42D9-A30B-E026F0EFDA4F/DeploymentType_8f4feec6-4309-43f9-8777-dd757565ff1b], Revision - 10    AppDiscovery    11/21/2016 9:07:08 AM    9360 (0x2490)
Entering ExecQueryAsync for query "select * from CCM_AppDeliveryType where (AppDeliveryTypeId = "ScopeId_DDF2880D-575F-42D9-A30B-E026F0EFDA4F/DeploymentType_8f4feec6-4309-43f9-8777-dd757565ff1b" AND Revision = 10)"    AppDiscovery   11/21/2016 9:07:09 AM    9360 (0x2490)
    Performing detection of app deployment type .Net 4.5.2(ScopeId_DDF2880D-575F-42D9-A30B-E026F0EFDA4F/DeploymentType_8f4feec6-4309-43f9-8777-dd757565ff1b, revision 10) for system.    AppDiscovery    11/21/2016 9:07:09 AM    9360 (0x2490)
+++ Application not discovered. [AppDT Id: ScopeId_DDF2880D-575F-42D9-A30B-E026F0EFDA4F/DeploymentType_8f4feec6-4309-43f9-8777-dd757565ff1b, Revision: 10]    AppDiscovery    11/21/2016 9:07:09 AM    9360 (0x2490)
+++ Did not detect app deployment type .Net 4.5.2(ScopeId_DDF2880D-575F-42D9-A30B-E026F0EFDA4F/DeploymentType_8f4feec6-4309-43f9-8777-dd757565ff1b, revision 10) for system.    AppDiscovery    11/21/2016 9:07:09 AM   9360 (0x2490)
No dependencies for DeploymentType ScopeId_DDF2880D-575F-42D9-A30B-E026F0EFDA4F/DeploymentType_8f4feec6-4309-43f9-8777-dd757565ff1b/10.    AppIntentEval    11/21/2016 9:07:09 AM    9796 (0x2644)
* Evaluating Application policies for Machine    AppIntentEval    11/21/2016 9:07:09 AM    9796 (0x2644)
DT id = ScopeId_DDF2880D-575F-42D9-A30B-E026F0EFDA4F/RequiredApplication_eb78fbea-eabf-493b-bae7-ead8b784b488/11, technology = Script    AppIntentEval    11/21/2016 9:07:09 AM    9796 (0x2644)
ScopeId_DDF2880D-575F-42D9-A30B-E026F0EFDA4F/DeploymentType_8f4feec6-4309-43f9-8777-dd757565ff1b/10 :- Current State = NotInstalled, Applicability = Applicable, ResolvedState = Installed, ConfigureState = NotNeeded, Title = .Net 4.5.2    AppIntentEval   11/21/2016 9:07:09 AM    9796 (0x2644)
ScopeId_DDF2880D-575F-42D9-A30B-E026F0EFDA4F/Application_eb78fbea-eabf-493b-bae7-ead8b784b488/11 :- Current State = NotInstalled, Applicability = Applicable, ResolvedState = Installed, ConfigureState = NotNeeded, Title = .Net 4.5.2    AppIntentEval   11/21/2016 9:07:09 AM    9796 (0x2644)
ScopeId_DDF2880D-575F-42D9-A30B-E026F0EFDA4F/RequiredApplication_eb78fbea-eabf-493b-bae7-ead8b784b488/11 :- Current State = NonCompliant, Applicability = Applicable, ResolvedState = Compliant, ConfigureState = NotNeeded, Title = ApplicationIntentPolicy   AppIntentEval    11/21/2016 9:07:09 AM    9796 (0x2644)
   ActionType - Install will use Content Id: Content_3efc02a3-4fb0-41f0-81b2-a0c09c401204 + Content Version: 1 for AppDT ".Net 4.5.2" [ScopeId_DDF2880D-575F-42D9-A30B-E026F0EFDA4F/DeploymentType_8f4feec6-4309-43f9-8777-dd757565ff1b], Revision - 10    AppDiscovery    11/21/2016 9:07:10 AM    9360 (0x2490)

I've tried restarting the ccmexec service and i've also tried restarting the system.  I've also tried deleting the ccmcache folder and updating the content on the DP to force it to redownload.  At this point I'm stuck and don't know where else to look.  I'm just not finding much on the errors that show up in the console monitoring and software center:

0x87D00317(-2016410857).

Thanks.

SystemIfo

$
0
0

I'm trying to create a package that will run SystemInfo on a collection of servers and save the results on a network share:

It works great if I run the following command from one of the servers: systeminfo.exe > "\\ServerName\Share\%computername%.txt"

But it fails when I try and push it out through SCCM.

I put the same command in the "Command line" of SCCM (systeminfo.exe > "\\ServerName\Share\%computername%.txt") but it fails with an error code 1:

Policy arrived for parent package BQR00097 program Server update listexecmgr11/21/2016 12:48:19 PM3876 (0x0F24)
Raising client SDK event for class CCM_Program, instance CCM_Program.PackageID="BQR00097",ProgramID="Server update list", actionType 6l, value NULL, user NULL, session 4294967295l, level 0l, verbosity 30lexecmgr11/21/2016 12:48:19 PM3876 (0x0F24)
Raising event:
[SMS_CodePage(437), SMS_LocaleID(1033)]
instance of SoftDistProgramOfferReceivedEvent
{
AdvertisementId = "BQR2009D";
ClientID = "GUID:5436AECC-196C-4755-9294-0C5574017E11";
DateTime = "20161121204819.564000+000";
MachineName = "**********";
ProcessID = 3032;
SiteCode = "BQR";
ThreadID = 3876;
};
execmgr 11/21/2016 12:48:19 PM3876 (0x0F24)
Validating chain of dependent programs for package BQR00097 optional program Server update listexecmgr11/21/2016 12:49:45 PM3876 (0x0F24)
Validating package BQR00097 program Server update list in the chain. The content request ID is {00000000-0000-0000-0000-000000000000}execmgr11/21/2016 12:49:45 PM3876 (0x0F24)
Creating an optional execution request for package BQR00097 program Server update listexecmgr 11/21/2016 12:49:46 PM3876 (0x0F24)
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.execmgr11/21/2016 12:49:46 PM3876 (0x0F24)
Request a MTC task for execution request of package BQR00097, program Server update list with request id: {F62098D2-7199-4F75-8B13-E7D765694D13}execmgr11/21/2016 12:49:46 PM3876 (0x0F24)
Execution Request for advert  package BQR00097 program Server update list state change from NotExist to Readyexecmgr11/21/2016 12:49:46 PM3876 (0x0F24)
MTC task with id {F62098D2-7199-4F75-8B13-E7D765694D13}, changed state from 0 to 4execmgr11/21/2016 12:49:46 PM3996 (0x0F9C)
Raising client SDK event for class CCM_Program, instance CCM_Program.PackageID="BQR00097",ProgramID="Server update list", actionType 1l, value , user NULL, session 4294967295l, level 0l, verbosity 30lexecmgr11/21/2016 12:49:46 PM3876 (0x0F24)
MTC signaled SWD execution request with program id: Server update list, package id: BQR00097 for execution.execmgr11/21/2016 12:49:46 PM3996 (0x0F9C)
Sending ack to MTC for task with id: {F62098D2-7199-4F75-8B13-E7D765694D13}execmgr11/21/2016 12:49:46 PM3996 (0x0F9C)
Executing program systeminfo.exe > "\********\********\\%computername%.txt" in Admin contextexecmgr11/21/2016 12:49:46 PM3996 (0x0F9C)
Execution Request for advert  package BQR00097 program Server update list state change from Ready to NotifyExecutionexecmgr11/21/2016 12:49:46 PM3996 (0x0F9C)
Raising client SDK event for class CCM_Program, instance CCM_Program.PackageID="BQR00097",ProgramID="Server update list", actionType 1l, value , user NULL, session 4294967295l, level 0l, verbosity 30lexecmgr11/21/2016 12:49:46 PM3996 (0x0F9C)
Executing program as a scriptexecmgr11/21/2016 12:49:46 PM3996 (0x0F9C)
Successfully prepared command line "C:\Windows\system32\systeminfo.exe" > "\\********\\********\\*******.txt"execmgr11/21/2016 12:49:46 PM3996 (0x0F9C)
Command line = "C:\Windows\system32\systeminfo.exe" > "\\********\\********\\*******.txt", Working Directory = C:\Windows\system32\execmgr11/21/2016 12:49:46 PM3996 (0x0F9C)
Running "C:\Windows\system32\systeminfo.exe" > "\\bfile\BShare\Depts\FinOps\IT\SOX\2016 SOX\EV4a\DAVESTESTSERVER.txt" with 32bitLauncherexecmgr11/21/2016 12:49:46 PM3996 (0x0F9C)
Created Process for the passed command line execmgr11/21/2016 12:49:46 PM3996 (0x0F9C)
Raising event:
[SMS_CodePage(437), SMS_LocaleID(1033)]
instance of SoftDistProgramStartedEvent
{
AdvertisementId = "BQR2009D";
ClientID = "GUID:5436AECC-196C-4755-9294-0C5574017E11";
CommandLine = "\"C:\\Windows\\system32\\systeminfo.exe\" > \"\\\\********\\********\\*******.txt\"";
DateTime = "20161121204946.580000+000";
MachineName = "********";
PackageName = "BQR00097";
ProcessID = 3032;
ProgramName = "Server update list";
SiteCode = "BQR";
ThreadID = 3996;
UserContext = "NT AUTHORITY\\SYSTEM";
WorkingDirectory = "C:\\Windows\\system32\\";
};
execmgr 11/21/2016 12:49:46 PM3996 (0x0F9C)
Raised Program Started Event for Ad:BQR2009D, Package:BQR00097, Program: Server update listexecmgr11/21/2016 12:49:46 PM3996 (0x0F9C)
Raising client SDK event for class CCM_Program, instance CCM_Program.PackageID="BQR00097",ProgramID="Server update list", actionType 1l, value NULL, user NULL, session 4294967295l, level 0l, verbosity 30lexecmgr11/21/2016 12:49:46 PM3996 (0x0F9C)
Raising client SDK event for class CCM_Program, instance CCM_Program.PackageID="BQR00097",ProgramID="Server update list", actionType 1l, value , user NULL, session 4294967295l, level 0l, verbosity 30lexecmgr11/21/2016 12:49:46 PM3996 (0x0F9C)
MTC task with id {F62098D2-7199-4F75-8B13-E7D765694D13}, changed state from 4 to 5execmgr11/21/2016 12:49:46 PM4564 (0x11D4)
Program exit code 1execmgr11/21/2016 12:49:46 PM276 (0x0114)
Looking for MIF file to get program statusexecmgr11/21/2016 12:49:46 PM276 (0x0114)
Script for Package:BQR00097, Program: Server update list failed with exit code 1execmgr11/21/2016 12:49:46 PM276 (0x0114)
Raising event:
[SMS_CodePage(437), SMS_LocaleID(1033)]
instance of SoftDistProgramErrorEvent
{
AdvertisementId = "BQR2009D";
ClientID = "GUID:5436AECC-196C-4755-9294-0C5574017E11";
DateTime = "20161121204946.938000+000";
ExitCode = "1";
MachineName = "********";
PackageName = "BQR00097";
ProcessID = 3032;
ProgramName = "Server update list";
SiteCode = "BQR";
ThreadID = 276;
UserContext = "NT AUTHORITY\\SYSTEM";
};
execmgr 11/21/2016 12:49:46 PM276 (0x0114)
Raised Program Error Event for Ad:BQR2009D, Package:BQR00097, Program: Server update listexecmgr11/21/2016 12:49:46 PM276 (0x0114)
Execution is complete for program Server update list. The exit code is 1, the execution status is FailureNonRetryexecmgr11/21/2016 12:49:47 PM276 (0x0114)
Requesting MTC to delete task with id: {F62098D2-7199-4F75-8B13-E7D765694D13}execmgr11/21/2016 12:49:47 PM276 (0x0114)
MTC task with id: {F62098D2-7199-4F75-8B13-E7D765694D13} deleted successfully.execmgr11/21/2016 12:49:47 PM276 (0x0114)
Raising client SDK event for class CCM_Program, instance CCM_Program.PackageID="BQR00097",ProgramID="Server update list", actionType 10l, value Result:FALSE, user NULL, session 4294967295l, level 0l, verbosity 30lexecmgr11/21/2016 12:49:47 PM276 (0x0114)
Requesting MTC to delete task with id: {F62098D2-7199-4F75-8B13-E7D765694D13}execmgr11/21/2016 12:49:47 PM276 (0x0114)
This execution request does not have a corresponding task in MTC.execmgr11/21/2016 12:49:47 PM276 (0x0114)
Raising client SDK event for class CCM_Program, instance CCM_Program.PackageID="BQR00097",ProgramID="Server update list", actionType 1l, value , user NULL, session 4294967295l, level 0l, verbosity 30lexecmgr11/21/2016 12:49:47 PM276 (0x0114)

I also tried creating batch file using  %windir%\Sysnative\cmd.exe systeminfo.exe > "\\ServerName\Share\%computername%.txt", but I get a 259 error after the process times out. (I tried it without "cmd.exe", %windir%\Sysnative\systeminfo.exe> "\\ServerName\Share\%computername%.txt"

Validating chain of dependent programs for package BQR00097 optional program Server update listexecmgr11/21/2016 8:40:01 AM944 (0x03B0)
Validating package BQR00097 program Server update list in the chain. The content request ID is {00000000-0000-0000-0000-000000000000}execmgr11/21/2016 8:40:01 AM944 (0x03B0)
Creating an optional execution request for package BQR00097 program Server update listexecmgr 11/21/2016 8:40:01 AM944 (0x03B0)
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.execmgr11/21/2016 8:40:01 AM944 (0x03B0)
Request a MTC task for execution request of package BQR00097, program Server update list with request id: {18B051ED-62EC-4E68-A651-36DD9B9DB047}execmgr11/21/2016 8:40:01 AM944 (0x03B0)
Execution Request for advert  package BQR00097 program Server update list state change from NotExist to Readyexecmgr11/21/2016 8:40:01 AM944 (0x03B0)
Raising client SDK event for class CCM_Program, instance CCM_Program.PackageID="BQR00097",ProgramID="Server update list", actionType 1l, value , user NULL, session 4294967295l, level 0l, verbosity 30lexecmgr11/21/2016 8:40:01 AM944 (0x03B0)
MTC task with id {18B051ED-62EC-4E68-A651-36DD9B9DB047}, changed state from 0 to 4execmgr11/21/2016 8:40:01 AM3300 (0x0CE4)
MTC signaled SWD execution request with program id: Server update list, package id: BQR00097 for execution.execmgr11/21/2016 8:40:01 AM3300 (0x0CE4)
Sending ack to MTC for task with id: {18B051ED-62EC-4E68-A651-36DD9B9DB047}execmgr11/21/2016 8:40:01 AM3300 (0x0CE4)
Executing program %windir%\Sysnative\cmd.exe systeminfo.exe > "\\******\*********\%computername%.txt" in Admin contextexecmgr11/21/2016 8:40:01 AM3300 (0x0CE4)
Execution Request for advert  package BQR00097 program Server update list state change from Ready to NotifyExecutionexecmgr11/21/2016 8:40:01 AM3300 (0x0CE4)
Raising client SDK event for class CCM_Program, instance CCM_Program.PackageID="BQR00097",ProgramID="Server update list", actionType 1l, value , user NULL, session 4294967295l, level 0l, verbosity 30lexecmgr11/21/2016 8:40:01 AM3300 (0x0CE4)
Executing program as a scriptexecmgr11/21/2016 8:40:01 AM3300 (0x0CE4)
Successfully prepared command line "C:\Windows\sysnative\cmd.exe" systeminfo.exe > "\\*******\*******\******.txt"execmgr11/21/2016 8:40:01 AM3300 (0x0CE4)
Command line = "C:\Windows\sysnative\cmd.exe" systeminfo.exe > "\\*****\*****\*******.txt", Working Directory = C:\Windows\system32\execmgr11/21/2016 8:40:01 AM3300 (0x0CE4)
Running "C:\Windows\sysnative\cmd.exe" systeminfo.exe > "\\********\*****\*******.txt" with 32bitLauncherexecmgr11/21/2016 8:40:01 AM3300 (0x0CE4)
Created Process for the passed command line execmgr11/21/2016 8:40:02 AM3300 (0x0CE4)
Raising event:
[SMS_CodePage(437), SMS_LocaleID(1033)]
instance of SoftDistProgramStartedEvent
{
AdvertisementId = "BQR2009B";
ClientID = "GUID:5436AECC-196C-4755-9294-0C5574017E11";
CommandLine = "\"C:\\Windows\\sysnative\\cmd.exe\" systeminfo.exe > \"\\\\******\\*****\\*****.txt\"";
DateTime = "20161121164002.407000+000";
MachineName = "*******";
PackageName = "BQR00097";
ProcessID = 3032;
ProgramName = "Server update list";
SiteCode = "BQR";
ThreadID = 3300;
UserContext = "NT AUTHORITY\\SYSTEM";
WorkingDirectory = "C:\\Windows\\system32\\";
};
execmgr 11/21/2016 8:40:02 AM3300 (0x0CE4)
Raised Program Started Event for Ad:BQR2009B, Package:BQR00097, Program: Server update listexecmgr11/21/2016 8:40:02 AM3300 (0x0CE4)
Raising client SDK event for class CCM_Program, instance CCM_Program.PackageID="BQR00097",ProgramID="Server update list", actionType 1l, value NULL, user NULL, session 4294967295l, level 0l, verbosity 30lexecmgr11/21/2016 8:40:02 AM3300 (0x0CE4)
Raising client SDK event for class CCM_Program, instance CCM_Program.PackageID="BQR00097",ProgramID="Server update list", actionType 1l, value , user NULL, session 4294967295l, level 0l, verbosity 30lexecmgr11/21/2016 8:40:02 AM3300 (0x0CE4)
MTC task with id {18B051ED-62EC-4E68-A651-36DD9B9DB047}, changed state from 4 to 5execmgr11/21/2016 8:40:02 AM2384 (0x0950)
Program exit code 259execmgr11/21/2016 8:55:02 AM3376 (0x0D30)
Looking for MIF file to get program statusexecmgr11/21/2016 8:55:02 AM3376 (0x0D30)
Program ran past its maximum runtime. It will be orphanedexecmgr11/21/2016 8:55:02 AM3376 (0x0D30)
Raising event:
[SMS_CodePage(437), SMS_LocaleID(1033)]
instance of SoftDistProgramExceededTime
{
AdvertisementId = "BQR2009B";
ClientID = "GUID:5436AECC-196C-4755-9294-0C5574017E11";
DateTime = "20161121165502.440000+000";
MachineName = "*****";
MaximumTime = "15";
PackageName = "BQR00097";
ProcessID = 3032;
ProgramName = "Server update list";
SiteCode = "BQR";
ThreadID = 3376;
};
execmgr 11/21/2016 8:55:02 AM3376 (0x0D30)
Raised Program Exceeded Time Event for Ad:BQR2009B, Package:BQR00097, Program: Server update listexecmgr11/21/2016 8:55:02 AM3376 (0x0D30)
Execution is complete for program Server update list. The exit code is 259, the execution status is Unknown Statusexecmgr11/21/2016 8:55:02 AM2412 (0x096C)
Requesting MTC to delete task with id: {18B051ED-62EC-4E68-A651-36DD9B9DB047}execmgr11/21/2016 8:55:02 AM2412 (0x096C)
MTC task with id: {18B051ED-62EC-4E68-A651-36DD9B9DB047} deleted successfully.execmgr11/21/2016 8:55:02 AM2412 (0x096C)
Raising client SDK event for class CCM_Program, instance CCM_Program.PackageID="BQR00097",ProgramID="Server update list", actionType 10l, value Result:FALSE, user NULL, session 4294967295l, level 0l, verbosity 30lexecmgr11/21/2016 8:55:02 AM2412 (0x096C)
Requesting MTC to delete task with id: {18B051ED-62EC-4E68-A651-36DD9B9DB047}execmgr11/21/2016 8:55:02 AM2412 (0x096C)
This execution request does not have a corresponding task in MTC.execmgr11/21/2016 8:55:02 AM2412 (0x096C)
Raising client SDK event for class CCM_Program, instance CCM_Program.PackageID="BQR00097",ProgramID="Server update list", actionType 1l, value , user NULL, session 4294967295l, level 0l, verbosity 30lexecmgr11/21/2016 8:55:02 AM2412 (0x096C)

Any help would be greatly appreciated. 

Viewing all 4762 articles
Browse latest View live


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