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

Application Fails as Required, Succeeds as Available

$
0
0

I have an SCCM Application that when deployed as required it fails. When it is deployed as available it succeeds. The same application and source files created as a package deployed as required will succeed. I have never seen this behavior before.

I have tested running the application as system to rule out system having a problem running the .cmd from a command prompt and it succeeds also.  The AppenForce log shows running the application as available is running in the user context.  Does this mean it is running as the logged on user - and not as system?

Any thoughts??


SCCM Deployments Monitoring shows old statistics when the same Application is deployed to different Collection type

$
0
0

Hi,

I have 2 main collections: All UK Users (about 1000 members) and All UK Devices (about 700). The names should be quite explanatory...

I have deployed about a month ago an Application (that installs per system and does not have a requirement for user primary device) to the All UK Users collection. What happened is that in the deployment monitoring I ended up getting about 1,300 records because several users log for a short time in a workstation that is not their primary so the deployment was firing again for them but not necessarily completing.

The result is that for the same workstation I get even 4 or 5 different statuses (Already Compliant, Success, In progress, failed,etc.). I later decided to delete that deployment and deploy again to the All UK Devices collection, hoping this time to see only 700 records with the real deployment status for each workstation. Sadly I got frustrated by the fact that SCCM (2012) immediately repopulated the deployment monitoring for that app with the same stats that it had before.

Basically I cannot get rid of the history of the previous deployment and get the same stats that I would get if I had deployed that app tot he device collection in first instance. How can I achieve that?


Application deployment getting failed

$
0
0

Hi All,

In my LAB my application deployment getting failed even after running the Application Deployment evolution cycle nothing happens , appdiscovery.log not getting created.

after running application deployment cycle checked in cistore.log and found below error

   CI Store starting up...CIStore5/26/2019 3:06:13 PM2888 (0x0B48)
GetInstanceFromLantern failed (0x80041002). CIStore5/26/2019 3:06:15 PM5388 (0x150C)
GetInstanceFromLantern failed (0x80041002). CIStore5/26/2019 3:06:15 PM5388 (0x150C)
CI Store shutting down...CIStore5/26/2019 3:08:01 PM4420 (0x1144)
CI Store starting up...CIStore5/26/2019 3:08:18 PM3752 (0x0EA8)
CCIStore::EnumConfigPointAccessorsForCIs failed with error 0x80040e14CIStore5/26/2019 3:08:24 PM5140 (0x1414)
CCIStore::EnumConfigPointAccessorsForCIs failed with error 0x80040e14CIStore5/26/2019 3:08:53 PM1576 (0x0628)
CCIStore::EnumConfigPointAccessorsForCIs failed with error 0x80040e14CIStore5/26/2019 3:11:52 PM5800 (0x16A8)
CCIStore::EnumConfigPointAccessorsForCIs failed with error 0x80040e14CIStore5/26/2019 3:18:59 PM3124 (0x0C34)
CCIStore::EnumConfigPointAccessorsForCIs failed with error 0x80040e14CIStore5/26/2019 3:35:41 PM5852 (0x16DC)
CCIStore::EnumConfigPointAccessorsForCIs failed with error 0x80040e14CIStore5/26/2019 8:38:01 PM4652 (0x122C)
CCIStore::EnumConfigPointAccessorsForCIs failed with error 0x80040e14CIStore5/26/2019 9:27:42 PM4652 (0x122C)

please help 

Force installation of application when state is pending for restart?

$
0
0

I've got some servers that are in a state of 'Past due - will be installed' and we figured out that the machine is in a pending for restart state.

But when we manually install the application through Software Center it installs well. So my question, is it possible to do this unattended for a list of servers and for the install even when the machine is in pending state?

I tried to unistall ccmsetup but didn't unistall all

$
0
0

hello, 

I tried to unistall ccmsetup from one client but didn't unistall full. on sccm show my this client is install but all day is inactive , but user work. i download one application ccmclean but i dont know if is safe this app. 

please help me if you know something for this!

Thank you. 

Recurring Schedule Deployment of an Application - SCCM 2012

$
0
0

Hi,

We are converting our SCCM 2007 packages into SCCM 2012 applications and I've scenario that I could not determine the solution with new application model.

In short, I have script that I want to run on or after the 3rd  Friday 7:00 AM of each Month. Currently it exist in SCCM 2007 as package and has advertisement configured as recurring schedule with rerun behavior set to "Always rerun program". The program is set to run "only when a user is logged on" (in hidden mode) and "run with administrative rights".

The package contains only a vb script.

Now the problem I have while converting this into an application (SCCM 2012):

  1. Because it is only a script, what should I put it in Detection Method? I do not have anything to detect and I want this script to run every month based on recurring schedule.
  2. When setting up Deployment: in scheduling I could not find anything related to "recurring schedule" as it was previously available in advertisement.

Appreciate if someone knows the answer or direct me towards any available reference.

Thanks.


-- S Ahmad

Application Downloading stuck at 0%

$
0
0

Hi,

We have one primary site and one additional distribution point. Machines which are communicating to the primary site distribution point are able to download and install applications. But machines which are connected to the second distribution point application download stuck at 0%.

Content status is showing successfully distributed to the distribution point and the content is also available at contentlib

Any idea?

Thanks

Supersedence and users without permission

$
0
0

Hello.

I have a Application (named App-A, it's a Add-in to Excel) installed in Appdata\Local from my users. I need to supersed this app with a new version named App-B.

If I create App-B in SCCM and configure it to supersed App-A (install - Available at Software center) and deploy the App-B to a User Collection (the App-B need to be installed in AppData\Local from every user) the supersed step fails because my users don't have permission to uninstall softwares. If I install with Computer context the app install at ProgremFiles(x86) and the Add-In not apply to Excel users.

There's some way to instruct the deploy to (in a one-way, one single deployment):
uninstall App-A with computer context
install the App-B with user context

Its possible?

The App is SAP IBP Add-In for Excel.


PowerShell Script SCCM Application deployed successfully but nothing happened

$
0
0

Hi There,

I prepared a simple file.ps1 PowerShell script which used to copy a file from a source to user’s machine. The script is running successfully manually on user’s machine, you can see a file been copied to user’s machine.

So I create a new Application under SCCM Software Library, underDeployment Type -> Programs tab, Installation Program, I tried few method as below:

Powershell.exe -executionpolicy bypass -file script.ps1

powershell.exe -ExecutionPolicy Unrestricted -File script.ps1

"%windir%\System32\windowsPowershell\V1.0\PowerShell.exe" -ExecutionPolicy ByPass -File .\script.ps1

The application seems deployed to user’s machine successfully, you can see status in user’s machine Software Centre marked successfully, but I couldn’t find the file been copied cross.

I also tried to use VBScript replace PowerShell script, but the result same, deployed, but didn’t do anything.

Thanks in advance!

Cheers,

Tony


Cheers, Tony

Client can only download package if on local DP

$
0
0
I know this seems like a basic question, but I can't seem to find why it's happening.  My setup is SCCM 2012 1802, no CAS, single SCCM site, one management point, two standard distribution points that are my source dp's at our corporate office.  Several remote pull distribution points.  I was deploying a small package to specific clients at a remote location, so I didn't bother to distribute the content to all remote locations.  After I advertised, the package would show up in Software Center on the clients, and then it would just say "Downloading 0%" for a long time.  So I distributed the package to that local DP where the clients live, and they finished the download pretty quickly, and installed the software.  When I advertised, I did check the box to pull from the default boundary.  I have seen this happen with the same package at two of my remote locations.  Any ideas?

Applications not deploying to software center

$
0
0

Hi All,

I have just upgraded to SCCM2012 1902 and now i am having issues with applications not deploying to clients.

As far as i can see it is totally random as to whether it will work or not as some clients get all the applications no bother and others will only get certain applications.

I downloaded the configuration manager toolkit an on the clients where the applications do not appear in software center, I can see them in the deployment monitoring tool, however, when i select on one of the applications in there that does not appear in software center, i get an error 'DT cannot be empty'

All the applications worked prior to the upgrade ans as mentioned some of the apps will still appear on some of the clients.

I have forced a reinstall of the system center client on some client machines but still the apps will not appear.

Any help would be appreciated

Registry import in package runs but does not modify registry

$
0
0

I have created a package with a .reg file.  The program command line is regedit.exe /s:AllowOsUpdate.reg.  According to execmgr.log the command runs successfully, but the registry is never modified.  Configuration Manager is version 1902.  The ConfigMgr client version is 5.00.8790.1007 running on Windows 10 x64 build 1803.  The package is deployed as system, whether a user is logged on or not.

From the execmgr log on the client:

![LOG[MTC signaled SWD execution request with program id: Merge AllowOSUpgrade, package id: QH100141 for execution.]LOG]!><time="07:56:31.336+240" date="06-05-2019" component="execmgr" context="" type="1" thread="6028" file="execreqmgr.cpp:6479">
<![LOG[CExecutionRequest::OnEvaluateForExecution: Evaluate Program Merge AllowOSUpgrade [Advert QH1201E0] targeted to System. Current State : 7]LOG]!><time="07:56:31.461+240" date="06-05-2019" component="execmgr" context="" type="0" thread="6028" file="executionrequest.cpp:2123">
<![LOG[Sending ack to MTC for task with id: {4FCB554B-5757-4B93-8879-0E561B991E4E}]LOG]!><time="07:56:31.461+240" date="06-05-2019" component="execmgr" context="" type="1" thread="6028" file="executionrequest.cpp:9128">
<![LOG[CExecutionRequest::EnterRsRuningState Merge AllowOSUpgrade]LOG]!><time="07:56:31.461+240" date="06-05-2019" component="execmgr" context="" type="1" thread="6028" file="executionrequest.cpp:3180">
<![LOG[Executing program regedit.exe /s:AllowOSUpdate.reg in Admin context]LOG]!><time="07:56:31.461+240" date="06-05-2019" component="execmgr" context="" type="1" thread="6028" file="executionrequest.cpp:3291">
<![LOG[Execution Request for advert QH1201E0 package QH100141 program Merge AllowOSUpgrade state change from Ready to NotifyExecution]LOG]!><time="07:56:31.461+240" date="06-05-2019" component="execmgr" context="" type="1" thread="6028" file="executionrequest.cpp:514">
<![LOG[CUIEventGenerator::NotifyProgramStateChanged entered]LOG]!><time="07:56:31.461+240" date="06-05-2019" component="execmgr" context="" type="1" thread="6028" file="uieventgenerator.cpp:421">
<![LOG[RaiseClientSDKEvent: Raising a client SDK WMI event]LOG]!><time="07:56:31.492+240" date="06-05-2019" component="execmgr" context="" type="0" thread="6028" file="Event.cpp:518">
<![LOG[Raising client SDK event for class CCM_Program, instance CCM_Program.PackageID="QH100141",ProgramID="Merge AllowOSUpgrade", actionType 1l, value , user NULL, session 4294967295l, level 0l, verbosity 30l]LOG]!><time="07:56:31.492+240" date="06-05-2019" component="execmgr" context="" type="1" thread="6028" file="Event.cpp:529">
<![LOG[RaiseClientSDKEvent: A client SDK WMI event is raised up successfully]LOG]!><time="07:56:31.492+240" date="06-05-2019" component="execmgr" context="" type="0" thread="6028" file="Event.cpp:579">
<![LOG[CUIEventGenerator::NotifyProgramStateChanged succeeded]LOG]!><time="07:56:31.492+240" date="06-05-2019" component="execmgr" context="" type="1" thread="6028" file="uieventgenerator.cpp:430">
<![LOG[Persisting request for program Merge AllowOSUpgrade package QH100141 in state Running]LOG]!><time="07:56:31.492+240" date="06-05-2019" component="execmgr" context="" type="1" thread="6028" file="executionrequest.cpp:844">
<![LOG[ExecuteScriptByScriptEngine: User context passed to ExecuteProgram is [NT AUTHORITY\SYSTEM].]LOG]!><time="07:56:31.508+240" date="06-05-2019" component="execmgr" context="" type="1" thread="6028" file="scriptenginehelper.cpp:405">
<![LOG[CExecutionContext::CExecutionContext]LOG]!><time="07:56:31.508+240" date="06-05-2019" component="execmgr" context="" type="1" thread="6028" file="executioncontext.cpp:115">
<![LOG[Command line arguments when parsed regedit.exe]LOG]!><time="07:56:31.508+240" date="06-05-2019" component="execmgr" context="" type="1" thread="6028" file="cmdline.cpp:95">
<![LOG[Command line arguments when parsed /s:AllowOSUpdate.reg]LOG]!><time="07:56:31.508+240" date="06-05-2019" component="execmgr" context="" type="1" thread="6028" file="cmdline.cpp:95">
<![LOG[Checking content location C:\WINDOWS\ccmcache\42 for use]LOG]!><time="07:56:31.523+240" date="06-05-2019" component="execmgr" context="" type="1" thread="6028" file="executioncontext.cpp:1663">
<![LOG[Successfully selected content location C:\WINDOWS\ccmcache\42]LOG]!><time="07:56:31.523+240" date="06-05-2019" component="execmgr" context="" type="1" thread="6028" file="executioncontext.cpp:1719">
<![LOG[!sTempString.empty(), HRESULT=80070057 (..\String.cpp,1109)]LOG]!><time="07:56:31.523+240" date="06-05-2019" component="execmgr" context="" type="0" thread="6028" file="String.cpp:1109">
<![LOG[!sTempString.empty(), HRESULT=80070057 (..\String.cpp,1109)]LOG]!><time="07:56:31.523+240" date="06-05-2019" component="execmgr" context="" type="0" thread="6028" file="String.cpp:1109">
<![LOG[CProgramExecution::CProgramExecution]LOG]!><time="07:56:31.523+240" date="06-05-2019" component="execmgr" context="" type="1" thread="6028" file="programexecution.cpp:24">
<![LOG[Executing program as a script]LOG]!><time="07:56:31.523+240" date="06-05-2019" component="execmgr" context="" type="1" thread="6028" file="executionengine.cpp:82">
<![LOG[File C:\WINDOWS\ccmcache\42\regedit.exe is not a valid executable file]LOG]!><time="07:56:31.523+240" date="06-05-2019" component="execmgr" context="" type="3" thread="6028" file="execengnutility.cpp:202">
<![LOG[File C:\WINDOWS\ccmcache\42\regedit.exe is not a valid executable file]LOG]!><time="07:56:31.523+240" date="06-05-2019" component="execmgr" context="" type="3" thread="6028" file="execengnutility.cpp:202">
<![LOG[Found executable file regedit.exe with complete path C:\WINDOWS\regedit.exe]LOG]!><time="07:56:31.523+240" date="06-05-2019" component="execmgr" context="" type="1" thread="6028" file="execengnutility.cpp:296">
<![LOG[Successfully prepared command line "C:\WINDOWS\regedit.exe" /s:AllowOSUpdate.reg]LOG]!><time="07:56:31.523+240" date="06-05-2019" component="execmgr" context="" type="1" thread="6028" file="scriptexecution.cpp:651">
<![LOG[Command line = "C:\WINDOWS\regedit.exe" /s:AllowOSUpdate.reg, Working Directory = C:\WINDOWS\ccmcache\42\]LOG]!><time="07:56:31.523+240" date="06-05-2019" component="execmgr" context="" type="1" thread="6028" file="scriptexecution.cpp:352">
<![LOG[Cached CCM (user, session) is: (S-1-5-21-725345543-706699826-839522115-21493,1).]LOG]!><time="07:56:31.523+240" date="06-05-2019" component="execmgr" context="" type="1" thread="6028" file="usertoken.cpp:598">
<![LOG[::GetSMSConsoleSessionId - SMS Console Session ID is: 1]LOG]!><time="07:56:31.523+240" date="06-05-2019" component="execmgr" context="" type="0" thread="6028" file="usertoken.cpp:248">
<![LOG[Running "C:\WINDOWS\regedit.exe" /s:AllowOSUpdate.reg with 32bitLauncher]LOG]!><time="07:56:31.523+240" date="06-05-2019" component="execmgr" context="" type="1" thread="6028" file="scriptexecution.cpp:370">
<![LOG[Created Process for the passed command line]LOG]!><time="07:56:31.602+240" date="06-05-2019" component="execmgr" context="" type="1" thread="6028" file="scriptexecution.cpp:514">
<![LOG[Raising event:
[SMS_CodePage(437), SMS_LocaleID(1033)]
instance of SoftDistProgramStartedEvent
{
AdvertisementId = "QH1201E0";
ClientID = "GUID:48d1a812-970a-467d-a9c0-2aefe6db0b0f";
CommandLine = "\"C:\\WINDOWS\\regedit.exe\" /s:AllowOSUpdate.reg";
DateTime = "20190605115631.617000+000";
MachineName = "COMPUTER-4110A";
PackageName = "QH100141";
ProcessID = 1568;
ProgramName = "Merge AllowOSUpgrade";
SiteCode = "QH1";
ThreadID = 6028;
UserContext = "NT AUTHORITY\\SYSTEM";
WorkingDirectory = "C:\\WINDOWS\\ccmcache\\42\\";
};
]LOG]!><time="07:56:31.617+240" date="06-05-2019" component="execmgr" context="" type="1" thread="6028" file="Event.cpp:840">
<![LOG[Successfully submitted event to the Status Agent.]LOG]!><time="07:56:31.617+240" date="06-05-2019" component="execmgr" context="" type="0" thread="6028" file="Event.cpp:862">
<![LOG[Raised Program Started Event for Ad:QH1201E0, Package:QH100141, Program: Merge AllowOSUpgrade]LOG]!><time="07:56:31.617+240" date="06-05-2019" component="execmgr" context="" type="1" thread="6028" file="executioncontext.cpp:459">
<![LOG[GetProcessInfo - Process creation time high = 30743445, low = 3074601341]LOG]!><time="07:56:31.617+240" date="06-05-2019" component="execmgr" context="" type="1" thread="6028" file="executioncontext.cpp:2397">
<![LOG[Execution Manager received Temp Path C:\WINDOWS\TEMP\]LOG]!><time="07:56:31.617+240" date="06-05-2019" component="execmgr" context="" type="1" thread="6028" file="scriptenginehelper.cpp:444">
<![LOG[CUIEventGenerator::NotifyProgramStarted entered]LOG]!><time="07:56:31.617+240" date="06-05-2019" component="execmgr" context="" type="1" thread="6028" file="uieventgenerator.cpp:390">
<![LOG[Program exit code 0]LOG]!><time="07:56:31.664+240" date="06-05-2019" component="execmgr" context="" type="1" thread="6252" file="scriptexecution.cpp:677">
<![LOG[CExecutionStatus::CExecutionStatus]LOG]!><time="07:56:31.664+240" date="06-05-2019" component="execmgr" context="" type="1" thread="6252" file="executionstatus.cpp:27">
<![LOG[Looking for MIF file to get program status]LOG]!><time="07:56:31.664+240" date="06-05-2019" component="execmgr" context="" type="1" thread="6252" file="executionstatus.cpp:282">
<![LOG[Looking for MIF file in directory C:\WINDOWS\]LOG]!><time="07:56:31.664+240" date="06-05-2019" component="execmgr" context="" type="1" thread="6252" file="executionstatus.cpp:295">
<![LOG[Looking for MIF file in directory C:\WINDOWS\system32\]LOG]!><time="07:56:31.664+240" date="06-05-2019" component="execmgr" context="" type="1" thread="6252" file="executionstatus.cpp:295">
<![LOG[Script for  Package:QH100141, Program: Merge AllowOSUpgrade succeeded with exit code 0]LOG]!><time="07:56:31.664+240" date="06-05-2019" component="execmgr" context="" type="1" thread="6252" file="executionstatus.cpp:262">
<![LOG[Raising event:
[SMS_CodePage(437), SMS_LocaleID(1033)]
instance of SoftDistProgramCompletedSuccessfullyEvent
{
AdvertisementId = "QH1201E0";
ClientID = "GUID:48d1a812-970a-467d-a9c0-2aefe6db0b0f";
DateTime = "20190605115631.664000+000";
MachineName = "COMPUTER-4110A";
PackageName = "QH100141";
ProcessID = 1568;
ProgramName = "Merge AllowOSUpgrade";
SiteCode = "QH1";
ThreadID = 6252;
UserContext = "NT AUTHORITY\\SYSTEM";
};
]LOG]!><time="07:56:31.664+240" date="06-05-2019" component="execmgr" context="" type="1" thread="6252" file="Event.cpp:840">
<![LOG[Successfully submitted event to the Status Agent.]LOG]!><time="07:56:31.664+240" date="06-05-2019" component="execmgr" context="" type="0" thread="6252" file="Event.cpp:862">
<![LOG[Raised Program Success Event for Ad:QH1201E0, Package:QH100141, Program: Merge AllowOSUpgrade]LOG]!><time="07:56:31.664+240" date="06-05-2019" component="execmgr" context="" type="1" thread="6252" file="executioncontext.cpp:483">
<![LOG[Execution is complete for program Merge AllowOSUpgrade. The exit code is 0, the execution status is Success]LOG]!><time="07:56:31.680+240" date="06-05-2019" component="execmgr" context="" type="1" thread="2076" file="execreqmgr.cpp:4238">
<![LOG[RaiseClientSDKEvent: Raising a client SDK WMI event]LOG]!><time="07:56:31.711+240" date="06-05-2019" component="execmgr" context="" type="0" thread="6028" file="Event.cpp:518">
<![LOG[Raising client SDK event for class CCM_Program, instance CCM_Program.PackageID="QH100141",ProgramID="Merge AllowOSUpgrade", actionType 1l, value NULL, user NULL, session 4294967295l, level 0l, verbosity 30l]LOG]!><time="07:56:31.711+240" date="06-05-2019" component="execmgr" context="" type="1" thread="6028" file="Event.cpp:529">
<![LOG[RaiseClientSDKEvent: A client SDK WMI event is raised up successfully]LOG]!><time="07:56:31.711+240" date="06-05-2019" component="execmgr" context="" type="0" thread="6028" file="Event.cpp:579">
<![LOG[CUIEventGenerator::NotifyProgramStarted succeeded]LOG]!><time="07:56:31.711+240" date="06-05-2019" component="execmgr" context="" type="1" thread="6028" file="uieventgenerator.cpp:398">
<![LOG[CUIEventGenerator::NotifyProgramStateChanged entered]LOG]!><time="07:56:31.711+240" date="06-05-2019" component="execmgr" context="" type="1" thread="6028" file="uieventgenerator.cpp:421">
<![LOG[RaiseClientSDKEvent: Raising a client SDK WMI event]LOG]!><time="07:56:31.727+240" date="06-05-2019" component="execmgr" context="" type="0" thread="6028" file="Event.cpp:518">
<![LOG[Raising client SDK event for class CCM_Program, instance CCM_Program.PackageID="QH100141",ProgramID="Merge AllowOSUpgrade", actionType 1l, value , user NULL, session 4294967295l, level 0l, verbosity 30l]LOG]!><time="07:56:31.727+240" date="06-05-2019" component="execmgr" context="" type="1" thread="6028" file="Event.cpp:529">
<![LOG[RaiseClientSDKEvent: A client SDK WMI event is raised up successfully]LOG]!><time="07:56:31.742+240" date="06-05-2019" component="execmgr" context="" type="0" thread="6028" file="Event.cpp:579">
<![LOG[CUIEventGenerator::NotifyProgramStateChanged succeeded]LOG]!><time="07:56:31.742+240" date="06-05-2019" component="execmgr" context="" type="1" thread="6028" file="uieventgenerator.cpp:430">
<![LOG[Persisting request for program Merge AllowOSUpgrade package QH100141 in state Running]LOG]!><time="07:56:31.742+240" date="06-05-2019" component="execmgr" context="" type="1" thread="6028" file="executionrequest.cpp:844">
<![LOG[EvaluateRequestForExecution - Updated current running request]LOG]!><time="07:56:31.742+240" date="06-05-2019" component="execmgr" context="" type="1" thread="6028" file="execreqmgr.cpp:1151">
<![LOG[In CExecutionManager::Notify]LOG]!><time="07:56:31.742+240" date="06-05-2019" component="execmgr" context="" type="1" thread="224" file="execmgr.cpp:2391">
<![LOG[Received isntance modification notification for MTC Task.]LOG]!><time="07:56:31.742+240" date="06-05-2019" component="execmgr" context="" type="1" thread="224" file="execmgr.cpp:2520">
<![LOG[MTC task with id {4FCB554B-5757-4B93-8879-0E561B991E4E}, changed state from 4 to 5]LOG]!><time="07:56:31.742+240" date="06-05-2019" component="execmgr" context="" type="1" thread="224" file="execreqmgr.cpp:6361">
<![LOG[FindUserOrSystemPolicy called for QH1201E0-Merge AllowOSUpgrade-QH100141 for user user]LOG]!><time="07:56:31.758+240" date="06-05-2019" component="execmgr" context="" type="0" thread="2076" file="execreqhelper.cpp:77">
<![LOG[CSoftwareDistPolicyMgr::GetPolicyFromWMIObject - Check if TS Policy]LOG]!><time="07:56:31.773+240" date="06-05-2019" component="execmgr" context="" type="0" thread="2076" file="softdistpolicy.cpp:1982">
<![LOG[[QH1201E0 Merge AllowOSUpgrade QH100141] Enabled for optional pre-download: False]LOG]!><time="07:56:31.773+240" date="06-05-2019" component="execmgr" context="" type="0" thread="2076" file="softdistpolicy.cpp:2246">
<![LOG[CUIEventGenerator::NotifyExecutionComplete entered]LOG]!><time="07:56:31.805+240" date="06-05-2019" component="execmgr" context="" type="1" thread="2076" file="uieventgenerator.cpp:563">
<![LOG[RaiseClientSDKEvent: Raising a client SDK WMI event]LOG]!><time="07:56:31.883+240" date="06-05-2019" component="execmgr" context="" type="0" thread="2076" file="Event.cpp:518">
<![LOG[Raising client SDK event for class CCM_Program, instance CCM_Program.PackageID="QH100141",ProgramID="Merge AllowOSUpgrade", actionType 10l, value Result:TRUE ,SDKCallerId:, user NULL, session 4294967295l, level 0l, verbosity 30l]LOG]!><time="07:56:31.883+240" date="06-05-2019" component="execmgr" context="" type="1" thread="2076" file="Event.cpp:529">
<![LOG[RaiseClientSDKEvent: A client SDK WMI event is raised up successfully]LOG]!><time="07:56:31.899+240" date="06-05-2019" component="execmgr" context="" type="0" thread="2076" file="Event.cpp:579">
<![LOG[CUIEventGenerator::NotifyExecutionComplete succeeded]LOG]!><time="07:56:31.899+240" date="06-05-2019" component="execmgr" context="" type="1" thread="2076" file="uieventgenerator.cpp:580">
<![LOG[Deleting request from pending queue, package QH100141, program Merge AllowOSUpgrade, advertisement QH1201E0]LOG]!><time="07:56:31.899+240" date="06-05-2019" component="execmgr" context="" type="1" thread="2076" file="execreqmgr.cpp:8948">
<![LOG[CExecutionRequest::InvalidAndDeleteFromWmiAndMTC Merge AllowOSUpgrade]LOG]!><time="07:56:31.899+240" date="06-05-2019" component="execmgr" context="" type="1" thread="2076" file="executionrequest.cpp:1460">
<![LOG[Requesting MTC to delete task with id: {4FCB554B-5757-4B93-8879-0E561B991E4E}]LOG]!><time="07:56:31.899+240" date="06-05-2019" component="execmgr" context="" type="1" thread="2076" file="executionrequest.cpp:9159">
<![LOG[MTC task with id: {4FCB554B-5757-4B93-8879-0E561B991E4E} deleted successfully.]LOG]!><time="07:56:31.899+240" date="06-05-2019" component="execmgr" context="" type="1" thread="2076" file="executionrequest.cpp:9188">
<![LOG[Called delete and free Request for advert QH1201E0, package QH100141, program Merge AllowOSUpgrade]LOG]!><time="07:56:31.945+240" date="06-05-2019" component="execmgr" context="" type="1" thread="2076" file="pendingreq.cpp:73">
<![LOG[Execution request deleted for package QH100141 program Merge AllowOSUpgrade, advert QH1201E0]LOG]!><time="07:56:31.945+240" date="06-05-2019" component="execmgr" context="" type="1" thread="2076" file="executionrequest.cpp:439">
<![LOG[CUIEventGenerator::NotifyProgramStateChanged entered]LOG]!><time="07:56:31.945+240" date="06-05-2019" component="execmgr" context="" type="1" thread="2076" file="uieventgenerator.cpp:421">

If I open an administrator command prompt, change directory to c:\windows\ccmcache\42 and execute the command "regedit.exe /s:AllowOSUpdate.reg" the registry key and dword value are added to the registry.

The content of the reg file is:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\OSUpgrade]
"AllowOSUpgrade"=dword:00000001

Unlike some of the other threads about importing a reg file, this package does not modify another part of the registry.  The AllowOSUpgrade key cannot be found in the target machine's registry after the package executes.  I've modified the registry using import files for years.  I have now tried this package on 7 different Window 10 machines running builds 1803, 1809 and 1903.  Zero success.  The answer must be staring me in the face.

Guidance from another set of eyes will be much appreciated.  TIA

WaitForRunningProcess failed - Error 0x87d00213

$
0
0

One of our administrators recently left the organization and I've taken over one of his old tickets to deploy ArcGIS Pro.  He had create a deployment for the software, but that deployment is failing.

I am pretty green when it comes to troubleshooting deployments, so I'm going to need a little help with this.  I found the following in the AppEnforce log:

Exceeded timeout of 119 minutes while waiting for process 2548 to finish.        AppEnforce        5/29/2019 10:52:24 AM        11996 (0x2EDC)

WaitForRunningProcess failed. Error 0x87d00213.        AppEnforce        5/29/2019 10:52:24 AM        11996 (0x2EDC)

CScriptHandler::CompleteEnforcement failed with 0x87d00213        AppEnforce        5/29/2019 10:52:24 AM        11996 (0x2EDC)

CAppProvider::CompleteEnforcement failed with error 0x87d00213        AppEnforce        5/29/2019 10:52:24 AM        11996 (0x2EDC)

++++++ Failed to enforce app. Error 0x87d00213. ++++++        AppEnforce        5/29/2019 10:52:24 AM        11996 (0x2EDC)

I was unable to find any other references to process 2548, so I have no idea what that is.  I searched on the error code and found a post on Reddit suggesting that this error is often caused by a dialog box being displayed that expects input, but the user is unable to see the dialog box.  Based on that, I decided to launch the installation from the command line without the /q switch so that I could see what is happening, and it does prompt for a destination folder.

So I guess that I have two questions.  First, am I on the right track?  Second, assuming that I am on the right track, is there a way to modify the deployment so that it automatically accepts the default value for the destination folder, or can I somehow specify the destination folder for the deployment to use?

Thanks in advance for any help that you can offer!

--Tom

Deployments created by ADR Rules disappear from monitoring sometime after running

$
0
0

Hello all,

I am having an issue that my deployments that were created by ADR rules will disappear from monitoring window sometime after they have completed. Two months in a row my ADR rule that deploys updates to my workstations will run on schedule and download the updates, create the SUG, deploy to the collections on schedule as expected. when I get in in the morning I can go to the monitoring window and see that it is mostly done and may have 1 system in error and one or 2 in progress. I come back later in the day to check and the deployment is vanished. I have had a 3rd party consultant look at the rules log and other logs and he could not find out why it happened. it has happened with a couple of different deployments that were all created by ADR rules. the disappearing deployments from the monitoring window is severely hindering my reporting and troubleshooting. so I was hoping to hopefully get someone out in the community to see something that was missed.

Fix this please Feature Update to Windows 10, version 1903 Downloading 40%

$
0
0

How do I get this to go away or update?


Deleted Deployments are still visible in Softwarecenter

$
0
0

Hello!

Whenever i delete a Deployment from a collection, it doesn't get deleted out of the clients Softwarecenter. The Application is still visible on the client and if I click the button to install it, I get an error telling me that the Softwarecenter can't update the needed Information.

i've already tried to reinstall the Client. This removes all old (deleted) deployments from the softwarecenter, but as soon as i deploy an aplication and then delete the deployment I get the same Error again.

Has anyone experienced something like this before?

Thanks in advance!

Applications are stuck not getting downloaded in the client cache

$
0
0

Hi All,

In our environment we have SCCM 2012.... The Applications are not being downloaded on few of the VM systems.

Check the DTS log in the client system:

Starting BITS download for DTS job '{25BDAD54-29AD-4FFE-9287-BA55171D13E0}'. DataTransferService 8/23/2013 7:51:47 AM 7276 (0x1C6C)
 DTSJob {25BDAD54-29AD-4FFE-9287-BA55171D13E0} set BITS job to use default credentials. DataTransferService 8/23/2013 7:51:48 AM 7276 (0x1C6C)
 Starting BITS job '{C4D4DFCA-CBD0-460B-B39A-AA1312FF0506}' for DTS job '{25BDAD54-29AD-4FFE-9287-BA55171D13E0}' under user 'S-1-5-18'. DataTransferService 8/23/2013 7:51:48 AM 7276 (0x1C6C)
 Recording ID of BITS job. DataTransferService 8/23/2013 7:51:48 AM 7276 (0x1C6C)
 In AddUntransferredFilesToBITS DataTransferService 8/23/2013 7:51:48 AM 7276 (0x1C6C)
 DTSFlag is 0x00003c8a DataTransferService 8/23/2013 7:51:48 AM 7276 (0x1C6C)
 Exclude file list:  DataTransferService 8/23/2013 7:51:48 AM 7276 (0x1C6C)
 Using branch cache option DataTransferService 8/23/2013 7:51:48 AM 7276 (0x1C6C)
 BITS compatible path: http://teps1pw1.prod.travp.net:80/SMS_MP/.sms_pol?%7B997F0F4F-CCE8-4214-9647-1F5EB05ED539%7D/supersedence.SHA256:D547E8FB68C1C5D2EF2A73D89289C131F6762C85857194FB89FAC9E4A19CE77E DataTransferService 8/23/2013 7:51:48 AM 7276 (0x1C6C)
 Adding to BITS job: {7F54301A-2F2B-408D-9470-F326358A7444}.tmp DataTransferService 8/23/2013 7:51:48 AM 7276 (0x1C6C)
 Calling AddFileSet on BITS job. DataTransferService 8/23/2013 7:51:48 AM 7276 (0x1C6C)
 DTS::SetCustomHeadersOnBITSJob - setting custom headers on DTS job '{25BDAD54-29AD-4FFE-9287-BA55171D13E0}':
 <none> DataTransferService 8/23/2013 7:51:48 AM 7276 (0x1C6C)
 DTS::AddTransportSecurityOptionsToBITSJob - Removing security info from DTS job '{25BDAD54-29AD-4FFE-9287-BA55171D13E0}'. DataTransferService 8/23/2013 7:51:48 AM 7276 (0x1C6C)
 DTSJob {25BDAD54-29AD-4FFE-9287-BA55171D13E0} in state 'DownloadingData'. DataTransferService 8/23/2013 7:51:48 AM 7276 (0x1C6C)
 CDTSJob::JobError: DTS Job ID='{25BDAD54-29AD-4FFE-9287-BA55171D13E0}' BITS Job ID='{C4D4DFCA-CBD0-460B-B39A-AA1312FF0506}' ErrorCode=0x80190194 DataTransferService 8/23/2013 7:51:48 AM 5816 (0x16B8)
 CDTSJob::JobError: DTS Job ID='{25BDAD54-29AD-4FFE-9287-BA55171D13E0}' URL='http://teps1pw1.prod.travp.net:80/SMS_MP' ProtType=1 DataTransferService 8/23/2013 7:51:48 AM 5816 (0x16B8)
 DTS job {25BDAD54-29AD-4FFE-9287-BA55171D13E0} BITS job {C4D4DFCA-CBD0-460B-B39A-AA1312FF0506} failed to download source file http://teps1pw1.prod.travp.net:80/SMS_MP/.sms_pol?%7B997F0F4F-CCE8-4214-9647-1F5EB05ED539%7D/supersedence.SHA256:D547E8FB68C1C5D2EF2A73D89289C131F6762C85857194FB89FAC9E4A19CE77E to destination C:\WINDOWS\CCM\Temp\{7F54301A-2F2B-408D-9470-F326358A7444}.tmp with error 0x80190194 DataTransferService 8/23/2013 7:51:48 AM 5816 (0x16B8)
 DTS job {25BDAD54-29AD-4FFE-9287-BA55171D13E0} BITS job {C4D4DFCA-CBD0-460B-B39A-AA1312FF0506} partially completed 0/1 with error 0x80190194 context 5 DataTransferService 8/23/2013 7:51:48 AM 5816 (0x16B8)
 Job: {25BDAD54-29AD-4FFE-9287-BA55171D13E0}, Total Files: 1, Transferred Files: 0, Total Bytes: 18446744073709551615, Transferred Bytes: 0 DataTransferService 8/23/2013 7:51:48 AM 5816 (0x16B8)
 hrRet, HRESULT=80190194 (e:\nts_sccm_release\sms\framework\ccmdts\dtsjob.cpp,4724) DataTransferService 8/23/2013 7:51:48 AM 5816 (0x16B8)
 DTSJob {25BDAD54-29AD-4FFE-9287-BA55171D13E0} in state 'Error'. DataTransferService 8/23/2013 7:51:48 AM 5816 (0x16B8)
 Execute called for DTS job '{25BDAD54-29AD-4FFE-9287-BA55171D13E0}'.  Current state: 'Error'. DataTransferService 8/23/2013 7:51:48 AM 7276 (0x1C6C)
 CBITSDownloadMonitor::~CBITSDownloadMonitor({25BDAD54-29AD-4FFE-9287-BA55171D13E0}) DataTransferService 8/23/2013 7:51:48 AM 5816 (0x16B8)
 BITS job '{C4D4DFCA-CBD0-460B-B39A-AA1312FF0506}' is not found. The BITS job may have completed already. DataTransferService 8/23/2013 7:51:48 AM 5816 (0x16B8)
 CBITSDownloadMonitor(DTSJobID={25BDAD54-29AD-4FFE-9287-BA55171D13E0}, BITSJobID={C4D4DFCA-CBD0-460B-B39A-AA1312FF0506}) ignoring cancelled object. DataTransferService 8/23/2013 7:51:48 AM 5816 (0x16B8)
 QUEUE: Active job count decremented, value = 0. DataTransferService 8/23/2013 7:51:48 AM 7276 (0x1C6C)
 DTSJob {25BDAD54-29AD-4FFE-9287-BA55171D13E0} in state 'NotifiedComplete'. DataTransferService 8/23/2013 7:51:48 AM 7276 (0x1C6C)
 DTS job {25BDAD54-29AD-4FFE-9287-BA55171D13E0} has completed:
  Status : ERROR (0x80070002)
  Start time : 08/23/2013 07:51:47
  Completion time : 08/23/2013 07:51:48
  Elapsed time : 0 seconds DataTransferService 8/23/2013 7:51:48 AM 7276 (0x1C6C)
 Deleting persisted data for DTS job '{25BDAD54-29AD-4FFE-9287-BA55171D13E0}'.

Request your help to solve the downloading issue.

Regards,
Sri

      

SCCM 2016 report generation for following tasks;

$
0
0

1.Compliance report for Application and Windows collection wise

2. Applications are either licensed or not

3.Compliance report for each department (collection wise)

4. All installed applications for collections


SCCM 2016

$
0
0

Please provide any SCCM 2016 whatsapp group. so that i will post questions and ask the resolution swiftly.

SCCM 1810 and Email notifications for application approval requests

$
0
0

Hi,

As I know you can setup by SCCM 1810 an Email notifications for application approval request. You can do only by deploying to user collections or can I deploy it to device Collection too? I don't thing so.

If you can deploy it with user collections, the purpose must be"Available" otherwise you cannot deploy it for "An administrator must approve a request for this application on the device" 

Is that correct so?

My questions:

1) What happens if I deploy my applications to the"user collection", it install automatically or the user should request it first?

2) Do appears my deployed application in the Software Center under"Application"?

3) I want to be sure if I deploy my application to the"user collections", it should not install automatically my application. Is that so?

Regards

Nick



Viewing all 4762 articles
Browse latest View live


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