How can add a script after software installed in a distribution package?
File transfer
We are currently creating a task to copy Office 365 to multiple locations, the package size is very large. Once the files are transferred to one system at that location successfully, the next time the task is run on a system at that location will it pull from that system or pull the files from the server again. If not is there a setting that would make that possible? Hopefully that's not too vague, any ideas or suggestions appreciated.
-2147483648% showing for download status in Portal Manager
Has anyone else seen this? When our users are installing packages via the Portal Manager, it shows -2147483648% in the status bar, and does not update until the download is finished and the package begins to install. Normally, this isn't a big deal, but the download for the Windows 10 upgrade is a big one, and some of our users are cancelling/shutting down before it finishes because they think it is stuck. I am currently on LDMS 2016.3, and don't remember this ever being an issue before we upgraded about a year ago.
Triggering an action when a package is available in the portal manager?
Hi all,
I was wondering what's the best (ie. clean & simple) way to trigger an action when a package is available on a computer, in the portal manager?
I would like to send an email to the user, documenting the whole process, but I don't want it sent before the package appears in the portal manager.
Is there any client-side check I could use, apart from the presence of the .xml file in the %AppData%\Local\LANDesk\Policies folder? Something server-side?
Or maybe another workflow/agent settings/distribution method? I'm using LDMS 2016.3.
The script itself is not a problem, I'm just searching for a reliable flag to use.
Thanks!
return code 1641 but don't want to restart
Hi,
I'm trying to deploy Office 2016 Standard / Pro but I do not want the PC to reboot during the deployment because everyone is using their PC and I would like to do a silent install. I was in the agent settings to block the reboot but in my tests the PC reboot anyway without warning the user..
The package is deployed successfully, but I have this error code 1641 and the reboot of the PC
Any idea to solve this problem?
Push app to a pre-defined machine set
Is there any way to do this on Landesk version 10.1.10 (2017?):
I create a task on Landesk server, then push applications to a pre-defined machine set in the task. if a new OS installed workstation meets condition like it's a windows 10 workstation, after the landesk agent is installed, it will be added to the pre-defined machine set automatically and Landesk will push all of apps to this machine.
If it can be achieved, please tell me how, thank you.
How large files can copy form server to some clients?
I`m trying to copy files(almost 9GB) using windows action or batch files, but failed.
The batch files:
@ECHO ON
::Copies files to dekstop of current user *For Windows 7
md e:\vmmachine
xcopy "\\path\file" "e:\vmmachine" /O /X /E /H /K
exit
The error message as below:
Mon, 02 Oct 2017 20:15:36 Sending task status, cmd line -coreandip=LandeskCoreServer -taskid=687 -retcode=229392258 -pkgid=176
Mon, 02 Oct 2017 20:15:36 ExpandEnvironmentVariables Result:
Mon, 02 Oct 2017 20:15:36 Batch file Client Thread
Mon, 02 Oct 2017 20:15:36 PackagePath: [http://LandeskCoreServer/Scripts/Windows/CopyFilesforJames.bat]
Mon, 02 Oct 2017 20:17:40
Mon, 02 Oct 2017 20:17:40 Bat file output :
C:\Program Files (x86)\LANDesk\LDClient\sdmcache\Scripts\Windows>call "CopyFilesforJames.bat"
C:\Program Files (x86)\LANDesk\LDClient\sdmcache\Scripts\Windows>md D:\vmmachine
C:\Program Files (x86)\LANDesk\LDClient\sdmcache\Scripts\Windows>xcopy "\\path\file" /O /X /E /H /K
0 File(s) copied
C:\Program Files (x86)\LANDesk\LDClient\sdmcache\Scripts\Windows>exit
Mon, 02 Oct 2017 20:17:40 Installation result 8DAC4002
Mon, 02 Oct 2017 20:17:40 RunPackageInstall: stop on returncode=8dac4002 of package=CopyFilesForJames
Mon, 02 Oct 2017 20:17:40 processing of package is complete, result -1918091262 (0x8dac4002 - code 16386)
My questions are :
1 Is there any wrong in my batch file?
2 How large files we can copy to the client computer?
3 How to set the batch file return code?
Task fails to execute on server with error 'No user has logged onto the system, failed operation'
I have had this problem for several months now. It only affects a few systems specifically Windows Server 2008 R2 and Windows Server 2012 R2. Not all the servers act the same. About half the servers have no problem running what ever task I push to it. Then there are the same servers every time I push a task to it fails. It fails with 'No user has logged onto the system, failed operation'. When I RDP to the server and rerun the task it will succeed no problem.
The tasks I run very from batch scripts to powershell scripts to executable to msi Distribution tasks. I have looked through the PolicySync.log and PolicySync.exe.log with no errors showing from what I can tell. All systems have the same agents installed(Workstations and servers alike). I don't have this problem with the Windows 7 boxes.
Has anyone had this problem?
code 17006
When trying to install a Install_MS_Office2016_Visio_Pro_C2R_X86_DK_WinAll package on identical Lenovo laptops i get tis error on 2 out of 4 mashines..
Fri, 03 Nov 2017 13:56:03 ******* sdclient starting to process task *******
Fri, 03 Nov 2017 13:56:03 Task id to process: 1270
Fri, 03 Nov 2017 13:56:03 Command line: /policyfile="C:\ProgramData\LANDesk\Policies\CP.1270.RunNow._eoSDr5VpdpvኚdJGmCEqrTxCT0=.xml"
Fri, 03 Nov 2017 13:56:03 The nostatus flag has NOT been set.
Fri, 03 Nov 2017 13:56:03 Core name 'SPSVIVA-APP101' obtained from the registry
Fri, 03 Nov 2017 13:56:03 Sending task status, cmd line -coreandip=SPSVIVA-APP101 -taskid=1270 -retcode=229392442 "-ldap=CN=ABJ Andreas Bo Jensen,OU=Windows 10,OU=SPBrugere,DC=sampension,DC=net" -pkgid=368
Fri, 03 Nov 2017 13:56:04 The nostatus flag has NOT been set.
Fri, 03 Nov 2017 13:56:04 Core name 'SPSVIVA-APP101' obtained from the registry
Fri, 03 Nov 2017 13:56:04 Sending task status, cmd line -coreandip=SPSVIVA-APP101 -taskid=1270 -retcode=229392444 "-ldap=CN=ABJ Andreas Bo Jensen,OU=Windows 10,OU=SPBrugere,DC=sampension,DC=net" -pkgid=368
Fri, 03 Nov 2017 13:56:05 About to call DownloadFiles (19 files) with these settings:
Fri, 03 Nov 2017 13:56:05 m_allowedBandwidthWAN: 50
Fri, 03 Nov 2017 13:56:05 m_allowedBandwidthLAN: 75
Fri, 03 Nov 2017 13:56:05 m_discardPeriodSeconds: 604800
Fri, 03 Nov 2017 13:56:05 m_preserveDirectoryStructure: 1
Fri, 03 Nov 2017 13:56:05 m_bUseWanBWForPush: 0
Fri, 03 Nov 2017 13:56:05 m_bSynchronize: 0
Fri, 03 Nov 2017 13:56:05 Allowed download methods(m_downloadControl):
Fri, 03 Nov 2017 13:56:05 Source
Fri, 03 Nov 2017 13:56:05 m_preferredServerControl: AttemptPreferredServer
Fri, 03 Nov 2017 13:56:07 The nostatus flag has NOT been set.
Fri, 03 Nov 2017 13:56:07 Core name 'SPSVIVA-APP101' obtained from the registry
Fri, 03 Nov 2017 13:56:07 Sending task status, cmd line -coreandip=SPSVIVA-APP101 -taskid=1270 -retcode=229392444 "-message=100%" -pkgid=368
Fri, 03 Nov 2017 13:56:07 The nostatus flag has NOT been set.
Fri, 03 Nov 2017 13:56:07 Core name 'SPSVIVA-APP101' obtained from the registry
Fri, 03 Nov 2017 13:56:07 Sending task status, cmd line -coreandip=SPSVIVA-APP101 -taskid=1270 -retcode=229392258 "-ldap=CN=ABJ Andreas Bo Jensen,OU=Windows 10,OU=SPBrugere,DC=sampension,DC=net" -pkgid=368
Fri, 03 Nov 2017 13:56:09 ExpandEnvironmentVariables Result: /configure install-VisioPro.xml
Fri, 03 Nov 2017 13:56:09 LSWD or Executable Client Thread
Fri, 03 Nov 2017 13:56:09 PackagePath: [http://spsviva-app101/Softwarepackages/Microsoft Office 2016 Click 2 Run x86/setup.exe]
Fri, 03 Nov 2017 13:56:09 Processing generic executable
Fri, 03 Nov 2017 13:56:28 Launched application 'C:\Program Files (x86)\LANDesk\LDClient\sdmcache\Softwarepackages\Microsoft Office 2016 Click 2 Run x86\setup.exe' ('/configure install-VisioPro.xml') result 17006
Fri, 03 Nov 2017 13:56:28 Installation result 8DB5426E
Fri, 03 Nov 2017 13:56:28 CPolicyHistory::LoadHistoryDaysToKeep: No task history maintenance to perform, registry settings for task history maintenance mode is '-1'
Fri, 03 Nov 2017 13:56:28 RunPackageInstall: stop on returncode=8db5426e of package=Install_MS_Office2016_Visio_Pro_C2R_X86_DK_WinAll
Fri, 03 Nov 2017 13:56:28 processing of package is complete, result -1917500818 (0x8db5426e - code 17006)
Error 1619 on 64 bit systems
I have been trying to create a distribution package for Aurora Keyscan v1.0.15. I did a package bundle with a package for the exe, a package for a vbs script that copies the installer to the downloads folder, and a Windows Action package that copies an XML file to a location in ProgramData. When I run the package on a 32 bit OS, it installs perfectly from the Portal Manager. However, when I try to run the same Package on a 64 bit OS, I get "Unknown Status Code 0x653,0:1619" Return code 1619. According to the software vendor, it should be compatible on 32 or 64 bit operating systems. At the same time, if I use run as and provide an administrator user name and password under accounts in the package settings, I do not get the 1619 error, but the package does not install either. All I get is a running setup.exe in task manager but no installation actually occurs. Anyone have any insights as to why this is happening?
Is there any reason not to use LocalSystem account for a distribution package?
Hello, currently we are using LD 9.6 SP3 and I have a distribution package that uses "Run as a specified user". When I schedule and run the package it touches the PC and reflects the "Software Distribution" pop up bubble for about 5 seconds, then goes away and reports completed even though it didn't. I suspect there is a permission issue. But I did check the user account and it has domain admin privileges. Another thing, I rebuilt the package with the "LocalSystem account" option and the subsequent package installed perfectly. That is the reason for the subject line. Is there a security issue using the LocalSystem account? Could it cause problems? I still want to figure out the issue with "Run as a specified user" option failing but frankly I am under the gun (doesn't that always seem to be the case) to get this done quickly. That being said I want to make sure I do it right. Any help would be appreciated.
Thanks!
Unable to deploy software when selecting "Run as a specified user"
Hi all,
We have a problem with our LANDESK set up which we have ignored because we have never needed it and everything else seems to work okay but now we actually need to use it I need to find a solution.
We have software we need to deploy but it has to be installed with a specific user account - It will not install with Local System or Current User. Reasoning why is convoluted so I won't go into that.
Problem is, If I try to deploy the software with a specified user, it always fails.
I have done some tests and it is not just this software. It is anything. Any distribution package I make where I chose to specify a user account to run it, fails.
I have tried many different accounts which I know to be correct and to have administrator rights on the target device.
The software physically makes it to the target device(s) - I can see it in the sdmcache folder, so there is no problem there. It is when it tries to run the package - whether it be an exe, msi or batch. It doesn't matter.
The scheduled task fails - Batch Files give the return code 16386, executable give Return code 16450
Regardless, the logs give the following error;
Batch
Exe
From what I can see, there is a problem with our certificates. The schedule task is failing because it cannot unencrypt the password I have given on the client device??? That is what I am assuming. I have no idea how to go about resolving it though.
Has anyone had a similar issue. I am going to log with the Ivanti support but wanted to share with you all too in case any of you had any ideas.
Task to modify registry entry
I've created a task to modify a registry entry via batch file but it will not modify the registry when ran with a task. Below is my batch file contents and then reg file that I want to merge or edit. If I run the batch file locally it will work, just not via task or windows action. Tried running it with localsystem account and run as specified user. Both with same results. Any recommendations?
Batch file -
regedit /s Skype_Disable.reg
reg file -
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\ClickToRun\REGISTRY\MACHINE\Software\Microsoft\Office\Outlook\Addins\UCAddin.LyncAddin.1]
"LoadBehavior"=dword:00000001
In scheduled task, unable to modify Portal Settings grayed out
I'm creating basic tasks to put a URL link on user's desktops.
Everything seems to work fine, but I am having issues with modifying Portal Settings in Schedule Task.
The settings are grayed out.
Any ideas?
Thanks,
Linda
Script package failure
HI all, I am trying to push a script package (windows script Host) but it keeps failing. I receive the return code 1921 which says in the result: "Unknown status code (0x781 ,0:1921). This script worked just fine with Landesk 9.6, but we are currently running version 10.1.10 console. Any help is greatly appreciated.
unable to deploy packages on unix with normal users
Hi
am using Ivanti ans core server running with 10.1.30.401 and 2017 Update 3.
core serer running on windows 2012 R2.
When i use root accounts everything works fine and includes deploying agent and pushing packages to the clients.
I have added root credentials in ( alternate credentials).
my plan to not use root credentials because of root password is not same in all same servers as its will change frequently as of now for test servers am using root account and its working fine.
when i am adding my account in alternate credentials then i am facing issues and when i deploy task i will see status as " policy has been made available" will not go further.
is any also facing same issue? please let me know if any different way i can push packages to the servers.
Upgrading Adobe Flash
Hello,
We have a lot of machines that have old versions of adobe on them. We crafted a distribution package(s) to uninstall the old and install the new. The problem we are having is that it doesn't work on all machines. There also doesn't seem to be any commonality between the machines that worked and the ones that don't. I am fairly new to LANDesk so I am not familiar about its diagnostic abilities in regards to task failure. Any suggestions would be great.
Thanks,
Matt
Can I effectively use a Policy task type in a Rollout Project?
I want to slowly, like not via a Push or Policy supported push, distribute software to 4 groups of devices. If I pick Policy though, it schedules the 4 tasks immediately and devices in each task check in and get the task. Is this not possible??
Change Agent Settings Failure: Unable to get or apply agent settings, Return Code: 432
I've seen this occur sporadically in our environment as of late. However, while attempting to change an agent setting on about 1400 machines nearly 90% percent returned the following error. The others are just offline.
The setting is a power management setting. Our previous setting was no longer being deployed. Received the "Unable to get or apply agent settings, Return Code: 432" error on a sampling of machines. Recreated the agent setting. Tested deploying to 1,474 machines. 1,270 machines returned the above (with the log file below). The remaining machines are pending or active.
I tried the "run vulscan /showui /reset on a problematic client. This will clear all existing agent behavior xml files." step from
on a few machines with no change in results.
Any help would be appreciated.
We're running Management Suite 2016.3.5
Verifying device ID with core HO-LDCORE.corp.Alfacompanies.com
Contacting server...
Done
Checking for updated settings
Contacting server...
File not found on core
New updates are available.
Downloading file from source http://HO-LDCORE.corp.Alfacompanies.com:443/ldlogon/AgentBehaviors/pwmbehavior_HO-LDCORE_v15909.xml.
Downloading file from source http://HO-LDCORE.corp.Alfacompanies.com:443/ldlogon/AgentBehaviors/pwmbehavior_HO-LDCORE_v15909.xml.
http://HO-LDCORE.corp.Alfacompanies.com:443/ldlogon/AgentBehaviors/pwmbehavior_HO-LDCORE_v15909.xml
Done
Changing settings
Parsing trusted file list information
Done
Checking for updated trusted file lists
Contacting server...
Done
Building trusted file list for default location
Up to date
Applying 'Distribution and Patch' settings
Done
Applying additional settings
Downloading trusted certificates
Contacting server...
Done
Applying other security settings
Done
Failed
Sending current settings information to core
Contacting server...
Done
Sending status to core
Add Application to Portal Manager
Hello to all,
We are about to use the Portal Manager with Landesk Management Suite 2016 but I have a doubt due to my inexperience ..
Instead of using a scheduled task to make the new application available to clients, is it possible to make it available in another way?
My idea was to make available for a group of clients and possibly in the future remove it from the list without performing scheduled tasks ..
Thanks to those who will answer my question