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

SCCM 2012 R2 SP1

$
0
0

I have installed new DP's both Dp's show 2000 packages in sucess and 474 waiting for content .But when i check physically on the DP in contents package exist and with same size .

Do you know any fix where console is not showing the actual results.


Deployment application packages not working

$
0
0

I'm a noob with Config Manager 2012. I've created a deployment package to deploy an application with silent install. The silent install works when I run it manually and have successfully deployed it to one of my test server. I'm limited to the amount of test servers. So, what i did is un-install the application on the target server and tried to re-install it once more via Config Mgr. But, this second time around, it's not deploying. When I tried to add another target test server, it too does not get the package. I've tried running both "Machine Policy Retrieval & Evaluation Cycle" and "Application Deployment Evaluation Cycle" in the Configuration Manager Properties on both target machine and refreshed What's available on the Software Center - nothing.

I've tried to simulate application deployment via wizard and I get red circle exclamation stating that "The application (my-application) has already been deployed to the (my-collection)."

What am I doing wrong? I've tried to use the cmtrace.exe but I am ignorant as far as what logs should I be looking in the Logs directory.

Please advise and thanks.

Names for Packages showing twice in Application Catalog

$
0
0

Hello,

I'm currently trying to populate our Application Catalog with packages in Config Manager. These packages work. however the name is listed twice.

https://imgur.com/gXCtMKf

I think this happens because you are prompted to enter the name of the package and application when you are creating the package (which in my case are the same), but I would just like it to display the package's name. I know that it's recommended to use applications in Config Manager instead of packages but some of our apps do not have .msi installers and we are forced to use packages over applications.

Has anyone run into this problem before?

Thanks in advance!

SCCM 2012 Supersedence (Uninstall-Install)

$
0
0

I have an application setup to supersede another application and is set to use the uninstall option.

The uninstall completes in under 1 minute but 3 hours passes before the install is executed.

Five minutes after the uninstall completed I can see that the discovery runs again and does not detect the new application.

Detection Method Failing for Office 365

package not available in the software center in sccm 2012

$
0
0
package not available in the software center but it is available in cache folder and also deployment status is unknown in sccm 2012.can u please help me

How to deploy Task sequence to user collection in SCCM 2012

$
0
0
How to deploy Task sequence to user collection in SCCM 2012( Appliation Catelog portal)

Script Detection Method Fails Even When ExecutionPolicy is Bypass

$
0
0

During OSD we run a bunch of unsigned PowerShell scripts to handle various tasks.  As such I'm setting the ExecutionPolicy to Bypass as soon as we get into the OS, which is Windows 7 SP1 amd64 in this case, via PowerShell:

"%SystemRoot%\system32\WindowsPowerShell\v1.0\powershell.exe" -command "Set-ExecutionPolicy -Scope LocalMachine -ExecutionPolicy Bypass -Force""%SystemRoot%\syswow64\WindowsPowerShell\v1.0\powershell.exe" -command "Set-ExecutionPolicy -Scope LocalMachine -ExecutionPolicy Bypass -Force"

In addition, the 'PowerShell execution policy' is set to 'Bypass' in 'Computer Agent' of the Default Client Settings, and nothing supersedes that.


We can't rely on the build in detection rule because it requires confirming a specific file is not found.  As such we're relying on the detection method script which is fairly simple:

If(Test-path -Path 'HKLM:\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{6EEA9350-5775-407C-9D6E-A875E1312390}' -PathType Container)
	{
		If(!(Test-Path -Path "${env:ProgramFiles(x86)}\Litera\ChangePro\pdfsel.exe" -PathType Leaf))
			{
				write-host "Installed"
			}
	}

The logic is sound as copying & pasting the above snippet on machines with and without the software yields the expected result.

But during OSD the detection process fails because it is not digitally signed.

In the screenshot above I queried the Powershell registry key to confirm the ExecutionPolicy is Bypass.

What am I missing/doing wrong?



AppV integration error: not integrated for the user

$
0
0

Hi,

I have an App-V package which is deployed to several terminal server users (not to the machine but the users).
I created a deployment type (V2) which I deployed. However I want to fail back to deployment type V1. I increased the priority of V1 but V2 still is there.

So I tried via Powershell to remove V2 but that does not work:

Invoke-Command -ScriptBlock  { Get-AppvClientPackage -name  "*App-V package V2"  -all | Stop-AppvClientPackage | Repair-AppvClientPackage | Unpublish-AppvClientPackage | Remove-AppvClientPackage } -computername $ComputerName -verbose

Internal AppV Integration error: Package not integrated for the user. Please ensure that the package is added to the machine and published to the user.
Operation attempted: Repair Package.

AppV Error Code: 010000001D.

How can I force the removal of this App-V package so I can deploy the new one?

J.


Jan Hoedt

Script Detection Method for Applicaton Fails During OSD; Fine for Normal Systems

$
0
0

During OSD we run a bunch of unsigned PowerShell scripts to handle various tasks.  As such I'm setting the ExecutionPolicy to Bypass as soon as we get into the OS, which is Windows 7 SP1 amd64 in this case, via PowerShell:

"%SystemRoot%\system32\WindowsPowerShell\v1.0\powershell.exe" -command "Set-ExecutionPolicy -Scope LocalMachine -ExecutionPolicy Bypass -Force""%SystemRoot%\syswow64\WindowsPowerShell\v1.0\powershell.exe" -command "Set-ExecutionPolicy -Scope LocalMachine -ExecutionPolicy Bypass -Force"

In addition, the 'PowerShell execution policy' is set to 'Bypass' in 'Computer Agent' of the Default Client Settings, and nothing supersedes that.


We can't rely on the build in detection rule because it requires confirming a specific file is not found.  As such we're relying on the detection method script which is fairly simple:

If(Test-path -Path 'HKLM:\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{6EEA9350-5775-407C-9D6E-A875E1312390}' -PathType Container)
	{
		If(!(Test-Path -Path "${env:ProgramFiles(x86)}\Litera\ChangePro\pdfsel.exe" -PathType Leaf))
			{
				write-host "Installed"
			}
	}

The logic is sound as copying & pasting the above snippet on machines with and without the software yields the expected result.

But during OSD the detection process fails because it is not digitally signed.

In the screenshot above I queried the Powershell registry key to confirm the ExecutionPolicy is Bypass.

What am I missing/doing wrong?




OS image capture wizard fails with error code 0x80070714

$
0
0

Dear Experts,

I am new to SCCM and would greatly appreciate your assistance. I searched google on this error, but all I got is the people talking about getting this error when trying to image new machines using existing .wim image. I am just trying to make a new .wim image from the machine that has a fresh install of Windows 10 Enterprise.

I am trying to run the capture on the source machine. Started with no issues, asked where I wanted to save the .wim file. I put the location on the second local hard disk (disk d:\ empty with 1TB of free space). Started the capture process, went through fine, then rebooted, and came up with the error code: 0x80070714.

A friend recommended using a network share instead. I did that and ran the capture wizard again, and it failed again at the same place with the same error.

I am attaching the screenshot and the content of the smsts.log

<![LOG[Do not send status message in full media case]LOG]!><time="13:37:37.560+480" date="12-18-2015" component="TSManager" context="" type="1" thread="1292" file="utils.cpp:5181"><![LOG[Execution::enExecutionFail != m_eExecutionResult, HRESULT=80004005 (e:\nts_sccm_release\sms\client\tasksequence\tsmanager\tsmanager.cpp,866)]LOG]!><time="13:52:38.187+480" date="12-18-2015" component="TSManager" context="" type="0" thread="1292" file="tsmanager.cpp:866"><![LOG[Task Sequence Engine failed! Code: enExecutionFail]LOG]!><time="13:52:38.187+480" date="12-18-2015" component="TSManager" context="" type="3" thread="1292" file="tsmanager.cpp:866"><![LOG[****************************************************************************]LOG]!><time="13:52:38.187+480" date="12-18-2015" component="TSManager" context="" type="1" thread="1292" file="tsmanager.cpp:889"><![LOG[Task sequence execution failed with error code 80004005]LOG]!><time="13:52:38.187+480" date="12-18-2015" component="TSManager" context="" type="3" thread="1292" file="tsmanager.cpp:890"><![LOG[Cleaning Up.]LOG]!><time="13:52:38.187+480" date="12-18-2015" component="TSManager" context="" type="1" thread="1292" file="tsmanager.cpp:637"><![LOG[Removing Authenticator]LOG]!><time="13:52:38.187+480" date="12-18-2015" component="TSManager" context="" type="1" thread="1292" file="tsmanager.cpp:648"><![LOG[shKey.DeleteValue( c_szRegValue_SecurityToken ), HRESULT=80070002 (e:\nts_sccm_release\sms\framework\ccmutillib\ccmutillib.cpp,1652)]LOG]!><time="13:52:38.187+480" date="12-18-2015" component="TSManager" context="" type="0" thread="1292" file="ccmutillib.cpp:1652"><![LOG[Clean up boot image stage path D:\_SMSTaskSequence\WinPE]LOG]!><time="13:52:38.187+480" date="12-18-2015" component="TSManager" context="" type="1" thread="1292" file="utils.cpp:1683"><![LOG[Cleaning up task sequence folder]LOG]!><time="13:52:38.642+480" date="12-18-2015" component="TSManager" context="" type="1" thread="1292" file="utils.cpp:1746"><![LOG[Deleting volume ID file C:\_SMSTSVolumeID.7159644d-f741-45d5-ab29-0ad8aa4771ca ...]LOG]!><time="13:52:38.940+480" date="12-18-2015" component="TSManager" context="" type="1" thread="1292" file="resolvesource.cpp:519"><![LOG[DeleteFileW(sVolumeIDFile.c_str()), HRESULT=80070002 (e:\nts_sccm_release\sms\framework\tscore\resolvesource.cpp,521)]LOG]!><time="13:52:38.940+480" date="12-18-2015" component="TSManager" context="" type="0" thread="1292" file="resolvesource.cpp:521"><![LOG[Deleting volume ID file D:\_SMSTSVolumeID.7159644d-f741-45d5-ab29-0ad8aa4771ca ...]LOG]!><time="13:52:38.940+480" date="12-18-2015" component="TSManager" context="" type="1" thread="1292" file="resolvesource.cpp:519"><![LOG[DeleteFileW(sVolumeIDFile.c_str()), HRESULT=80070002 (e:\nts_sccm_release\sms\framework\tscore\resolvesource.cpp,521)]LOG]!><time="13:52:38.940+480" date="12-18-2015" component="TSManager" context="" type="0" thread="1292" file="resolvesource.cpp:521"><![LOG[Successfully unregistered Task Sequencing Environment COM Interface.]LOG]!><time="13:52:38.940+480" date="12-18-2015" component="TSManager" context="" type="1" thread="1292" file="environmentlib.cpp:886"><![LOG[Command line for extension .exe is "%1" %*]LOG]!><time="13:52:38.940+480" date="12-18-2015" component="TSManager" context="" type="0" thread="1292" file="commandline.cpp:228"><![LOG[Set command line: "X:\sms\bin\x64\TsProgressUI.exe" /Unregister]LOG]!><time="13:52:38.940+480" date="12-18-2015" component="TSManager" context="" type="0" thread="1292" file="commandline.cpp:731"><![LOG[Executing command line: "X:\sms\bin\x64\TsProgressUI.exe" /Unregister]LOG]!><time="13:52:38.940+480" date="12-18-2015" component="TSManager" context="" type="1" thread="1292" file="commandline.cpp:827"><![LOG[==========[ TsProgressUI started in process 1628 ]==========]LOG]!><time="13:52:38.956+480" date="12-18-2015" component="TsProgressUI" context="" type="1" thread="1632" file="winmain.cpp:330"><![LOG[Command line: "X:\sms\bin\x64\TsProgressUI.exe" /Unregister]LOG]!><time="13:52:38.956+480" date="12-18-2015" component="TsProgressUI" context="" type="0" thread="1632" file="winmain.cpp:332"><![LOG[Unregistering COM classes]LOG]!><time="13:52:38.956+480" date="12-18-2015" component="TsProgressUI" context="" type="1" thread="1632" file="winmain.cpp:204"><![LOG[Unregistering class objects]LOG]!><time="13:52:38.956+480" date="12-18-2015" component="TsProgressUI" context="" type="1" thread="1632" file="winmain.cpp:495"><![LOG[Shutdown complete.]LOG]!><time="13:52:38.956+480" date="12-18-2015" component="TsProgressUI" context="" type="1" thread="1632" file="winmain.cpp:512"><![LOG[Process completed with exit code 0]LOG]!><time="13:52:38.956+480" date="12-18-2015" component="TSManager" context="" type="1" thread="1292" file="commandline.cpp:1123"><![LOG[Successfully unregistered TS Progress UI.]LOG]!><time="13:52:38.956+480" date="12-18-2015" component="TSManager" context="" type="1" thread="1292" file="utils.cpp:2320"><![LOG[g_TSManager.Run(), HRESULT=80004005 (e:\nts_sccm_release\sms\client\tasksequence\tsmanager\tsmanager.cpp,725)]LOG]!><time="13:52:38.956+480" date="12-18-2015" component="TSManager" context="" type="0" thread="1292" file="tsmanager.cpp:725"><![LOG[::RegQueryValueExW(hSubKey, szReg, NULL, NULL, NULL, &dwSize), HRESULT=80070002 (e:\nts_sccm_release\sms\framework\tscore\utils.cpp,261)]LOG]!><time="13:52:38.956+480" date="12-18-2015" component="TSManager" context="" type="0" thread="1292" file="utils.cpp:261"><![LOG[RegQueryValueExW failed for Software\Microsoft\SMS\Task Sequence, SMSTSEndProgram]LOG]!><time="13:52:38.956+480" date="12-18-2015" component="TSManager" context="" type="2" thread="1292" file="utils.cpp:261"><![LOG[GetTsRegValue() failed. 0x80070002.]LOG]!><time="13:52:38.956+480" date="12-18-2015" component="TSManager" context="" type="2" thread="1292" file="utils.cpp:279"><![LOG[End program: ]LOG]!><time="13:52:38.956+480" date="12-18-2015" component="TSManager" context="" type="1" thread="1292" file="tsmanager.cpp:764"><![LOG[Error Task Sequence Manager failed to execute task sequence. Code 0x80004005]LOG]!><time="13:52:38.956+480" date="12-18-2015" component="TSManager" context="" type="3" thread="1292" file="tsmanager.cpp:768"><![LOG[Sending error status message]LOG]!><time="13:52:38.956+480" date="12-18-2015" component="TSManager" context="" type="1" thread="1292" file="tsmanager.cpp:769"><![LOG[Do not send status message in full media case]LOG]!><time="13:52:38.956+480" date="12-18-2015" component="TSManager" context="" type="1" thread="1292" file="utils.cpp:5181"><![LOG[Finalize logging request ignored from process 1288]LOG]!><time="13:52:38.956+480" date="12-18-2015" component="TSManager" context="" type="1" thread="1292" file="tslogging.cpp:1737"><![LOG[Process completed with exit code 2147500037]LOG]!><time="13:52:38.956+480" date="12-18-2015" component="TSMBootstrap" context="" type="1" thread="1256" file="commandline.cpp:1123"><![LOG[Exiting with return code 0x80004005]LOG]!><time="13:52:38.956+480" date="12-18-2015" component="TSMBootstrap" context="" type="1" thread="1256" file="tsmbootstrap.cpp:1195"><![LOG[Execution complete.]LOG]!><time="13:52:38.971+480" date="12-18-2015" component="TSBootShell" context="" type="1" thread="848" file="bootshell.cpp:690"><![LOG[hMap != 0, HRESULT=80070002 (e:\nts_sccm_release\sms\framework\tscore\environmentscope.cpp,515)]LOG]!><time="13:52:38.971+480" date="12-18-2015" component="TSBootShell" context="" type="0" thread="848" file="environmentscope.cpp:515"><![LOG[m_pGlobalScope->open(), HRESULT=80070002 (e:\nts_sccm_release\sms\framework\tscore\environmentlib.cpp,337)]LOG]!><time="13:52:38.971+480" date="12-18-2015" component="TSBootShell" context="" type="0" thread="848" file="environmentlib.cpp:337"><![LOG[this->open(), HRESULT=80070002 (e:\nts_sccm_release\sms\framework\tscore\environmentlib.cpp,549)]LOG]!><time="13:52:38.971+480" date="12-18-2015" component="TSBootShell" context="" type="0" thread="848" file="environmentlib.cpp:549"><![LOG[::RegQueryValueExW(hSubKey, szReg, NULL, NULL, NULL, &dwSize), HRESULT=80070002 (e:\nts_sccm_release\sms\framework\tscore\utils.cpp,261)]LOG]!><time="13:52:38.971+480" date="12-18-2015" component="TSBootShell" context="" type="0" thread="848" file="utils.cpp:261"><![LOG[RegQueryValueExW failed for Software\Microsoft\SMS\Task Sequence, SMSTSEndProgram]LOG]!><time="13:52:38.971+480" date="12-18-2015" component="TSBootShell" context="" type="2" thread="848" file="utils.cpp:261"><![LOG[GetTsRegValue() failed. 0x80070002.]LOG]!><time="13:52:38.971+480" date="12-18-2015" component="TSBootShell" context="" type="2" thread="848" file="utils.cpp:279"><![LOG[End program: ]LOG]!><time="13:52:38.971+480" date="12-18-2015" component="TSBootShell" context="" type="1" thread="848" file="bootshell.cpp:722"><![LOG[Finalizing logging from process 832]LOG]!><time="13:52:38.971+480" date="12-18-2015" component="TSBootShell" context="" type="1" thread="848" file="tslogging.cpp:1741"><![LOG[Finalizing logs to root of first available drive]LOG]!><time="13:52:38.971+480" date="12-18-2015" component="TSBootShell" context="" type="1" thread="848" file="tslogging.cpp:1583"><![LOG[Successfully finalized logs to D:\SMSTSLog]LOG]!><time="13:52:38.971+480" date="12-18-2015" component="TSBootShell" context="" type="1" thread="848" file="tslogging.cpp:1640"><![LOG[Cleaning up task sequencing logging configuration.]LOG]!><time="13:52:38.971+480" date="12-18-2015" component="TSBootShell" context="" type="0" thread="848" file="tslogging.cpp:584">

Deployment status mismatch

$
0
0

I deployed SCCM 2012 R2 CU1 client side update two months ago.

All clients have been updated to the CU1 verson but in Console:Monitoring-Deployments-R2 CU1-x64 client update,I find one client has been under "in progress" status for almost two months while the update has actually installed correctly on it,this client also has passed health check.

I have tried re-sending status message manually but nothing happened.

How to work out this problem?


how to reset status for distribution point

$
0
0
how to reset status  for distribution point in console? monitoring > distribution point configuration status >  status type

How to schedule a "7 days delayed restart" after Application installation via SCCM

$
0
0

Hi Team,

I have created an application in my SCCM which needs a restart. My client wants that after the application is installed, client should get a pop up for "Computer restart" which can be delayed by the end user for maximum 7 days.

I can see a setting in Application which will immediately restart the machine after the package is installed. But my requirement is to have a facility for user to delay the restart for maximum 7 days.

How can I achieve this?


Thanks, S K Agrawal

Package Deployment

$
0
0

Hai, I required  How to deploy the Package & Application to the Secondary site in detail ?

what are the log files is used to check while in deployment and the process ?


SCCM 2012: failed to connect to distribution point

$
0
0

Hi folks,

I have an intermittent issue and can't figure out the reason so far.

I have a primary server and multiple distribution points. The primary does not have a DP configured. When I deploy a new distribution point, I have the following messages:

Distribution Manager failed to connect to the distribution point. Check your network and firewall settings.

and

Distribution Manager failed to find or create the defined share or volume on distribution point.

DistMgr.log shows the following:

CWmi::Connect() failed to connect to \\AMB-SCCM-E.domain.name\root\CIMv2. Error = 0x800706BA

STATMSG: ID=2391 SEV=E LEV=M SOURCE="SMS Server" COMP="SMS_DISTRIBUTION_MANAGER" SYS=BBD-SCCM-E.domain.name SITE=IDC PID=2120 TID=3376 GMTDATE=do jun 28 07:24:17.463 2012 ISTR0="["Display=\\AMB-SCCM-E.domain.name\"]MSWNET:["SMS_SITE=IDC"]\\AMB-SCCM-E.domain.name\" ISTR1="" ISTR2="" ISTR3="" ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=1 AID0=404 AVAL0="["Display=\\AMB-SCCM-E.domain.name\"]MSWNET:["SMS_SITE=IDC"]\\AMB-SCCM-E.domain.name\"

ERROR DPConnection::ConnectWMI() - Failed to connect to  AMB-SCCM-E.domain.name. error = 0x800706ba

Failed to find a valid drive on the distribution point ["Display=\\AMB-SCCM-E.domain.name\"]MSWNET:["SMS_SITE=IDC"]\\AMB-SCCM-E.domain.name\

Cannot find or create the package share.

Error occurred. Performing error cleanup prior to returning.

However, after a while (couple of hours), it looks like everything is distributed on the DP. But this message keeps on coming back during the course of the day and every time a new DP is deployed.

I checked permissions, IIS, WMI, but I can't find out the cause of this behavior. I have events about WMI (id 5605) but I can connect to the WMI workspace (root\MicrosoftIISv2) with no issues.

Can anyone shed some light on this please? It would be greatly appreciated.

Cheers,

Safdar.

Package Servicepack2 for Outlook 2010 (KB2687455) but need to accept EULA during silent install

$
0
0

Hello all

Looking for some advice please :)

I need to Package KB2687455 also known as officesp2010-kb2687455-fullfile-x86-en-us.exe (service pack 2 for Outlook 2010). I ran the following command "C:\Users\pbalderos\Desktop\ServicePack2ForOutlook2010x86>officesp2010-kb2687455-fullfile-x86-en-us.exe /quiet /norestart" but nothing seems to happen, I even checked event viewer and nothing. My first assumption is that it

is prompting to accept the EULA so I ran this time with out the switches and sure enough it did prompt to accept the EULA.

Is there a command line switch to accent the EULA? I know there is one with MSI but this servicepack2 for Outlook 2010 is a .exe. Once I am able to test a silent install at the sa EULA I will package the KB in SCCM and deploy it out.

I know it is possible to deploy via software updates  but we are just getting started with setting up SUP and this needs to be deployed within the next couple of days.


Phil Balderos

Application show available until system reboot

$
0
0

When I deploy an application and the user goto software catalog and click install...the application shows up in system center as available until the user reboots his computer then it starts the download and install......Why? what logs do I need to look at to see what is happening and causing the new application to not install on demand?

wmi.

$
0
0

What is WMI and what is the Difference between WMI & SMS .

Can we build a Distrubution point  in the same site , where already their ? How to build a Dp's  in the Same site.

Application Management

$
0
0

Hi,

I got a Question in My Interview for SCCM 2012 R2.

1. What is a Content Library?

2.Deployment in Network is done weather in Down Stream or Up Stream.

3. Elevate the  Software Update process and the backend process full fledge with Log files on Server side and Client side.

Please any one help for the answers for the Reference.

Regards,

Abhinash.

Viewing all 4762 articles
Browse latest View live


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