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

Trying to Deploy either a .cmd or .bat file to update a registry Entry but not working

$
0
0

Hello.

I'm trying to deploy either a .cmd or .bat file to a few computers to update the registry and When I run the .cmd or .bat on the pc manually it works just fine. However when I create an application and try to deploy to the computers I keep getting the error"The application was not detected after installation completed."

When I login to that computer I can tell that the file has not been run as none of the reg settings are changed

In the application properties I have tried cmd.exe "RegUpdate.cmd" and regedit /s "RegUpdate.cmd" and same result. Any ideas?


someone help me to deploy software's (package/application) for internet connected machines

$
0
0

 someone help me to deploy software's (package/application) for internet connected machines instead of intranet how to step infra to manage internet based client machines


sccmghost@hotmail.com

Supersedence & notifications - can someone explain?

$
0
0

Say I have an application labeled A & B.

I want to supersede A with B, and notify users that there is an update and for them to go into Software Center and upgrade.

1. What option provides the notification option? Is it after adding the supersede, that SCCM knows automatically?

2. Do I retire application A now that it is being superseded?

3. Do superseded applications still need to belong in the catalog for the supersede to work?
3a. for example now I have application A, B, and C. A is superseded by B, and now B is superseded by C. Should I be keeping A around so that people can jump to C?

Best Practice - Updating AppV package

$
0
0

I have an App-V package which I have updated.  So it has the same App-V GUID as the previous version, but a new revision number.

To deploy this should I create a new app using the new App-V package and supersede my old one or just use update content on the existing Application?

Thanks

Application Deployment Type Requirements being evaluated during task sequence

$
0
0
We have applications that have different deployment types that have requirements based on Active Directory Site. For instance, if you are in AD Site 123 use this deployment type. If you are in AD Site 456, use this deployment type, etc. The DT's with their associated Requirements rules work fine when deployed to existing SCCM clients, however, during a task sequence the DT's and requirements don't seem to be evaluated. Is this by design or am I doing something wrong?

Change Cache Size During Application Deployment

$
0
0

We have several VERY large applications we need to deploy. Our largest is SAS and the install media is 30 GB and it needs to be on about 800 machines. In 2007 this was simple. We used the change cache size vbscript that's floating around created a package set it as a dependency to the SAS package and everything would download and install with no problem. We're trying to make all software installs applications. Setting up SAS as an application isn't the problem. How to use the change cache size script in the application model is the problem.

1) Initial cache size 10 GB

2) SAS application has two deployment types 1. SAS install 2. cache change. The cache change is a dependency of the SAS deployment

Since the SAS install has a priority of 1 and no requirements everyone runs that deployment type. SCCM checks dependencies sees the change cache size and runs that.

The problem is SCCM downloads both deployments BEFORE either will run. You can see where this is going. The cache change size script never runs because SCCM cannot download the SAS installs so the deployment fails.

Limitations:

1) We have a startup script that runs that sets the cache size to 10 GB. This cannot be changed since there are legacy programs that depend on this

2) We do not want the cache size on machines to permanently to be 30 GB

3) Not using SCCM to deploy these large applications is not an option

4) We want to avoid making this a legacy program if at all possible

5) We want to avoid making a new application to change the cache size for every piece of software we want to deploy

Our current thought on detection rules for the cache size change is this. It runs a script that queries WMI to check the current cache size and checks to see if the application is installed. If either of those come back as true then change cache size deployment is considered installed. We do this so the cache size change script doesn't run over and over. If the cache is at the needed size great the software can install or if the software is already installed there's not reason to increase the cache.

Any ideas?

Distribution

$
0
0

I am new to SCCM 2012 and having trouble replicating an application to three secondary sites which are located overseas. Sometimes it works and sometimes it does not. It seems to be random. I have checked the distmgr log and there is nothing obvious as far as an error. The only thing I have noticed is the following which seems to be repeated over and over. <o:p></o:p>

Used 0 out
of 3 allowed processing threads. SMS_DISTRIBUTION_MANAGER 2/9/2014
8:04:38 PM 3156 (0x0C54)

Sleep 3600 seconds... SMS_DISTRIBUTION_MANAGER 2/9/2014 8:04:38
PM 3156 (0x0C54)

Used 0 out of 3 allowed processing
threads. SMS_DISTRIBUTION_MANAGER 2/9/2014 8:04:43 PM 3156
(0x0C54)

Sleep 3600 seconds... SMS_DISTRIBUTION_MANAGER 2/9/2014 8:04:43
PM 3156 (0x0C54)

Used 0 out of 3 allowed processing threads. SMS_DISTRIBUTION_MANAGER 2/9/2014
8:04:48 PM 3156 (0x0C54)

Sleep 3600 seconds... SMS_DISTRIBUTION_MANAGER 2/9/2014 8:04:48
PM 3156 (0x0C54)

Sleep 30 minutes... SMS_DISTRIBUTION_MANAGER 2/9/2014 8:34:43
PM 3836 (0x0EFC)

Sleeping for 60 minutes before content cleanup task
starts. SMS_DISTRIBUTION_MANAGER 2/9/2014 8:43:57 PM 3832 <o:p></o:p>



Distributing to a single server

$
0
0

Hello,

I have a link to a server that is 100mb, I think my issue transferring packages to it is because of the link speed. I wonder if there is an internal timeout on the transfer. Which leads to my problem. I have all my servers in 1 distribution group, so I add the group, the content starts transferring. I got 3/4ths of my packages copied but the other 1/4th failed and I need to resend the content. Can I re-send the package to just one server or do I need to redistribute to all?

This is using SCCM 2012 SP1.

Thanks


How to get the latest package created

$
0
0

Hi, I'm trying to create a report that would show me some key info about packages (we're not using apps right now).I have most of the data I need, but I can't seem to find any info about which packages were created in the last x day.There doesn't seem to be any entries related to package creation date.

The other data would be the deployment stats for each packages, this is to know if some packages aren't used and can be safely removed.

Anyone know if that info exists, and if yes where I could find it?

Thks in advance.


joeblow

Modified timestamp modified by SCCM

$
0
0

I've created a deployment of an application then deployed it to a test machine. The test deployment ran flawlessly so then we deployed it to a production computer. This second deployment resulted in a message saying the application could not be detected following installation. The application did seem to be installed and working fine. So then I tried deploying to a second test machine. This second test also worked flawlessly.

My detection rule in the software application was for the Last Modified date and time of the Application executable.  On the failed machine I found that the last modified time had been 'modified'.   

Any ideas why SCCM would change the timestamp and or how to prevent it?

All and any comments or suggestions greatly appreciated.

WD

Deploying an application via .cmd and/or .bat

$
0
0

I need some assistance in deploying an application via a .cmd file.

We have an application that we install manually via .cmd. There are 3 different batch files depending on the OS. What I am trying to do is create one application with 3 different deployment types. I understand and have already created the different deployment types based on OS. The problem I am having is with the syntax for installing the application.

I've copied the entire directory containing the 3 .cmd files and all of the install files to the primary server. The first line of the .cmd's has something like this:

CD \NBU_7.5\PC_Clnt\x64

Each of the 3 batch files has a different CD line, but they are all in the present working directory (where the batch file lives).

In my earlier attempts (under deployment type > select one > edit > programs > installation program) I just pointed it to the .cmd file. aka, Installation Program: "D:\<folder>\<folder>\script.cmd"

This magically worked for one computer. I have no idea how or why - but it failed for the rest. I have also tried just putting "script.cmd" in the Installation Program then putting the rest of the location under the 'Content' tab (does this accomplish the same thing?)

The latest rabbit hole I am running down has to do with the working directory. Some searching on TechNet suggested that I needed to use %~dp0 to help the batch file find the contents it is looking for. I have tried changing it to run "%~dp0script.cmd" and I have also tried adding %~dp0 to the CD portion of the batch file.

I seem to always get this error (or some version of it). The software change returned error code 0x800705B4(-2147023436).

 

I hope everything I have provided makes sense... I feel like this should be much easier than I am making it.

2 deployment types with requirement on process running or not

$
0
0
Hi,

Scenario:

- 1 application with 2 deployemnt types SCCM 2012.

- I need to get one deployment type working in TS.

- One deployement type that needs to interact with user and runs only when user is logged on since theres a popup in the installation

- Second deployment type that is run whether or not a user is logged on (this I want to run when explorer.exe is not running)

I´ve created a global condition thats called "Check if process is running" and using WQL and Win32_Process on Name and return is string.

Deployment type 1: Requirement : explorer.exe not equal [empty string]

Deployment type 2: Requirement : explorer.exe equal [empty string]

The deployment types works fine when having just 1 deployment type with the process check. But when having 2 it seems that the WQL value overwrites the other deployment types query so that both deployment types finish as "does not meet requirement".

Is this a bug in the code behind programming or is there a better way to do this?

Thanks in advance.

Still finding "high" vulnerabilities when fully patched

$
0
0

Hello everyone,

      We use Tenable Security's Nessus product to identify vulnerabilities on our servers.  After patching fully, I still see several vulnerabilities.  I have discovered that 90%+ are because of third party applications that we aren't currently patching (we will be in the next month or so), but there are some that are Microsoft patches that aren't synchronizing with SCCM and I need help understanding why.  So in short, I'm worried about the 10%.

2 examples;

MS12-043; Vulnerability in Microsoft XML Core Services could allow remote code execution
MS11-025; Vulnerability in Microsoft Foundation Class (MFC) Library could allow remote code execution

I have SCCM configured to download the following classifications: Critical Updates, Security Updates, Update Rollups, and Service Packs.  I have it configured to not download; Definition Updates, Feature Packs, Tools, Updates.

I have several Microsoft applications chosen for updates to be downloaded for, but I do not see .NET Framework even in the available list (.NET Framework is one of the things that I need to update per Nessus).

Any suggestions?

Thanks

Supersedence and Dependencies

$
0
0

Situation:

App2 has a dependency of App1A.

App1A needs to be superseded by App1B, with the uninstall option checked.

I changed the dependency of App2 by making it an "or" statement and added App1B, so now App1A OR App1B is required for App2.

App1A and App2 are both already installed on a client. When I create a deployment for App1B I am getting a rule conflict error stating that App2 requires App1A.

Why isn't SCCM determining that App1B meets the dependency requirement of App2 and it can go ahead an uninstall App1A and install App1B?

Application installation not started via application catalog

$
0
0

Hi all,

I'm struggling to deploy virtual application via ‘Application Catalog’ in lab environment, it fails with error ‘Application installation not started, There was a problem starting the application installation on your computer’ ,  not sure for reason of failure but I can see some errors inConfigMgrSoftwareCatalog.log... logs as below..

--------

[1][01/28/2013 18:09:23] :RTMWindowsClient.EvaluateScriptAndLog:Script function 'PollCDRSDKMethod' returned '1,16'
[1][01/28/2013 18:09:23] :ApplicationDetailViewModel.PollCDRSDKMethod:Polling method returned 1,16
[1][01/28/2013 18:09:23] :ApplicationDetailViewModel.InstallAppProgression-Error:The call to poll CDR SDK method failed with status of 16
[1][01/28/2013 18:09:23] :ApplicationDetailViewModel.UpdatePageView:PageViewMode changed to:FastInstallError
[1][01/28/2013 18:09:24] :FastInstallPageView:Create Page View FastInstallError
[1][01/28/2013 18:14:44] :PortalContext.NotifyShortcutReceived:Keyboard shortcut Shift
[1][01/28/2013 18:14:44] :PortalContext.HandleEventOnDemand:begin handling ShortcutReceived

---------

Please advise




SCCM 2012 Distribution Communication issues

$
0
0

I need help to see as to why all of the sudden I have lost communication to all my DP, I can not copy any content to the DPs except one...sorry I have omitted all the names of the DPs.



Error on all

Application Deployment from Remote Share

$
0
0

I have a particularly large application I need to deploy and the source changes reasonably frequently so I don't want to add it to normal distribution points within SCCM. By that, I mean I don't want the entire 6GB to be copied up to the SCCM server, I want it to stay put where it is, and the installer run from the share that it is currently on. Is there any way to achieve that?

And also, is there a way to stop the application downloading to the clients, again just installing from the share. So the app source doesn't get copied to the server or client at all?

Help deploying a package with an application. Is it possible?

$
0
0

Hi all,

I wanted to find out how to deploy a batch file that was created to delete previous versions of Java.  After researching thru TechNet, I was able to successfully implement the batch file by creating a package, but here is where I'm stuck.  Being that we've just recently setup the SCCM infrastructure, there are many previous versions of java on client machines.  I feel like it would be almost a waste to find each old version of java and then supersede each version by it's successor in SCCM.  It would work, but it would take entirely too long.  The script does it's job perfectly, however, I have also deployed an application with the most current java update.  Now, what I need to happen is have the package, to uninstall all previous java versions, run before the application to install the most current version of java.  I've been researching and have found ideas, but not been successful with the implementations.  Any suggestions or advice?

Thank you!

Supercedence

$
0
0

If an application is superseded, will it automatically upgrade all old versions?

Collection1 has App1 deployed to it.

App1 superseded by App2.

Will Collection1 be upgraded with App2 even though App2 is not actively deployed to the collection1?

Use Global Conditions when Deploying an Application to a User

$
0
0

Hi,

Use Global Conditions when Deploying an Application to a User:

I would like to deploy App-V Application with User centic in mind. The problem is that when the user login to a specefic typ of desktop the application shall be deployed. But if the use login on there primary device or some other device with same SLA the Application shall not be deployed.

I think I can use Global Conditions to solve this. I have read about GC and it looks like I could greate a GC rule that deploy the software if the computer is in an AD-group or maybe becas all this computer starts with same prefix, sp maybe if the computernamn starts with PC the application will get deployed.

The issue is that there is differant SLA on the computers that the User login to. 

Or what mor can I do?


/SaiTech

Viewing all 4762 articles
Browse latest View live


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