Quantcast
Channel: Ivanti User Community : All Content - Software Distribution
Viewing all 1056 articles
Browse latest View live

Package Bundles and reboots

$
0
0

Is anyone using package bundles? I am trying to deploy a bundle with 3 packages. The middle package needs to reboot before the final package is installed. I can't seem to make this work. Is anyone else doing (or attempting) this? Provisioning does not help me because this has to be a policy (in the swd portal).

 

-Tracy


Cancel a delayed reboot?

$
0
0

I've got the following scenario: i put a patch into autofix, it goes out to a machine, user gets a popup to reboot now or delay for 8 hours. they click delay for 8 hours and call me and say they're 18 hours through a 30 hour process and rebooting will force them to start back at hour 0. I'm wondering if it's possible to cancel the 8 hour reboot timer?

 

does landesk have its own timer and then sends a command to reboot once the timer expires? or does LANDesk send a windows shutdown command like "shutdown -r -t 28800" and "shutdown -a" will end that? or does a task get kicked off to do the reboot and i cant kill the task in process manager?

Receiving error "Sdclient.exe or the installation program was terminated at the client" when trying to deploy executable package

$
0
0

Running LANDesk Management Suite 9 with Service Pack 2. I'm attempting to install an executable package on a Windows 7 machine. When I try, the console shows a status of "Failed" and the error message "Sdclient.exe or the installation program was terminated at the client. Return code 1." I have never encountered this error before, and all of my other software packages have installed successfully in the past. To be sure, I also deployed a test package that ran successfully.

 

All LANDesk services are running under the local system account. The log file shows that all of the required files were downloaded to the client, and there are no indications of errors. Here is the last block of text from the log:

 

Fri, 20 Apr 2012 09:56:21 6316 6712 Downloading file 614 of 614 from 'http://betty.rf.odu.edu/packages/SageMIP/Support/Scripts/TECleanup/48253_XPsp3_11000_TE_Cleanup.sql'

Fri, 20 Apr 2012 09:56:22 6316 6712 LSWD or Executable Client Thread

Fri, 20 Apr 2012 09:56:22 6316 6712 PackagePath:           [http://betty.rf.odu.edu/packages/SageMIP/setup/Setup.exe]

Fri, 20 Apr 2012 09:56:22 6316 6712 Processing generic executable

Fri, 20 Apr 2012 09:56:22 6316 6712 Launched application 'C:\Program Files\LANDesk\LDClient\sdmcache\packages\SageMIP\setup\Setup.exe' ('/passiveui') result 1

Fri, 20 Apr 2012 09:56:22 6316 6712 Installation result 8DB50001

Fri, 20 Apr 2012 09:56:24 6316 6712 Sending task status, cmd line -coreandip=BETTY.RF.ODU.EDU:10.2.184.18 -taskid=82 -retcode=-1917517823 -complete -pkgid=20

Fri, 20 Apr 2012 09:56:25 6316 6712 processing of package is complete, result -1917517823 (0x8db50001 - code 1)

 

There are no errors in the event logs for the device, either. I'm stuck. Appreciate any insights!

Setting up Preferred Server; adding the LD agent:

$
0
0

  I have seen a number of questions on how to setup preferred servers and use OS Provisioning to deploy machines regionally rather than just locally. We use preferred servers configured for replication and PXE Rep across our remote footprint. At these locations we don't want the build device to come back to

the core server because it is connected to a T1 and the people at the site need the bandwidth for business purposes during the day.

 

This is what we do.

 

1) I have a script that configrues a Windows 7 (x32 or x64) or 2008 R2 server to become a preferred server and to use IIS to deliver patch, SD and other data to

requestors. This is ran on target devices that we plan to use as either a "Replication Anchor" and / or a PXE rep / OS Provisioning host.

 

2) Once the target server has been configured as a replicator we begin the process of replicating all of the files from the OSD, SoftwareDist and LDLogon\Patch

folders on the primary replicator.

 

3) Once replication has completed and the remote replicatin server is regularly updating we activate the IP address(es) that it will support as a preferred server.

It is now capable of delivering files to peers.

 

4) those servers that our remote tech staff uses is now configured as a PXE reprresentative. In fact those machines that are going to serve in this capacity are

configured, tested and sent out from our central location so that when they arrive at their destiation we have a reasonable expectation that they will indeed work

properly.

 

5) We load all of the IMAGE files (*.TBI) we use into the \OSD Share on the target PXE rep (LDPS)

 

6) We load all of the files and installs that are executed by the OS Provisioning process into folders in the \OSD share under \Support\<whatever>. The files here

(to include the WSAgent folder which has our provisioning and production agents in it) are sent as payloads to an install folder on the target build PC during the

early stages of the OS provisioning.

 

7) We run all of the applications locally from the device being deployed using Executable tasks in the OSP template(s). This is where you save time by not fooling

with SD transactions and downloading the agent over a slow line from the core server. The agents in the WSAgent folder are actually "Self-Contained Agent files"

they run there on the target machine. At the end of the process we will initiate an LDISCN32 and a number of Vulscans (by executing a prepared custom group built

and updated with all of the pathes that the given IMAGE file will require before it is delivered onsite.

 

8) Replication takes place nightly for all SD and Patch data and whenever we alter the build we replicate the OSD folder with all of its provisioning information.

In this way all build servers mimick the development server and ease te management of OS provisioning templates.

 

9) The HII drivers can also be deployed to the LDPS PXE rep and further minimize WAN traffic which also speeds up the OS provisioning process remotely

Installing Java on Windows 7

$
0
0

I have run across a problem installing Java 6 Update 22 on to Windows 7 via Software Distribution.  Our users are for the most part standard users and do not have admin rights on their machines.  When creating the distribution package in Landesk we user the Local System Account to install the software.  When deploying to machines the installation fails.  For some reason it seems the Local System Account is unable to extract the installation media to the following location.

 

C:\windows\system32\config\systemprofile\AppData\LocalLow\Sun\Java\jre1.6.0_22\

 

If i switch to Current user and log on with an administrative account it installs fine.

How to uninstall multiple versions of java at the same time, then install the latest version

$
0
0

In our environment there several hundred systems, all of which have multiple versions of Java (JRE) installed. Is there a way can go about uninstalling multiple versions of Java (JRE), then installing the latest version of Java (JRE) all in the same script. Please let me know if this is possible, or if you have any suggestions or scripts available.

 

Thanks so much

How to test the install of a script or a package under Local system (interactively)

$
0
0

Description

 

You need to test the install of a software package under Local system security context before deploying it with Landesk Software Distribution

 

Resolution

 

On Windows XP :

 

1) Get the local time (through the TIME shell command, for example)

2) Add one minute to this time

3) Run the AT command with this new time.

4) Wait one minute for the command window to appear.

 

...\Documents and Settings\Adi>time

The current time is: 16:29:00.96

Enter the new time:

 

...\Documents and Settings\Adi>at 16:30 /interactive cmd.exe

Added a new job with job ID = 1

 

a new cmd windows running under Local system will open at the scheduled time

 

On Windows Vista or Windows 7 :

 

1.Install the Ps tools from sysinternals :

 

http://technet.microsoft.com/en-us/sysinternals/bb896649.aspx

 

2.execute the following command from a elevated cmd :

 

psexec -i -s cmd.exe

 

(note: you should be in the folder were psexec is located or thid folder should be added to the PATH)

 

On Windows 7 and Windows 8 :

 

To run CMD by local SYSTEM account, you can use the following method:

 

1. Run CMD as administrator and then type in the followling command lines:

 

sc create testsvc binpath= "cmd /K start" type= own type= interact

sc start testsvc

 

2. You will get a popup window from "Interactive Services Detection". Click View the message. Then you will receive a cmd prompt running by SYSTEM.

 

Environment

 

Apply to all version of LDMS

 

Client OS : Windows XP, Windows Vista, Windows 7, Windows 8

Ability to sort the new "Package Bundles" by name?

$
0
0

Hi all,

     Just recently upgraded to 9.5SP1 and found the new "Bundles" in my Software Distribution tab. Anyone found a way to sorth the bundles by name?  it used to do this by default in 9.0 SP3 & SP4; but now it just seems to add the new items to the bottom of the list.

 

any ideas?

 

Thanks in advance

 

-- Jay


Running the same policy based task on the same device more than once

$
0
0

Hello.

 

I have a scenario in LANDesk 9.5 SP1 where I need to change the EPS configuration on a number of devices so they don't use the default configuration.

 

I have created the task via "Change settings" to do this which just runs "vulscan.exe /changebehaviors /EPSBehavior=MyBehavior". The task is using a policy based delivery method and I'm using a LD query to find the targets for the task where the query is assigned (dragged) to the task so it's dynamic.

 

The task runs fine the first time and changes the behavior as it should so the device is no longer in the query result.

 

My problem is that I might get in a situation where the task needs to run again on a device that has already run it - e.g. if the configuration was changed as a part of troubleshooting or the LD agent got reinstalled on the device which then would mean the device is using the default configuration again. When this happen, the device will once again be a part of the query result, but it will not run the task again because the device is already there with a successful result.

 

I thought that I could get around this by enabling "Deploy packages in this task even if they were previously deployed" on the task, but that doesn't seem to be the case. I've verified that the task does get "reloaded" by checking the SchedQry.exe.log file. Restarting the task via right-click -> Start now -> All will make the device run the task again, though.

 

Will the frequency of the policy (which is currently "Once") always overrule this or is restarting the task always needed in situations like this?

 

Thanks in advance.

Stuck Tasks - Task Queued - Ghost Tasks

$
0
0

We have machines that are perpetually trying to run an old policy based task. Problem is that the task doeesn't exist anymore in LANDesk. Is there somewhere else we can look for this task to remove it permanently?

 

Example Task 2146 shows up in the SDClient logs on a good amount of computers. If I go into Scheduled Tasks and look up that Task ID it doesn't show up.

 

SDCLIENT LOG

Thu, 09 Jan 2014 09:35:12 FlushClientTaskQueue: queue is empty

Thu, 09 Jan 2014 21:07:47 ExpandEnvironmentVariables Result: /s

Thu, 09 Jan 2014 21:07:47 Cannot start sdclient for task 5845, the task 2146 is being processed on the client

Thu, 09 Jan 2014 21:07:47 bind or column index out of range

Thu, 09 Jan 2014 21:07:47 Cannot start sdclient for task 5845, the task 2146 is being processed on the client

Thu, 09 Jan 2014 21:07:47 bind or column index out of range

 

task2146.png

Status: Waiting Result: Policy has been made available

$
0
0

We have recently built a brand new core server for LANDesk 9.5 SP1 and are attempting to create our first distribution package to install an updated version of our anti-virus client.

 

I've created the distribution package and all of that was fine.  I created a scheduled task based on the package and I'm using the 'policy supported push' method with 'standard policy-supported push distribution' as the sub policy.  When we run the task it becomes Active for about 10 seconds, and then goes into the status listed in the title of this discussion.  It's almost as if it is waiting for the client to do something.  Why is this?  I want to force the installation of the package, I do not want the client to have to do anything. 

 

We did not have this problem with our old LANDesk 9.0 core server.  I compared the delivery method policies on the two cores and they are identical.  On the old server the package would actually push when told to do so.  Why on the 9.5 SP1 core is it acting as if I'm applying a pull policy rather than a push policy?

Portal Manager - "completed"

$
0
0

Hi, a strange issue here... When I deploy a software using the "Portal Manager" i almost immediately get the "completed"-text, although the software is still being installed on the client. 5 minutes after the "completed" is shown, the software is installed!

Indeed troubling for the customer!

 

What is the problem here?? The software installed giving false info back to Portal Manager? A setting in the Portal Manager? A setting in the Agent??

 

Knut

Batch File Issue

$
0
0

Hail!

 

I have a simple bat file that contains just two lines:

 

MOVE "C:\WINDOWS\System32\i386\Applications\Microsoft Office" "C:\Microsoft Office"

"C:\Microsoft Office\Setup.exe" /config "C:\Microsoft Office\Standard.WW\config.xml"

 

As you can see - the install files already exist on the machine, but they're buried to where End Users won't find them nor have access.

Bat file simply moves the files to the root of C and then runs the silent install....I tested the batch file and it works as it's supposed to.

LANDesk is not executing the BAT file - it copies it down to "sdmcache - PKG- etc." but does not execute

 

It's for WIN 7 ( UAC if off)

LANDesk Mgmt Suite 9 SP3

 

Thanks!

Installing Java on Windows 7

$
0
0

I have run across a problem installing Java 6 Update 22 on to Windows 7 via Software Distribution.  Our users are for the most part standard users and do not have admin rights on their machines.  When creating the distribution package in Landesk we user the Local System Account to install the software.  When deploying to machines the installation fails.  For some reason it seems the Local System Account is unable to extract the installation media to the following location.

 

C:\windows\system32\config\systemprofile\AppData\LocalLow\Sun\Java\jre1.6.0_22\

 

If i switch to Current user and log on with an administrative account it installs fine.

How to uninstall multiple versions of java at the same time, then install the latest version

$
0
0

In our environment there several hundred systems, all of which have multiple versions of Java (JRE) installed. Is there a way can go about uninstalling multiple versions of Java (JRE), then installing the latest version of Java (JRE) all in the same script. Please let me know if this is possible, or if you have any suggestions or scripts available.

 

Thanks so much


Can't delete a powershell scheduled task

$
0
0

I have two scheduled tasks that were off of the same PowerShell distribution package. A co-worked created them (we are both LANDesk admins) and wanted me to look at it - somehow when I refreshed it into my distribution package view the primary file didn't get associated with it so I couldn't add any targets to the scheduled task. When I went to delete either of them I was told that there wasn't a primary file associated with the package. So I went back to the distribution package and selected the ps1 file to run. Didn't change anything so I created a new scheduled task and was able to run the powershell script but I am still unable to delete these two scheduled tasks.

 

I closed out of LanDesk and opened it back up and now I cannot right click on the objects at all and the Delete X in the pane is greyed out. I am able to delete all of my tasks but these two. Same issue if I try from all tasks.

 

Anyone run into this?

TaskQueue popup (not DOC-21980)

$
0
0

I have several computers on different LANDesk core servers running in to the same annoying problem:

After login, two TaskQueue popups appear.

 

At first I thought this was related to the article DOC-21980.

However, the popups were not returning after 30 seconds and the "Allow service to interact with desktop" is already disabled.

 

Digging deeper I found that the computers in questions had a registry key under Run which will start sdclient.exe with /E and /RunAtLogin

Running the same command from cmd.exe will make the same TaskQueue popups appear so it's very easy to reproduce.

On computers without this registry key, popups do not appear if I add the regkey or run the command manually.

Local scheduler does not contain any software distribution related tasks on either computers.

 

This leaves me to assume that there might be broken records in the local ldclientdb.db3 causing the problem.

 

I've attached a screen shot showing the two popups, the registry key and the parameters with which TaskQueue is started.

 

Does anyone have a clear understanding on when the "sdclient" registry key under Run is created and how the sdclient.exe /RunAtLogin works.

Will sdclient.exe /RunAtLogin indeed read the local database for jobs and if so, is there any other way to delete the jobs beside recreating it?

Create Software Distribution task grayed out

$
0
0

On LANDesk 9.5 SP1, users are unable to right-click under Scheduled Tasks > My tasks and click "Create Software Distribution task.."

 

The options are all grayed out.  If they click directly on a Distribution package and click "Create scheduled task" It will work fine.

 

Is there another role or did this behavior change in LANDesk 9.5 SP1?  LANDesk Administrators can still do this but not other roles in LANDesk.

 

The users in question have all the rights to Software distribution in their Role.

Software Deployments using security groups

$
0
0

Hi Everyone. Im new to LANDesk, most of my background is with SCCM so forgive me if im asking some obvious questions.

 

Basically i plan to deploy most of my software using security groups, This is because its easier for the Service Desk staff to then deploy software to a bulk of users and also If a users PC is rebuilt, (once the user logs in) the software will be redeployed.

 

The question i have regarding this topic is how to manage the deployments for hot desk machines. The security groups are done by user and not by machine (for ease of management), If Jo Bloggs logs on application x will install, If Jim Bloggs logs onto that machine after, will the software again try and install? I believe that maybe there needs to be a rule, "if this file doesnt exist dont run" I dont want to have to create bat files for every install (to add additional files) as we have a mixture of bat, exe and MSI install files. Maybe if there was a way of saying "if the jobs successful put X key in the registry.

 

I hope you understand what im getting at here. Opinions and suggestions appreciated!

MSI using Transform file LANDesk 9.5 help needed

$
0
0

Package help needed

 

I have created a MSI package that uses a Transform file, but The package is not working.

The transform file is not being read...

 

Please see below examples of package (we are using a web share)

 

Software Install.JPG

 

and here are the install options used

 

Install options.JPG

 

The software copies to the client machine OK and starts to run but say that teh serial number is incorrect, it not reading the transform file

We have also tried (/T admin.mst) with teh same issue

 

The software installed via a batch file using the tramsform file works of outside of LANDesk. format below

 

MSIEXEC.EXE /i "\(Software Path)\Nuance PDF Converter 8\package\Nuance PDF Converter Enterprise 8.msi" ALLUSERS=1 TRANSFORMS="(Software Path)\admin.mst" /qb

 

Any help would be appreaciated

 

Steve

Viewing all 1056 articles
Browse latest View live


Latest Images

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