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

StartPrepDriver - StartService Failed with error 2

$
0
0

We have a few dozen endpoints where software metering is not working, but the vast majority of our enterprise works fine. Here is what our mtrmgr.log show:

MRU Refresh is 15 minutes.mtrmgr4/3/2018 14:44:038568 (0x2178)
MRU Age limit is 90 days.mtrmgr4/3/2018 14:44:038568 (0x2178)
PREP driver successfully initializedmtrmgr4/3/2018 14:44:038568 (0x2178)
Metering is already inactivemtrmgr4/3/2018 14:44:038568 (0x2178)
Service shutdown system task finishedmtrmgr4/3/2018 14:44:038568 (0x2178)
Service startup system task startedmtrmgr4/3/2018 14:44:439576 (0x2568)
MRU Refresh is 15 minutes.mtrmgr4/3/2018 14:44:439576 (0x2568)
MRU Age limit is 90 days.mtrmgr4/3/2018 14:44:439576 (0x2568)
PREP driver successfully initializedmtrmgr4/3/2018 14:44:439576 (0x2568)
Track Usage task startedmtrmgr4/3/2018 14:44:439828 (0x2664)
StartPrepDriver - StartService Failed with error 2mtrmgr4/3/2018 14:44:439576 (0x2568)
Service startup system task finishedmtrmgr4/3/2018 14:44:439576 (0x2568)

I've tried manually reinstalling the driver as indicated in kb3213242. "RUNDLL32.EXE SETUPAPI.DLL,InstallHinfSection DefaultInstall 128 C:\WINDOWS\CCM\prepdrv.inf"

I've tried uninstalling and reinstalling the CM client. I haven't gotten any WMI errors so I don't think wiping it out would help. 

Any thoughts? My Google-fu has failed me in locating this problem anywhere.  Everything seems to point to the service not being found. 


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!

+++ Application not discovered and +++ Discovered application

$
0
0

Hi,

As per the AppDiscovery.log, "+++ Application not discovered  & +++ Did not detect app deployment type" appears for one applicaiton. "+++ Discovered application and +++ Detected app deployment type" appears for another applcation

is it mean the below or something else.

Application not discovered  -> Application is not installed in the machine

Discovered application       -> Applucation is installed in the machine

Please clarify me.


Regards, Boopathi


Unable to Deploy Updates/Application on SCCM

$
0
0

Hello everyone,

Site Db was moved to another server and collation was changed accordingly. I am unable to deploy any application on updates as I keep getting an error that says "Error: The SMS Provider reported an error"

I checked the SMSProv.log and I see a permission issue which I have tried to resolved but issue is still on going. Please see the part of SMSProv.log below:

--------------------------------

Try to sync permission table : Declare @Ids RBAC_Object_Type;insert into @Ids (ObjectKey, ObjectTypeID) values (N'{175E635E-2AF9-4B6B-BF9A-883FB30B3F45}',200);exec spRBAC_SyncPermissions @ObjectIds=@Ids,@RoleIDs=N'',@AdminIDs=N''  $$<SMS Provider><11-20-2018 21:33:11.736-60><thread=4696 (0x1258)>
*** Declare @Ids RBAC_Object_Type;insert into @Ids (ObjectKey, ObjectTypeID) values (N'{175E635E-2AF9-4B6B-BF9A-883FB30B3F45}',200);exec spRBAC_SyncPermissions @ObjectIds=@Ids,@RoleIDs=N'',@AdminIDs=N''  $$<SMS Provider><11-20-2018 21:33:11.750-60><thread=4696 (0x1258)>
*** [42000][50000][Microsoft][SQL Server Native Client 11.0][SQL Server]Get Error Error Number 468 Severity 16 State 9 Procedure spRBAC_SyncPermissions_Objects Line 88 Message Cannot resolve the collation conflict between "Latin1_General_CI_AS" and"SQL_Latin1_General_CP1_CI_AS" in the equal to operation.. : spRBAC_SyncPermissions  $$<SMS Provider><11-20-2018 21:33:11.750-60><thread=4696 (0x1258)>
Failed to sync permission table. Attempt 0  $$<SMS Provider><11-20-2018 21:33:11.751-60><thread=4696 (0x1258)>
Failed to sync permission table. Attempt 1  $$<SMS Provider><11-20-2018 21:33:11.752-60><thread=4696 (0x1258)>
Failed to sync permission table. Attempt 2  $$<SMS Provider><11-20-2018 21:33:11.752-60><thread=4696 (0x1258)>
Failed to sync permission table. Attempt 3  $$<SMS Provider><11-20-2018 21:33:11.753-60><thread=4696 (0x1258)>
Failed to sync permission table. Attempt 4  $$<SMS Provider><11-20-2018 21:33:11.754-60><thread=4696 (0x1258)>
Failed to sync permission table. Attempt 5  $$<SMS Provider><11-20-2018 21:33:11.754-60><thread=4696 (0x1258)>
Failed to sync permission table. Attempt 6  $$<SMS Provider><11-20-2018 21:33:11.755-60><thread=4696 (0x1258)>
Failed to sync permission table. Attempt 7  $$<SMS Provider><11-20-2018 21:33:11.755-60><thread=4696 (0x1258)>
Failed to sync permission table. Attempt 8  $$<SMS Provider><11-20-2018 21:33:11.755-60><thread=4696 (0x1258)>
Failed to sync permission table. Attempt 9  $$<SMS Provider><11-20-2018 21:33:11.756-60><thread=4696 (0x1258)>
Failed to sync permission table  $$<SMS Provider><11-20-2018 21:33:11.756-60><thread=4696 (0x1258)>
~*~..\ssprbac.cpp(7182) : Fail to execute the query to sync permission : exec spRBAC_SyncPermissions.~*~  $$<SMS Provider><11-20-2018 21:33:11.757-60><thread=4696 (0x1258)>
*~*~Fail to execute the query to sync permission : exec spRBAC_SyncPermissions. *~*~  $$<SMS Provider><11-20-2018 21:33:11.757-60><thread=4696 (0x1258)>
CExtUserContext::LeaveThread : Releasing IWbemContextPtr=471534720~  $$<SMS Provider><11-20-2018 21:33:11.764-60><thread=4696 (0x1258)>

------------------------------------

Thank you for your help

How to deploy ConfigMgr Console and the latest update with it

$
0
0

Hi Everyone,

Could someone please help me with this as I am struggling.

Just installed SCCM Version 1802 upgraded to 1806.

I have successfully deployed config mgr console version 5.1806.1074.1500 to end-users however as soon as the installation completes and the console is launched it prompts for an update.

Could someone point me in the right direction or provide a step by step on how I can deploy 5.1806.1074.1500 and the latest console update 5.1806.1074.1507 (configmgr1806-adminui-kb4462978-i386.msp) along with it ?

Thank you for your time and assistance.


Deploying Appx Applications for all users (available immediately at logon)

$
0
0

Hi

We are wanting to deploy Minecraft Education Edition to our Student PCs. 

I can setup the Appx file in SCCM for installation via the software center for single users and that does work OK for single users. SCCM seems to handle this well and configures all the detection method etc automatically. 

The Powershell script supplied by Microsoft which is supposed to install for all users will not allow installation via SCCM as the system account cannot install Appx applications. 

Alternatively I can also use SCCM to provision the application for all users using DISM, which then auto-installs the application for each user, however as we clean user profiles the application has to be reinstalled after each logon. This isn't the quickest process as there are other apps that auto-install or seem to at least do some maintenance at logon. 

Is there anyway to deploy an Appx file using SCCM to make it available to all users on a machine (including brand new profiles) immediately after logon - for example using the default user profile? 

At the moment it seems we cannot offer this application in any sort of reliable fashion - this seems crazy as we have SCCM and Minecraft is a Microsoft application! 

Frustratingly there are MSI installers available for other Minecraft applications such as Code Connection and Classroom Mode, but not for the Education Edition. 

I have read that it can be managed by Microsoft Store for Business, however we are not in a position to implement that any time soon due to internal delays getting moving with Office365.

Has anyone had any success pre-installing appx applications for all users - not just pre-provisioning? Or I am trying to achieve the impossible?

Many thanks for any help and suggestions.

Run scripts with individual rights and context

$
0
0

I'm working on the office migration and need to run one file (officeinstall.bat) with admin rights and the other one (officeconfigure.bat) with user context.

I saw that a lot of people are using powershell for this purpose but I hope there might be another way for this. The reason I need this is because I'm required to use envars in my scripts.

officeinstall.bat

"%~dp0setup.exe" /adminfile "%~dp0config.msp"
START /MIN "c:\Program Files\Microsoft Office\Office16\winword.exe"
xcopy "%~dp0installed_office_2016_standard.exe" "C:\Program Files\SMSLogs" /Y

officeconfigure.bat

xcopy "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Outlook 2016*" "\\server\homes$\%username%\Desktop\" /y
xcopy "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\PowerPoint 2016*" "\\server\homes$\%username%\Desktop\" /y
xcopy "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Excel 2016*" "\\server\homes$\%username%\Desktop\" /y
xcopy "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Word 2016*" "\\server\homes$\%username%\Desktop\" /y
del "\\server\homes$\%username%\Desktop\Microsoft Office Excel 2007*"
del "\\server\homes$\%username%\Desktop\Microsoft Office Outlook 2007*"
del "\\server\homes$\%username%\Desktop\Microsoft Office PowerPoint 2007*"
del "\\server\homes$\%username%\Desktop\Microsoft Office Word 2007*"

Is there a way to get this done? I am using System Center 2012 R2 Configuration Manager

Thanks for the help!


Teamviewer deleted after deploy SCCM 2012

$
0
0

Hi, please help :)

I install a teamviewer on a collection of 190 computers.

On some computers, everything goes well, but more than 30% of computers that are in Successes status remain without teamviewer.

The detection is configured for a shortcut in the folder

Logs in the folder where the teamviewer should be installed:

2018/11/27 08:46:04.197  5648  7156 S0   SERVICE_CONTROL_POWEREVENT 32787

2018/11/27 08:46:04.197  5648  7156 S0   SERVICE_CONTROL_POWEREVENT 32787
2018/11/27 08:46:19.506  5648  7156 S0   SERVICE_CONTROL_POWEREVENT 32787
2018/11/27 08:46:19.506  5648  7156 S0   SERVICE_CONTROL_POWEREVENT 32787
2018/11/27 08:46:19.631  9172  4172 G8   CMainWindow::OnSessionChange [OnlineState] 7
2018/11/27 08:46:19.678  5648  7156 S0   SERVICE_CONTROL_SESSIONCHANGE session=8, statusCode=WTS_SESSION_LOCK
2018/11/27 08:49:55.267  5648  7156 S0   SERVICE_CONTROL_POWEREVENT 32787
2018/11/27 08:49:55.267  5648  7156 S0   SERVICE_CONTROL_POWEREVENT 32787
2018/11/27 08:50:14.284  9172  4172 G8   CMainWindow::OnSessionChange [OnlineState] 8
2018/11/27 08:50:14.487  5648  7156 S0   SERVICE_CONTROL_SESSIONCHANGE session=8, statusCode=WTS_SESSION_UNLOCK
2018/11/27 08:51:58.902  5648  8860 S0   Process 9172 in session 8 has terminated
2018/11/27 08:51:58.902  5648  4180 S0!! CTcpProcessConnector::HandleRead error 10054 reading from process 9172: .................. ........ .......................... ................ ........................ ......................
2018/11/27 08:51:58.902  5648  4180 S0   CTcpProcessConnector::CloseConnection(): PID=9172
2018/11/27 08:51:58.902  5648  4180 S0!! CInterProcessNetwork::NewInterProcessDataAvailable(): ReadFailed session=8 ptype=2
2018/11/27 08:51:58.902  5648  4180 S0   UpdateOnlineState newOnlineValue 1
2018/11/27 08:51:59.386  5648  7156 S0   SERVICE_CONTROL_STOP
2018/11/27 08:51:59.386  5648  1396 S0   ApiServer::ApiMain: API thread stopped.
2018/11/27 08:51:59.386  5648  4180 S0   CAcceptServer[:::5938]::HandleAccept(): Accept canceled
2018/11/27 08:51:59.386  5648  4180 S0   CAcceptServer[0.0.0.0:5938]::HandleAccept(): Accept canceled
2018/11/27 08:51:59.386  5648  9068 S0   TeamViewer is going offline!
2018/11/27 08:51:59.386  5648  9068 S0   RemoteSessionManager::ClearAllRemoteSessions(): RemoteSession Count: 1
2018/11/27 08:51:59.449  2644  4072 L64  Error! TeamViewer terminated unexpectedly!
2018/11/27 08:51:59.449  2644  4072 L64  Exit
2018/11/27 08:51:59.464  7044  2140 L32  Error! TeamViewer terminated unexpectedly!
2018/11/27 08:51:59.464  7044  2140 L32  Exit
2018/11/27 08:51:59.511  5648  4180 S0   TVRouterClock Schedule next request in 0 seconds
2018/11/27 08:51:59.511  5648  4180 S0!  KeepAliveSessionOutgoing::ConnectEndedHandler(): KeepAliveConnection with PT-LIS-ANX-R005.teamviewer.com ended
2018/11/27 08:51:59.589  5648  4508 S0   CAcceptServer::HandleAccept: socket closed
2018/11/27 08:51:59.589  5648  1704 S0   SHMR: Destroying shared memory
2018/11/27 08:51:59.589  5648  1704 S0   SecureNetworkConnection::SendCallbackHandler(): [ remoteID: 13 connection: 2337806547 remoteConnection: 0 ], Error: RCommand (Cancel)
2018/11/27 08:51:59.589  5648  1704 S0   SecureNetworkConnection::SendCallbackHandler(): [ remoteID: 13 connection: 2337806547 remoteConnection: 0 ] Resetting connection due to error RCommand (Cancel)
2018/11/27 08:51:59.589  5648  1704 S0!! SecureNetworkConnectionMap: UpdateConnection: Update non existing ID in map
2018/11/27 08:51:59.589  5648  1704 S0!! SecureNetworkImplementation::ReceivedNewRevocationCheck: Error: Cancel
2018/11/27 08:51:59.589  5648  4508 S0!! SecureNetworkHandshake::ReceiveAckCallback: [remote ID: 13, connection ID: 2337806547] errorcode: Cancel(3)
2018/11/27 08:51:59.589  5648  4508 S0   RetryHandle::HandleRetry(): Trying resend to 13 failed with error SecureNetwork:4, retrying (2 retries remaining) BCmd: CC=19 CT=3
2018/11/27 08:51:59.589  5648  4180 S0!! HandshakeClient::Connect: [remote ID: 13, connection ID: 2337806548, remote connection ID: 0] invalid private key
2018/11/27 08:51:59.589  5648  4508 S0   RetryHandle::HandleRetry(): Trying resend to 13 failed with error SecureNetwork:4, retrying (2 retries remaining) BCmd: CC=19 CT=3
2018/11/27 08:51:59.589  5648  4508 S0   RetryHandle::HandleRetry(): Trying resend to 13 failed with error SecureNetwork:4, retrying (1 retries remaining) BCmd: CC=19 CT=3
2018/11/27 08:51:59.589  5648  4180 S0!! SecureNetworkImplementation::ReceivedNewRevocationCheck: Error: Cancel
2018/11/27 08:51:59.589  5648  4508 S0!! HandshakeClient::Connect: [remote ID: 13, connection ID: 2337806549, remote connection ID: 0] invalid private key
2018/11/27 08:51:59.589  5648  4180 S0   RetryHandle::HandleRetry(): Trying resend to 13 failed with error SecureNetwork:4, retrying (1 retries remaining) BCmd: CC=19 CT=3
2018/11/27 08:51:59.589  5648  4180 S0   RetryHandle::HandleRetry(): Trying resend to 13 failed with error SecureNetwork:4, not retrying (0 retries would remain) BCmd: CC=19 CT=3
2018/11/27 08:51:59.589  5648  4180 S0!  ConfigurationControllerImpl::HandleProviderUnregistrationResponse(): unregister failed with error SecureNetwork:4
2018/11/27 08:51:59.589  5648  4508 S0!! SecureNetworkImplementation::ReceivedNewRevocationCheck: Error: Cancel
2018/11/27 08:51:59.589  5648  4180 S0!! HandshakeClient::Connect: [remote ID: 13, connection ID: 2337806550, remote connection ID: 0] invalid private key
2018/11/27 08:51:59.589  5648  4508 S0   RetryHandle::HandleRetry(): Trying resend to 13 failed with error SecureNetwork:4, not retrying (0 retries would remain) BCmd: CC=19 CT=3
2018/11/27 08:51:59.683  5648  1704 S0   Service ended
2018/11/27 08:52:00.455  1220  4328 I0   Logger started.
2018/11/27 08:52:00.471  1220  4328 I0   Service install: Param:'-uninstall'
2018/11/27 08:52:00.471  1220  4328 I0!! CService::Stop(): ControlService() failed 1062, Errorcode=1062
2018/11/27 08:52:00.471  1220  4328 I0   Service TeamViewer uninstalled


Distribution Manager Failed To Access The Source Directory

$
0
0

Hello All,

I have this issue distributing content to my Distribution Points for months now. I keep running into this error below:

Distribution Manager Failed to Access the source directory (\\share\folder\file.wim)

Possible Cause: Distribution Manager does not have sufficient rights to the source directory.

Solution: Verify that the site server computer account has at least Read access to the directory you specify as the source directory.

Possible Cause: There is not enough disk space available on the site server.

Solution: Verify that there is enough free disk space available on the site server.


I checked the distmgr.log file and received these messages: 

GetTempFileNameA failed; 0x80004005    SMS_DISTRIBUTION_MANAGER    3/24/2015 2:15:38 PM    13952 (0x3680)
CFileLibrary::AddFile failed; 0x80004005    SMS_DISTRIBUTION_MANAGER    3/24/2015 2:15:38 PM    13952 (0x3680)
CContentDefinition::AddFile failed; 0x80004005    SMS_DISTRIBUTION_MANAGER    3/24/2015 2:15:38 PM    13952 (0x3680)
Failed to add the file. Please check if this file exists.    SMS_DISTRIBUTION_MANAGER    3/24/2015 2:15:38 PM    13952 (0x3680)
SnapshotPackage() failed. Error = 0x80004005    SMS_DISTRIBUTION_MANAGER    3/24/2015 2:15:38 PM    13952 (0x3680)
Failed to take snapshot of package CSU0006A    SMS_DISTRIBUTION_MANAGER    3/24/2015 2:15:38 PM    13952 (0x3680)

There is enough space on the site server and the site server has full control over the source directory. I wish I can give you more information but I'm hoping this is enough info to get some assistance. If more information is needed please let me know!

Application Catalog Machine Certificate Renewal causes errors - how I fixed it

$
0
0

Hey Guys,

My Application Catalog had been chugging along nicely for the past 11 months or so, until this morning. It began displaying the "Cannot Connect to Application Server" error.

I saw the corresponding log(s) in the server log (Logs from a day ago, showed proper functionality and count=1):

[55, PID:4828][12/04/2013 08:48:48] :FindCertificate - Found certs via FindByThumbprint, count = 0

[55, PID:4828][12/04/2013 08:48:48] :FindCertificate - No matching certs found

[55, PID:4828][12/04/2013 08:48:48] :DefaultApplicationOfferService - opening channel via client proxy

[55, PID:4828][12/04/2013 08:48:48] :The client certificate is not provided; this could cause errors when the web site attempts to communicate with the web service. The certificate thumbprint in the web.config did not match any cert in the SMS cert store.

[55, PID:4828][12/04/2013 08:48:48] :System.InvalidOperationException: The client certificate is not provided. The certificate thumbprint in the web.config did not match any certificate in the SMS cert store.

 

Eventually, I traced this back to the Server's machine certificate (verses "client", as stated in the log, this lead me astray for awhile) autoenrolled/autorenewed last night, as it was expiring in a month or two. While IIS kept using the "renewed" cert (as I expected it to) For whatever reason, IIS, Windows, SCCM, or whatever (in my opinion "should have" ) never updated the "CertificateThumbprint" values in the Web.Config files for CMApplicationCatalog and CMApplicationCatalogSVC which look to have been set at initial install.

I had to manually update these values in both Web.Config files with the "new" thumbprint for this cert. After doing this, and restarting IIS, it began working immediately.

My question is, is this expected behavior? a bug? am I doing something incorrectly in my autoenroll/renew settings?

SCCM report for a service that is not present

$
0
0

I need a report in SCCM that can give me a list of computers that do not have a service.  I have made several attempts and either get too many results or none at all.  I know I need a Select where not in setup but I must be missing something.  Can anyone help me?

One of many attempts:

select distinct
SMS_R_System.Name0 As 'Name'
from
vSMS_R_System AS SMS_R_System
JOIN Services_DATA AS SMS_G_System_SERVICE ON SMS_G_System_SERVICE.MachineID = SMS_R_System.ItemKey  
where 1=1
And
SMS_G_System_SERVICE.MachineID not in
(
Select
SMS_G_System_SERVICE.MachineID
from
vSMS_R_System AS SMS_R_System
where (SMS_G_System_SERVICE.Name00 like 'SepMasterService' or SMS_G_System_SERVICE.Name00 like 'smcservice')
)

Conflicting Information in Reports and Queries

$
0
0

Recently I was asked to patch Zoom for a newly discovered vulnerability. When I run the report: ConfigMgr_NIS > Software - Companies and Products > Computers with a specific product  "Zoom Meetings" as the product, I receive about 230 results.

When I run the following query:

select distinct SMS_R_System.Name, SMS_G_System_INSTALLED_SOFTWARE.ProductName, SMS_G_System_INSTALLED_SOFTWARE.ProductVersion from  SMS_R_System inner join SMS_G_System_INSTALLED_SOFTWARE on SMS_G_System_INSTALLED_SOFTWARE.ResourceID = SMS_R_System.ResourceId where SMS_G_System_INSTALLED_SOFTWARE.ProductName like "Zoom" order by SMS_R_System.Name

I receive 34 results. I'm running the query so that I can make a collection to deploy the new version to.

What's the deal here? Is there something wrong with my query? Or are there only 34 instances of Zoom installed and there is something wrong with the report? Let me know if there is any other information I can provide. Thank you.

-Mark

Application status Past Due - will be retried

$
0
0

We're trying to deploy several applications via sccm. They include msi's to install new software, remove an old version of software and to install a new version and a script that runs as a batch file.

For the majority of the machines we've tested it on there have been no problems however we are now finding a few where all the applications say Past Due - will be installed. If we click on the application and hit Retry it attempts the install but then reverts back to the same state.

The machines are a mix of Windows 10 and Windows 7 and both have had successes and failures.

I've had a look through the log files and there are error's in a few of them however I am unsure which one could be the cause though I think most likely in the AppEnforce.log as below. 

Is anyone able to shed light on what may be causing this?


Deploying Adobe Reader with SCCM - best practices

$
0
0

Hi guys.

Do you know any good tutorials for deploying Acrobat Readers (uninstalling and installing newer version) thru SCCM?

Do you use ADOBE custom installation wizard?

I have a feeling I'm going to get a response to use ADOBE forum instead of MS TECHNET, but please share your best practices over SCCM regarding Adobe deployment with me ;)

 1st of all I saw there is "a custom/modification tool" for deploying Adobe readers (https://www.adobe.com/devnet-docs/acrobatetk/tools/Wizard/WizardDC/basics.html) but after  reading the 1st statement on that page (You must use a Wizard version that is the same as the product version. Thus, DC products can only be customized with Wizard version DC. ) I'm a little bit confused as the latest tool there which is available is CustWiz1502020039_en_US_DC.exe, but we want to make a custom install of much newer version AcroRdrDC1701220093_sl_SI.exe.

Please help.

Thanks in advance.
With best regards


bostjanc


After 1806 upgrade can't seem to deploy apps or packages from updated software center

$
0
0

Right now I've got one we had available that seems to still work, but any created after the upgrade error out immediately after you click the install button. 

I've done a repair install of the client, a install on a fresh system, rebuilt the WMI stuff, checked the DP this computer and the other test one should be looking at and verified that the software is there and accessible.  Checked the settings in the app deployment and can't find anything wrong.  in the SCClient_(username).log I am seeing a ton of errors every time I click on the install however:

Exception caught in GetInstance, line 347, file E:\bt\918462\repo\src\DataAbstractionLib\WmiDataProvider\WmiConnectionManager.cs - Type System.Management.ManagementException: Invalid parameter       (Microsoft.SoftwareCenter.Client.Data.WmiConnectionManager at GetInstance)    SCClient    12/14/2018 2:57:02 PM    16 (0x0010)

StackTrace:    at System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus errorCode)
   at System.Management.ManagementPath.SetWbemPath(IWbemPath wbemPath, String path)
   at System.Management.ManagementPath.CreateWbemPath(String path)
   at Microsoft.SoftwareCenter.Client.Data.WmiConnectionManager.GetInstance(String instancePath)    SCClient    12/14/2018 2:57:02 PM    16 (0x0010)

Found exception of type System.Management.ManagementException; wrapping in type Microsoft.SoftwareCenter.Client.Data.WmiException      (Microsoft.SoftwareCenter.Client.Data.WmiException at .ctor)    SCClient    12/14/2018 2:57:02 PM    16 (0x0010)

Using endpoint Url: http://SCCM-01.DOMAIN.LOCAL:80/CMUserService_WindowsAuth, Windows authentication      (Microsoft.SoftwareCenter.Client.Data.ACDataSource+<>c at <RefreshLocalSettingsAsync>b__13_0)    SCClient   12/14/2018 2:57:03 PM    4 (0x0004)

Unable to find C:\Users\\AppData\Roaming\Microsoft\Software Center\.cache\GetApplicationDetailsAsync--877403662--271829997      (Microsoft.SoftwareCenter.Client.Data.FileCache+<LoadObjectAsync>d__5 at MoveNext)    SCClient   12/14/2018 2:57:03 PM    1 (0x0001)

Unable to find C:\Users\\AppData\Roaming\Microsoft\Software Center\.cache\GetInformationToMakeRequestAsync--877403662      (Microsoft.SoftwareCenter.Client.Data.FileCache+<LoadObjectAsync>d__5 at MoveNext)    SCClient   12/14/2018 2:57:03 PM    1 (0x0001)

Using endpoint Url: http://SCCM-01.domain.local:80/CMUserService_WindowsAuth, Windows authentication      (Microsoft.SoftwareCenter.Client.Data.ACDataSource+<>c at <RefreshLocalSettingsAsync>b__13_0)    SCClient   12/14/2018 2:57:07 PM    16 (0x0010)

Call to ExecuteMethod failed, WMI MethodName "ApplyPolicyEx", MethodClass "CCM_SoftwareCatalogUtilities", called by , error code -2016411097      (Microsoft.SoftwareCenter.Client.Data.WmiConnectionManager at ExecuteMethod)   SCClient    12/14/2018 2:57:08 PM    4 (0x0004)

Exception caught in ExecuteMethod, line 407, file E:\bt\918462\repo\src\DataAbstractionLib\WmiDataProvider\WmiConnectionManager.cs - Type System.Runtime.InteropServices.COMException:       (Microsoft.SoftwareCenter.Client.Data.WmiConnectionManager at ExecuteMethod)    SCClient    12/14/2018 2:57:08 PM    4 (0x0004)

StackTrace:    at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
   at System.Management.ManagementObject.InvokeMethod(String methodName, ManagementBaseObject inParameters, InvokeMethodOptions options)

   at Microsoft.SoftwareCenter.Client.Data.WmiConnectionManager.ExecuteMethod(String methodClass, String methodName, Dictionary`2 methodParameters, String callerMethodName)    SCClient    12/14/2018 2:57:08 PM   4 (0x0004)
Found exception of type System.Runtime.InteropServices.COMException; wrapping in type Microsoft.SoftwareCenter.Client.Data.WmiException      (Microsoft.SoftwareCenter.Client.Data.WmiException at .ctor)    SCClient    12/14/2018 2:57:08 PM    4 (0x0004)

Returning COM exception -2016411097.      (Microsoft.SoftwareCenter.Client.Data.WmiException at get_ErrorCode)    SCClient    12/14/2018 2:57:08 PM    4 (0x0004)

Exception caught in ApplyPolicy, line 883, file E:\bt\918462\repo\src\DataAbstractionLib\WmiDataConnector.cs - Type Microsoft.SoftwareCenter.Client.Data.WmiException: , error code -2016411097      (Microsoft.SoftwareCenter.Client.Data.WmiDataConnector+<ApplyPolicy>d__53 at MoveNext)    SCClient    12/14/2018 2:57:08 PM    4 (0x0004)

StackTrace:    at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
   at System.Management.ManagementObject.InvokeMethod(String methodName, ManagementBaseObject inParameters, InvokeMethodOptions options) at Microsoft.SoftwareCenter.Client.Data.WmiConnectionManager.ExecuteMethod(String methodClass, String methodName, Dictionary`2 methodParameters, String callerMethodName)    SCClient    12/14/2018 2:57:08 PM    4 (0x0004)

Exception caught in InstallCatalogApplication, line 671, file E:\bt\918462\repo\src\DataAbstractionLib\WmiDataConnector.cs - Type System.Management.ManagementException: Call to ApplyPolicyEx Failed.      (Microsoft.SoftwareCenter.Client.Data.WmiDataConnector+<InstallCatalogApplication>d__48 at MoveNext)    SCClient    12/14/2018 2:57:08 PM    4 (0x0004)

StackTrace:    at Microsoft.SoftwareCenter.Client.Data.WmiDataConnector.<ApplyPolicy>d__53.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.SoftwareCenter.Client.Data.WmiDataConnector.<InstallCatalogApplication>d__48.MoveNext()    SCClient    12/14/2018 2:57:08 PM    4 (0x0004)

Call to ExecuteQuery failed, Query: "SELECT * FROM CCM_Application WHERE Id = 'FR200108-Autodesk Electrical 2019'"      (Microsoft.SoftwareCenter.Client.Data.WmiConnectionManager at ExecuteQuery)    SCClient   12/14/2018 2:57:08 PM    4 (0x0004)

Exception caught in ExecuteQuery, line 465, file E:\bt\918462\repo\src\DataAbstractionLib\WmiDataProvider\WmiConnectionManager.cs - Type System.Runtime.InteropServices.COMException:       (Microsoft.SoftwareCenter.Client.Data.WmiConnectionManager at ExecuteQuery)    SCClient    12/14/2018 2:57:08 PM    4 (0x0004)

StackTrace:    at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
   at System.Management.ManagementObjectCollection.ManagementObjectEnumerator.MoveNext()
   at Microsoft.SoftwareCenter.Client.Data.WmiConnectionManager.ExecuteQuery(String query)    SCClient    12/14/2018 2:57:08 PM    4 (0x0004)

Found exception of type System.Runtime.InteropServices.COMException; wrapping in type Microsoft.SoftwareCenter.Client.Data.WmiException      (Microsoft.SoftwareCenter.Client.Data.WmiException at .ctor)    SCClient   12/14/2018 2:57:08 PM    4 (0x0004)

Generating event AppCatalogInstallationFailed for application FR200108-Autodesk Electrical 2019      (Microsoft.SoftwareCenter.Client.Data.WmiDataConnector at SendEvent)    SCClient    12/14/2018 2:57:08 PM   4 (0x0004)

The application Electrical 2019 - Autodesk Electrical 2019 has no UI experience,  it will not be displayed in the UI      (Microsoft.SoftwareCenter.Client.Data.UtilityClass at IsSoftwareAvailable)    SCClient   12/14/2018 2:57:08 PM    4 (0x0004)

The application is not available, this wont show in the status view.      (Microsoft.SoftwareCenter.Client.Data.UtilityClass at ApplicationShouldShowInStatus)    SCClient    12/14/2018 2:57:08 PM    4 (0x0004)

A notification was received for an application that should not be shown in the list view. Ignoring notification and removing application if present.      (Microsoft.SoftwareCenter.Client.ViewModels.SoftwareListViewModel+<HandleSoftwareStatusNotificationsAsync>d__121 at MoveNext)    SCClient    12/14/2018 2:57:08 PM    4 (0x0004)

AppDetails received Event Unknown, state 4, causing a state display value of Failed. The Action Button says _Retry and its enabled state is True      (Microsoft.SoftwareCenter.Client.ViewModels.ApplicationDetailsViewModel+<WmiDataConnection_WmiNotificationEvent>d__132 at MoveNext)    SCClient    12/14/2018 2:57:08 PM    4 (0x0004)

The installation failed with error code 0      (Microsoft.SoftwareCenter.Client.Pages.UtilityClass at ShowInstallationFailedDialog)    SCClient    12/14/2018 2:57:10 PM    1 (0x0001)

Received a WMI event (CCM_InstanceEvent)      (Microsoft.SoftwareCenter.Client.Data.WmiConnectionManager at EventWatcher_EventArrived)    SCClient    12/14/2018 3:03:47 PM    20 (0x0014)

Event maps to notification type = Retry Time Changed      (Microsoft.SoftwareCenter.Client.Data.WmiConnectionManager at EventWatcher_EventArrived)    SCClient    12/14/2018 3:03:47 PM    20 (0x0014)

Installed applications are hidden based on customization policy      (Microsoft.SoftwareCenter.Client.ViewModels.SoftwareListViewModel at RemoveInstalledApplicationsFromList)    SCClient    12/14/2018 3:03:47 PM    20 (0x0014)

The installation failed with error code 0      (Microsoft.SoftwareCenter.Client.Pages.UtilityClass at ShowInstallationFailedDialog)    SCClient    12/14/2018 3:51:25 PM    1 (0x0001)

I'm seeing in this log that it's saying the application isn't available but this computer is in the correct boundary group, and the DP this was assigned to is the server for that group. 

And what is the "E:\BT\###" file path?  I don't have an E drive on any of the machines I'm testing this on, and no file path like that exists on any of the servers?


Office 365 ProPlus Deployment failed

$
0
0

Hi,

 

i have been trying to deploy office 365 Pro Plus through sccm 2012.

but after sometime received the message from software center as as installation failed.The software change returned error code 0x87D00324(-2016410844).I have checked the application on client machine,i could find the installation is successful,all components for office 365 has been installed.All working fine also.But the deployment status shows error as i mentioned earlier.

 

first my detection rule was file type,at that time also i could install office 365 ,but received same error message.

 

then i changed detection method to registry,HKEY_LOCAL_MACHINE Software\Microsoft\Windows\CurrentVersion\Uninstall\O365ProPlusRetail - en-us.

but the condition is same.same error in status and all the components for office 365 got installed.

 

 

 

 

AppEnforce.log  attached for reference.

 

Command line: Setup.exe /configure Install.xml

Allow user interaction: No
UI mode: 1
User token: null
Session Id: 1
Content path: C:\Windows\ccmcache\n
Working directory: ]LOG]!><time="13:26:01.207-180" date="05-05-2015" component="AppEnforce" context="" type="1" thread="4276" file="appcontext.cpp:84">
<![LOG[    Prepared working directory: C:\Windows\ccmcache\n]LOG]!><time="13:26:01.215-180" date="05-05-2015" component="AppEnforce" context="" type="1" thread="4276" file="appcontext.cpp:188">
<![LOG[    Prepared command line: "C:\Windows\ccmcache\n\setup.exe" /configure Install.xml]LOG]!><time="13:26:01.228-180" date="05-05-2015" component="AppEnforce" context="" type="1" thread="4276" file="appcontext.cpp:337">
<![LOG[    Executing Command line: "C:\Windows\ccmcache\n\setup.exe" /configure Install.xml with user context]LOG]!><time="13:26:01.231-180" date="05-05-2015" component="AppEnforce" context="" type="1" thread="4276" file="appexcnlib.cpp:201">
<![LOG[    Working directory C:\Windows\ccmcache\n]LOG]!><time="13:26:01.236-180" date="05-05-2015" component="AppEnforce" context="" type="1" thread="4276" file="appexcnlib.cpp:215">
<![LOG[    Post install behavior is BasedOnExitCode]LOG]!><time="13:26:01.495-180" date="05-05-2015" component="AppEnforce" context="" type="1" thread="4276" file="appcommon.cpp:1093">
<![LOG[    Waiting for process 3108 to finish.  Timeout = 120 minutes.]LOG]!><time="13:26:01.507-180" date="05-05-2015" component="AppEnforce" context="" type="1" thread="4276" file="appexcnlib.cpp:1951">
<![LOG[    Process 3108 terminated with exitcode: 0]LOG]!><time="13:33:36.128-180" date="05-05-2015" component="AppEnforce" context="" type="1" thread="4276" file="appexcnlib.cpp:1960">
<![LOG[    Looking for exit code 0 in exit codes table...]LOG]!><time="13:33:36.132-180" date="05-05-2015" component="AppEnforce" context="" type="1" thread="4276" file="appexcnlib.cpp:505">
<![LOG[    Matched exit code 0 to a Success entry in exit codes table.]LOG]!><time="13:33:36.136-180" date="05-05-2015" component="AppEnforce" context="" type="1" thread="4276" file="appexcnlib.cpp:584">
<![LOG[    Performing detection of app deployment type Install - Microsoft Office 365 ProPlus(ScopeId_0436E235-3904-45D1-A801-8C3BAECBC4E8/DeploymentType_e1851ff5-ed7b-485a-86b9-0eb53e2bb9bb, revision 9) for system.]LOG]!><time="13:33:36.194-180" date="05-05-2015" component="AppEnforce" context="" type="1" thread="4276" file="appprovider.cpp:2079">
<![LOG[+++ Application not discovered. [AppDT Id: ScopeId_0436E235-3904-45D1-A801-8C3BAECBC4E8/DeploymentType_e1851ff5-ed7b-485a-86b9-0eb53e2bb9bb, Revision: 9]]LOG]!><time="13:33:36.370-180" date="05-05-2015" component="AppEnforce" context="" type="1" thread="4276" file="localapphandler.cpp:291">
<![LOG[++++++ App enforcement completed (455 seconds) for App DT "Install - Microsoft Office 365 ProPlus" [ScopeId_0436E235-3904-45D1-A801-8C3BAECBC4E8/DeploymentType_e1851ff5-ed7b-485a-86b9-0eb53e2bb9bb], Revision: 9, User SID: ] ++++++]LOG]!><time="13:33:36.377-180" date="05-05-2015" component="AppEnforce" context="" type="1" thread="4276" file="appprovider.cpp:2366">
 
 
 
Kindly help.
 
Best Regards,
Najim.

SCCM 2012: Reinstall remote distribution point?

$
0
0

Hi,

We have a remote distribution point to which we can't deploy packages anymore. Several attempts to repair it failed.
I'd like to remove the distribution point and reinstall it via SCCM 2012 console.

However, I'd like to know the impact since it contains GB of packages already.
Note: the DP has been removed for clients (temorarely) so no impatc there.

My questions:
-what is best practises: can I just remove and add it in 1 go (or need to wait before re-adding, reboot needed in between)?
-will all data be pulled in again (I activated pull and would reactivate it after reinstall)?
-what's your experience in this procedure? does it work in general or is it preferrable I continue troubleshooting the current situation?

Please advise.

J.


Jan Hoedt

Symantec DLP Endpoint Agent Deployment through SCCM

$
0
0

Hi All,

I would like to deploy the Symantec DLP Endpoint Agent via SCCM and am facing issues successfully doing so.

The steps for installation of Symantec DLP Endpoint Agent are,

1. Installation files to be run from Local Directory.

2. Open cmd as Administrator

3. Run the install_agent.bat file to install

There are following files in Installation Files,

AgentInstall-x64_15.1.msi
endpoint_cert.pem
endpoint_priv.pem
endpoint_truststore.pem
install_agent.bat
... and in the install_agent.bat file the content is 

msiexec /i AgentInstall-x64_15_1.msi /q INSTALLDIR="%PROGRAMFILES%\Manufacturer\Endpoint Agent" ENDPOINTSERVER="value" TOOLS_KEY="value" RANDOM_KEY="value" SERVICENAME="EDPA" WATCHDOGNAME="WDP" ARPSYSTEMCOMPONENT="1" ENDPOINT_CERTIFICATE="endpoint_cert.pem" ENDPOINT_PRIVATEKEY="endpoint_priv.pem" ENDPOINT_PRIVATEKEY_PASSWORD="value" ENDPOINT_TRUSTSTORE="endpoint_truststore.pem" LOGDETAILS="Yes" /L*v %SystemDrive%\installAgent.log

Now, what i've done is created an application with deployment type as script installer and then in installation program

"install_agent.bat" is the value.

Also the actual content is on UNC path and i've set the setting to Download Content and Run locally.

However when i deploy this application it fails to successfully install. Is it possible that this .bat file is not being run using cmd as Administrator ? the SCCM account is a domain admin so this should work right ? 

Kind regards

Create Collection of Non-Complaint Devices of a Configuration Baseline

$
0
0

Hi. I am new to System Center and have been reading a ton of documentation on device compliance. I’m not sure if what I want can be done. I can’t find any direct information on it in the Microsoft documentation.

We deploy Malwarebytes to all workstations in our environment via an app deployment. I created a CI on the Malwarebytes deployment collection to make sure all machines that are in this deployment collection have the application installed.

I want to create a collection based off non-complaint devices for this particular CI. The end game is to redeploy the application to all non-complaint devices. Essentially, if for some reason, local administrators in my environment uninstall Malwarebytes or the initial deployment failed for a particular device, the CI will report the machine as non-complaint. Add the non-complaint machine to a collection and Malwarebytes will be re-deployed based on second Malwarebytes application deployment I will create.

Can this even be done? If not, can anyone recommend the best solution for setting this up? I’ve been able to create the CI and CB to detect Malwarebytes on devices included in the Malwarebytes deployment. I am stuck on how to create a collection of non-complaint device based on this CI/CB?

Thanks everyone. I’d appreciate any and all feedback.

Create SCCM 2012 MSU Application

$
0
0

I'm having some problems creating an application package for KB4346085. 

I've used the command line below, but it doesn't seem to be working. 

wusa.exe "windows10.0-kb4346085-x64.msu" /quiet /norestart

Should this be done as a package or application, does it matter?

What's wrong with the command line I'm using that it's not working. 

Viewing all 4762 articles
Browse latest View live


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