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

What happens to package content after Task Sequence runs?

$
0
0

I've just figured out that when a Task Sequence runs, the content is removed. (At least I can't find it). I've been deploying Adobe Acrobat with a Task Sequence and I noticed that when I attempted to update it manually, the source .msi file is coming back as

C:\_SMSTaskSequence\Packages\PKGNUMBER\AcroPro.msi

Is the content possibly moved to another location on the client after the Task Sequence runs or is it deleted?


Orange County District Attorney


Application>Program>Uninstall>Command-Line: Can you use a simple command-line action to uninstall a program?

$
0
0

Background

I have an application that is installed by using a script (Create directory, copy files). Everything seems to work fine for the "install."

All that is needed for an uninstall is the command-line rd "Path" /S /Qbut it seems the ConfigMngr client doesnt like this command. I listed the start-in as"%windir%\system32" and the command line as "cmd.exe" rd C:\Path /S /Qbut nothing ever executes. According to the AppEnforce.log it sees the command but no action is ever taken and it just times out.

Question

Is it possible to run a command-line to uninstall a program or should I just create another batch file to handle this?

Any help is apprecatied.

Deploying Applications in Task Sequences - Expected behavior?

$
0
0

Hi everyone. Seeing some strange (we think) behavior when we are deploying a task sequence containing applications.

SCCM 2012 RTM (no SP1 - we're in the process of planning that upgrade to overcome some other bugs we ran into)

TS Scenario:

1.) Uninstall application (cmd line)

2.) Reboot

3.) Install application (application with supersedence relationship - however, we are manually uninstallaing as part of the TS)

4.) Reboot

Deployment timing: Available (start time): tonight 8pm

Assignment time: 2 days out from now @ 8pm

Observed behavior: After the deployment has been submitted, the targeted systems pick up policy, and we see AppIntentEval start processing the application install referenced - sees supersedence in effect, etc. Fine? OK, well AppEnforce then comes in during the nightly maintenance window and actually ACTS on the application supersedence and uninstalls the superseded application.

The superseded app has a forced configmgr restart, so at the maintenance window, it restarts and then the new app is installed.

Keep in mind this is all before the TS has run!

When the TS assignment time hits, the TS runs and fails on removal (already removed), which we have ignored and then proceeds to install (enforce what's already installed).

As a "workaround" we have set our deployment availability and assignment times a few seconds apart, so App enforcement doesn't jump the gun per se and that seems to work.

We've already verified that there are no other deployments of the superseded application that are causing this.

Is this the way SCCM handle application installs inside a TS?

I can live with policy coming down and AppIntent knowing something is in the pipeline, but I don't like that the application is enforced ahead of the TS running...

Thanks for any feedback.

Steve

SCCM 2012 Deploying a MSI and MSP file together

$
0
0

Hello all,

    I'm trying to deploy an MSI and an MSP together as an Application in SCCM 2012. They are both in the same direct directory. They both are copied to the workstation.

On the "Programs" tab of the "Deployment Types" I've set the "Installation program" to the following

msiexec.exe /lvx* c:\Logs\ext.log /i "\\CAS\sources\Apps\TestPatch\TestInstall 1.msi" PATCH="\\CAS\sources\Apps\TestPatch\TestPatch 2.msp" \qn

This fails in SCCM with a 0x87D01106 error. If I put it in the batch file, it works perfectly.

I've also tried msiexec.exe /lvx* c:\Logs\ext.log /i "%~dp0eTestInstall 1.msi" PATCH="%~dp0eTestPatch 2.msp" \qn

Which also works in a batch file.

I've also tried msiexec.exe /lvx* c:\Logs\ext.log /i "TestInstall 1.msi" PATCH="TestPatch 2.msp" \qn

Which also works in a batch file.

If I put this in the "Installation program"  msiexec.exe /lvx* c:\Logs\ext.log /i "TestInstall 1.msi" \qn without the Patch information then the application is deployed correctly.

Is there something I'm missing with deploying an application with a MSP?

.


SCCM Software Center Installed Software

$
0
0

Two questions:

First, when I go into the Software Center and click on the "Installed Software" tab, it is blank although I've successfully installed a few programs since.

Second, when I uncheck "Show Optional Software" nothing appears, although there are several applications listed in the Software Center "Installation Status" tab that are not required and set as an available user initiated deployment.

sccm 2012 creating prestage package

$
0
0

i'm trying to distribute Office 2013 using SCCM 2012 so I followed this link to create a package

https://www.youtube.com/watch?v=1sZ_6gTyZI8

all the way up to 4:47

on my SCCM console, the package status became,

Distribution Manager is waiting for package XX1234567 content to be prestage on
the distribution point ["Display=\\serverA.acme.com\"]MSWNET:["SMS_SITE=XX"]
\\serverA.acme.com\. You must manually prestage the package XX1234567 on the
distribution point before the content will be available.

not knowing why or what is a "prestage", I googled and found this site

http://blog.coretech.dk/kea/configuration-manager-2012-prestage-content-on-distribution-points/

I was only able to do up to step 2 because during the prestage, it asks for the distribution point for the contents file. unlike earlier, this dialog only shows the "Add" button. there is also no way to type in the distribution point name.

question is how to proceed specifying the distribution point if I can't even type it!?

SCCM 2012- Software Distribution-WAITING FOR CONTENT since a long time in Distribution status of SCCM Console

$
0
0

Hello All,

 

Pls help Pls.. Need resolution Urgent!

 

critical issue Pls help : Prestage Content

We have deployed packages using Prestage Content

packages are showing WAITING FOR CONTENT since a long time in Distribution status of SCCM console

 

and that packages are not replicated to DP's, Not showing any content in SMSpackage share of DP machine

 

for this issue, I have searched in google and found that Microsoft HOTFIX available for CU1 SCCM 2012 SP1

 

Pls confirm whether that HOTFIX resolves the issue?

 

If Yes, where to install that HOTFIX i.e in DP machine or in SCCM Server?

If the hotfix wont help, help me with solution?

 

Kindly help me!! 

Creating a user logged on or off Global Condition

$
0
0

Does anyone have some ideas on how to go about creating a Global Condition for whether a user is logged in or not?  Not a particular user, but ANY user.  

I'm creating a single Application with two Deployment Types. Deployment Type 1 would be an unattended install and only run if the user is logged off.  Deployment Type 2 would be an attended install and only run if a user is logged on and be set to display a progress bar.  I am going to use the Requirements tab of each deployment type to determine if a user is logged on or off.

In SCCM 2007 this was easy with Packages, I could set it to run no matter if the user was logged on or off and just tick the box to allow user interaction.  Since I always use /passive for MSI, it was effective because it would run fine no matter if the user was logged on or off.  As I'm sure everyone knows, the "allow user interaction" box is now grayed out when choose to run "whether or not a user is logged in"

I wish Microsoft would change it back to the old way.


Get Collection Variable Outside of Task Sequence

$
0
0

Does anyone know if it's possible to get a collection variable outside of a task sequence? At our college we use Faronics Insight software in our labs and use a collection variable called LabId to set the channel for the lab. As a package this works great as you can just use the command line... msiexec.exe /i Teacher.msi /qn ADVANCED_OPTIONS=1 AD_SECURE_MODE=1 NO_KEYBOARD_MONITORING_MODE=1 CHANNEL=%LabId% /norestart. However with SCCM 2012 we've been directed to use Applications as much as possible instead of Packages. If I could pull the LabId collection variable I could easily create an application install for the software.

Any help would be appreciated.

How doe the SCCM client know not to delete an item in ccmcache?

$
0
0

We've installed Adobe Acrobat X to users machines and configured the Windows Installer Product Code in the program we use to deploy it. After the installation, the source files are found in C:\Windows\ccmcache\j3\.

Now, with our clients configured with a 5GB cache setting, how does the SCCM client know not to delete this source folder for Acrobat when it does it's housekeeping if the cache goes over 5GB?


Orange County District Attorney

Automatic removal of unnecessary components in MS Office

$
0
0
AutomaticallyinstallMS Word2012, the methodof detection -on a keyin the registry.After that, the user caninstall additional components, such as Excel2012 andSystem Centersays thatall okay.How to make thedetectionof additional componentsto run the programremoveeverything but theMS Word2012?

Package not running for every user when RDP

$
0
0

Hello,

Server: SCCM 2012 SP1-CU1

Client: Server 2012 with 2012 SP1-CU1 SCCM Client configured as Remote Desktop Gateway (Terminal Server)

Deployed a package / program to the server that runs a VBS with the following

- Only when a user is logged on

- Run with user's rights

- Run once for every user who logs on

Use the same on Win7 with no problem. On Server 2012 via RDP (MSTSC) the program does not run. If I logon to the server console it runs.

When the logon is via RDP there is no entry in execmgr.log (and therefore ccm32bitlauncher.log).

When the logon is via console I see the following

execmgr.log
<![LOG[Raising client SDK event for class CCM_Program, instance CCM_Program.PackageID="PR100061",ProgramID="Fix-Java-Security", actionType 1l, value , user NULL, session 4294967295l, level 0l, verbosity 30l]LOG]!><time="16:50:56.926-600" date="07-15-2013" component="execmgr" context="" type="1" thread="1004" file="event.cpp:396">

Ccm32BitLauncher.log
Commandline: "C:\Windows\System32\WScript.exe" "C:\Windows\ccmcache\7\Fix-Java-Security.vbs"

 Any ideas why the program does not run when the logon is via RDP ?

Thanks in advance

Michael

How to deploy a second .msi after immediately after initial Application install

$
0
0
I have an Application (App-A.msi) and another .msi that sets an Environment Variable (App-B.msi).  I want to deploy App-A.msi to install the main program, and then immediately run App-B.msi to modify the Env. Var.  And I want to do this in a single deployment.  What's the easiest way to accomplish this in the Applications section of SCCM 2012?

UDA: Single/Multiple Users with 50K Primary Devices - Supported or Not Supported?

$
0
0

We use auto-logon domain accounts for 2 types of retail store machines. We would like to deploy various applications with UDA requirements to those 2 users. The user logs on to 50k machines. UDA supports one user having many machines, but is 50k too much?

  • Policy assignment – guessing this would not be an issue since each deployment will likely target 1 user in these cases.
  • Application requirements evaluation – what call does the client make to the MP to determine if the user is a primary device user, and will the stored procedure handle a 1:50000 scenario from 50k systems?
  • Could this configuration impact other ‘normal’ UDA operations?
  • Would there be any ongoing impacts from default weekly App Deployment evaluation from a client settings perspective?
  • Will the console UI have the ability to present this relationship and offer ongoing management?

SCCM 2012 Create Application Failed with error.

$
0
0

With fresh install of the sccm 2012 server, I can create an application. Restart

the server and create another application, it fails ...error "Create application wizard completed with error".

Or if copy an existing application fails...error " You do not have permission to modify folder. Application has been copied to root folder."

Fix is to reinstall sccm 2012 server. What cause this problem, all system components are OK, green. Any advise what to check?s

Heres the error smsprov.log error"

error 14: SQL Error Message Failed to generate documents:A .NET Framework error occurred during execution of user-defined routine or aggregate "fnGenerateLanternDocumentsTable": ~~System.TypeInitializationException: The type initializer for 'System.Data.SqlClient.SqlConnection' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.Data.SqlClient.SqlConnectionFactory' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.Data.SqlClient.SqlPerformanceCounters' threw an exception. ---> System.MethodAccessException: Attempt by method 'System.Configuration.TypeUtil.CreateInstanceRestricted(System.Type, System.Type)' to access method 'System.Diagnostics.SwitchElementsCollection..ctor()' failed. ---> System.Security.SecurityException: Request failed.~~System.Security.SecurityException: ~~   at System.Security.CodeAccessSecurityEngine.ThrowSecurityException(RuntimeAssembly asm, PermissionSet granted, PermissionSet refused, RuntimeMethodHandleInternal rmh, SecurityAction action, Object demand, IPermission permThatFailed)~~   at System.Security.CodeAccessSecurityEngine.CheckSetHelper(PermissionSet grants, PermissionSet refused, PermissionSet demands, RuntimeMethodHandleInternal rmh, Object assemblyOrString, SecurityAction action, Boolean throwException)~~   at System.Security.PermissionListSet.CheckSetDemandWithModification(PermissionSet pset, PermissionSet& alteredDemandSet, RuntimeMethodHandleInternal rmh)~~   at System.Security.PermissionListSet.CheckSetDemand(PermissionSet pset, RuntimeMethodHandleInternal rmh)~~   at System.Security.PermissionListSet.DemandFlagsOrGrantSet(Int32 flags, PermissionSet grantSet)~~   at System.Security.CodeAccessSecuri~~ ...~~System.TypeInitializationException: ~~   at System.Data.SqlClient.SqlConnection..ctor()~~   at System.Data.SqlClient.SqlConnection..ctor(String connectionString)~~   at Microsoft.SystemsManagementServer.SQLCLR.Utilities.IsDesktopConfigurationItem(String ciAuthoringScopeId, String ciLogicalName, Int32 ciVersion)~~   at Microsoft.SystemsManage..., Digest:<AppMgmtDigest

AuthoringScopeId="ScopeId_B1681AAE-CF3F-4AD6-93DA-412F57339B46" LogicalName="DeploymentType_f592f03d-45c3-4b99-be87-6b3690e5cf64" Version="1"><p1:Title ResourceId="Res_1234887541">WinZip 14.5 - Windows Installer (*.msi file)</p1:Title><p1:DeploymentTechnology>GLOBAL/MSIDeploymentTechnology</p1:DeploymentTechnology><p1:Technology>MSI</p1:Technology><p1:Hosting>Native</p1:Hosting><p1:Installer Technology="MSI"><p1:ExecutionContext>System</p1:ExecutionContext><p1:Contents><p1:Content ContentId="Content_55ea0fe1-9dda-4597-bf8c-8eb2211ad6b9" Version="1"><p1:File Name="winzip145-my.msi" Size="9819648"/><p1:Location>\\sccm2\software$\IT

*~*~e:\qfe\nts\sms\siteserver\sdk_provider\smsprov\sspconfigurationitem.cpp(2152) : There is a failure while generating lantern documents for this configuration item~*~*"


Calling back Empty DP's list in Location services.log

$
0
0

 

Hi All

Client requested a package and that particular package exists in the concerned DP. Still Client is not able to contact DP

Throwing Empty DP's.. Pls help 

How to pull Software inventory report for all the users?

Maintenance windows

$
0
0

I would like to confirm my findings about MWs.

I run windows updates through SCCM 2012 and the computers are all in a device collection named Software Updates(OS).

That collection has a MW of 12am - 3am daily so my users machines will not reboot during the day once the deadline has passed.

I have another collection named Clients which is mad up of the same computers. This collection does not have a MW.

I created an application that I wanted to run asap on that collection. I checked off ignore MWs after the deadline. Set my program to run ASAP. It wouldnt run and when I looked in the software center it said it was waiting fo rthe next MW?

I found that if I disabled the MW on the windows update collection it ran no problem.

I then activated that MW again and also put one on my clients commection. Everything worked.

My question is do I need to put MW on all collections you use to send out apps ? I'm not sure why the ignore MW checkbox didn't work either.

Distribute packages to private laptops

$
0
0

In our organisation staff members (teachers) can install applications/packages with software center on devices that are known in our active directory.

Is it possible to make this possible for students who bring their own laptop (and are known users in our active directory) to install applications/packages as well?

Want to know how to deploy applications with Windows 7 deployment together using SCCM 2012.

$
0
0
How can no one post deploy multiple applications with Windows 7 deployment together using SCCM2012.
Viewing all 4762 articles
Browse latest View live


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