Blog site to provide a quick way to find solutions on problems encountered during a day to day work. Some articles are just copies of KB or Forums, but they might come in handy.
29 May 2007
DS agents and Vista!!!
What happend:
We created a vista image and our XML, we deployed with Altiris Deployment Server and everything went fine. We use a runonce command to install the latetst NS and DS agent the at the first logon and the a reboot after 30 seconds.
After the reboot the NS agent agent starts communicating with the NS Server and gets its sub agents like SWD, PM, App Met, etc...If yo use the standard task to deploy the AClient then an (old) Aclient agent will be installed in addition to the already installed DAgent after a while.
In our case this resulted in a reconfiguration of the PC into the workgroup "WORKGROUP" after a reboot.
The collection of this task should be altered to prevent this task to be run on a VISTA Pc, so just clone the standard Collection to be used and add the exclusion of All Windows VISTA computers.
Running a Configuration job didn't fix the problem (I guess both agents wants to take control)
In any case, prevent the presence of 2 DS agents (Dagent and Aclient) on a VISTA...believe me.
25 May 2007
Notification Server 6.0 SP3 R5
R5 Release notes : https://kb.altiris.com/article.asp?article=31946&p=1
R5 includes updated versions of the Altiris Agent and the Package Server agent. After installing R5 onto the Notification Server, the Altiris Agent and Package Server agent packages will be updated. Upgrade policies for these agents are located in the Configuration tab of the Altiris Console under Configuration > Altiris Agent > Altiris Agent Rollout and Configuration > Server Settings > Notification Server Infrastructure > Package Server Agent Rollout.
21 May 2007
Altiris Administrator Software Development Kit 1.4
New Features Release 1.4 implements the following new features:
- A PatchManagement library has been added. A list of new functions is available
15 May 2007
VMWare Workstation 6.0 Released
But be aware...This is a 275MB download
For the VISTA lovers....read the know issues...
Installing Out of Band Management OOBM does not install .NET 2.0 - Installs fail to install the Intel SCS if .NET 2.0 is not installed
Installs fail to install the Intel SCS if .NET 2.0 is not installed - Via Solution Center.
Installing with AICM causes Out of Band Management to fail to install due to the above reason.
Resolution
The following steps should be followed when installing OOBM:
1. NS should already be installed with .NET 1.1. This is essential for proper function when installing .NET 2.0.
2. Install .NET 2.0.
3. Install Altiris OOBM.
If the install is already complete for the base OOBM install, follow these steps:
1. Install .NET 2.0.
2. Download the file: Altiris_OOBSC_6_1.exe from www.solutionsam.com/solutions/6_0.
3. Execute the file on the Notification Server.
09 May 2007
How to Create a Bootable USB Memory Key
Installing WinPE on a USB Device
http://juice.altiris.com/article/1344/installing-winpe-on-a-usb-device
http://juice.altiris.com/article/1569/installing-winpe-on-a-usb-device-part-ii-the-menu
02 May 2007
WINPE 2.0 should be possible in DS6.8SP1
25 April 2007
What causes the task message "Run Completed Asynchronously"
Answer
While the circumstances of the actual issue may vary, the basic cause is the same. If the Altiris Agent service restarts (for any reason) while a task has not returned any sort of status, it assumes it completed successfully and displays the message about running asynchronously.
A few possible scenarios are:
- System restarts, either because of the deployed software or some other source before a return code is provided.
- The Agent service is restarted for any reason (other than reboot). If you execute a task then restart the agent service, you'll notice the asynchronously message as well.
- The software install never provided a return code back to the agent. This means the next time the computer or service restarts, this will turn the status into asynchronously.
24 April 2007
DSEXP.exe utility will export DS data from one database into a new DB
How do I move the data from one Deployment Solution server to another?
Resolution
Use the DSEXP.exe utility. This utility will export all the basic data from the old database to multiple text files and then allow it to be imported into the different server. Computers and groups are transferred by this utility.
You can find this tool at http://kb.altiris.com/article.asp?article=34226&p=3
Thx to Anthony
Agent Updates issues on DS6.8SP1
21 April 2007
The Inventory Solution 6.1 SP2 upgrade deletes custom inventory files
Resolution
Make sure that any custom .xml or .ini files used by custom inventory are backed up prior to performing an upgrade to SP2. After the upgrade is complete, be sure to:
Restore the custom inventory source files back into the altiris\notification server\nscap\bin\win32\x86\Inventory Solution folder.
Add aexcustinv.exe command lines to the appropriate aexinvsoln*.ini files.
11 April 2007
Upgrading Solutions
06 April 2007
Application Metering install problem
I removed App Metering and the Package Rules and I got it installed
New Releases
Software Delivery Solution 6.1 SP3
Altiris® Patch Management Solution™ 6.2 SP1 for Windows
Altiris® Inventory Solution® for Windows 6.1 SP2
Wise Toolkit
Application Management
Monitor Solution 6.0 SP5
Monitor Pack for SQL
23 March 2007
Why is the Console Performance So Slow?
Why does the Notfication Server Console seem so slow to respond? The database connectivity seems good, config request intervals are good, patch inventories are turned off.
Cause
StringCache access from the KnownCulture table is taking a long time. This is a result of the Altiris.ClientTask.Policies.CTserverconfig assembly not caching the requests using the IItemCacheable procedure.
Resolution
Current workaround is to change the Task config request interval from 5 mins to 60 mins. However, this is a design change that will be implemented in a future release.
21 March 2007
KNOWN ISSUE: An unexpected end of file parsing CDATA has occurred
Source: Altiris.NS.ClientMessaging.FileDispatcher.ProcessFileCallback Description: Unable to process the file "F:\Program Files\Altiris\Notification Server\NSCap\EvtQFast\Process\nse482E.tmp" Moving to "F:\Program Files\Altiris\Notification Server\NSCap\EvtQFast\Bad\XmlException\nse496B.tmp". Reason: An unexpected end of file parsing CDATA has occurred. Line 84, position 1.
Additionally, the server will contain numerous .TMP files in '...\NSCap\EvtQFast\Bad\XmlException' folder.
Cause:
The Summary Data NSE is missing ending XML tags. The bottom of the incorrect NSE's will appear as below:
Resolution:
One possible workaround is to rename the AexAMInventory.txt file to AexAMInventory.tx_ located in the Altiris Agent folder on a client with the application metering agent installed. This will force the client to generate a new AeXAMInventory.txt. However, doing so will also cause the client to lose all of its previous Application Metering inventory stored in the deleted AeXAMInventory.txt and it's possible that the problem can reoccur with the new AeXAMInventory.txt file as well.
This issue has been resolved in Application Metering 6.1 Service Pack 2 (build 6.1.32) , available from the Solution Center.
19 March 2007
Altiris Agent Scan and Fix
This script has proven very effective in fixing clients that have lost communication with the Notification Server. We run weekly reports on clients that have not talked in x number of days and then export that list of names to a text file.
This script uses ping and nslookup to check if the computer is still on the network. If it is, it deletes the machine's policy file, kills the agent process and the starts the service. The script uses a few utilities from Sysinternals, pskill, and psservice. Another utility we use, reg.exe, is part of Windows XP or it can be downloaded from the the Windows Resource Kit. These utilities need to be downloaded and stored locally on the PC the script is run from.
The script can be downloaded here
HII Tools 3.1.0 for Deployment Server 6.8 [updated]
HII Tools is a set of sample jobs and custom tools that empower you to easily create and deploy Hardware Independent Images using Deployment Server 6.8.
See HIITools.chm (included in HIITools.msi) for tips on using HIITools.
http://juice.altiris.com/download/979/hii-tools-3-0-2-for-deployment-server-6-8
Can the Altiris Agent uninstall status be verified from the Notification Server?
Here is a sample SQL query that could be used to show the computers that have executed the
Agent Uninstall package:
select ex._ResourceGuid, vc.Name as 'Computer name', vc.Domain as 'Computer domain', ex.PackageName 'Package name', ex.[Start] 'Execution start', ex.[End] 'Execution end' from Evt_AeX_SWD_Execution ex join vComputer vc on ex._ResourceGuid = vc.Guid where AdvertisementId in ( select AdvertisementId from SWDAdvertisement where name = 'Altiris Agent Uninstall' )
17 March 2007
Improving IIS and NS response times by disabling debug mode
The compilation of ASP.NET pages takes longer (since some batch optimizations are disabled)
This can be seen in the initial viewing of each NS console page
Code can execute slower (since some additional debug paths are enabled)
Much more memory is used within the application at runtime
This is of particular importance on NS servers with 2GB of physical memory, and large client facing servers with multiple Altiris solutions enabled
Additional information about debug mode is available at ScottGu's BlogNote: The current version of Altiris Notification Server utilizes ASP.NET v1. It is not currently possible to use the deployment retail="true" setting which is available for ASP.NET v2
Manual Resolution
Make the following modification to each web.config file that is part of the Altiris installation (\Program Files\Altiris). The change will be implemented as soon as another request to the related page occurs. In most cases, this will involve a visit to the related configuration or task NS console page.
Before (web.config)
After (web.config)
Automated Resolution
On the following link you can find an exe file that provides a resolution.
http://kb.altiris.com/article.asp?article=33499&p=3
08 March 2007
NS60 SP3 R4 Released
Windows Vista:
This release enables Windows Vista to be supported as a managed resource in the Notification Server.
Internet Explorer 7.0
This release enables the Altiris Console to function with Internet Explorer 7.0.
and a few bug fixes:Want to find out more? Here are the Release Notes
07 March 2007
Package Replication Solution Articles
The KB can be foud here
02 March 2007
27 February 2007
Migrate to Vista
DS68SP1: Quick Nice to Knows
The installation program is contained in the Agents folder on the Deployment Share. To install, launch the installation MSI on the computer using and admininstrator account and complete the prompts.
To perform a silent installation, use a command similar to the following:
DAgent.msi -qn server_tcp_addr= 172.19.17.180 server_tcp_port=402.
To remotely install combine the above instructions for a silent installation with a login script or group policy object.
Vista Remote Control
Deployment Solution uses the Remote Desktop feature of Vista to perform remote control. Remote Desktop must be enabled on the remote computer and you must have the required credentials to use remote control.
Vista Software Distribution
Due to increased security in Vista, software must meet the following criteria before it can be distributed using Deployment Solution:
"The software you are distributing must be Vista compliant.
"The installation is set to run as completely silent.
"No user input is required by the installation prcess.
"If the package requires additional files, the "copy all directory files" and/or "copy all subdirectories" options are selected to provide these files.
"If you are attempting an installation from a remote location or UNC path, only one setup executable is required to complete the installation.
"In the Distribute Software Task, you have left the advanced option on the default selection, "Copy files using Deployment Server then Execute," or you have provided appropriate domain credentials to perform a remote installation. See the release notes for additional information.
Vista Run Script Tasks
Due to increased restrictions placed on services in Vista, scripts executed by
Deployment Solution cannot display anything to the user. Scripts requiring user
interaction, including pause statements, will not execute correctly.
Altiris Deployment Solution 6.8 254
Vista Imaging
RDeploy fully supports imaging Vista computers similar to other Windows operating
systems. Additionally, support is provided for the WIM format using ImageX
How to scale Inventory Solution in very large environments
RDP 3.5
Support for Vista and Integrity Servers included...AND....DS6.8SP1
More news after testing
22 February 2007
Microsoft Office updates fail to install
Office updates fail to install on client computers. After further investigation, it is discovered that the update returned one (or more) of the following error codes:
1603
1612
-1073741510
-2147467259
1605
Cause
There could be several reasons why these error codes are returned.
The install program for the Office* update program has the Starting Window set to Normal. This causes a command prompt window to appear on the screen and, if a user is not logged on, the update will fail.
The Office update requires access to the source installation files, but cannot find a valid path to where they are stored. Typically, Office installations come from a network share. If these files are moved, or if the path to them changes, the clients become out of date and hold an invalid location in their registry. When the update cannot find these files, it will try to prompt the user for a valid location. Since the update is set to run hidden, the window is supressed and the update fails.
It is possible for the clients to have a valid network location for source files, but when the updates attempts to retrieve those files, the update again fails. This would be caused by running the Office update with the System Account and storing the files on a share with limited access.
If you are using Notification Server 6.0 SP2, then you could be running into a known issue. The Altiris Agent was known to spawn instances of update.exe to install patches, but then did not kill them once the patch was installed. When the next patch goes to install, it will fail because update.exe is already running.
Resolution
Ensure that the update is set to run hidden, see article 23997, "How do I ensure that an Office update will run silently?"
Verify that all clients have a valid path to source installation files. See article 24002, "How do I verify that clients have a valid Office source installation files location?"
Set this update to run using different credentials. See article 22705, "Can I specify an alternate account with which to install updates?"
Apply Hotfix 20 for NS 6.0 SP2 (or just apply SP3). See article 21167, "Patches fail to install with a 1603 error code."
Hint: If the location of the Office Source Install files in article 24002 is on a Network Share, the Update needs to be run with User Credentials that has Network rights. To make this change see article 22705 for how to set up the Bulletins to be installed with a Domain User account. (Verify that this Domain User has rights to the Network share.)Note: It is recommended that the latest version of Windows Installer be installed on client computers. Older versions are known to be a catalyst for the above issues
16 February 2007
Altiris HP Client Manager 6.2 Release Notes
Windows VISTA Support
From HPCM 6.2 and later, in addition to other supported operating systems, the following types of Windows VISTA operating systems are supported in HPCM for client computers:
Vista Business
Vista Business x64 Edition
Vista Enterprise x32 and x64
HP Backup and Recovery -- Configure HP Backup
This feature lets the administrator create a backup policy to initiate a backup task of the HP Backup and Recovery Manager on the client computer. An entire system backup is taken as per the schedule mentioned in the policy. Ths feature is available only if the licensed Altiris® Software Delivery Solution™ software (Altiris - SWD Solution) is installed.
Out of Band Management
HP Client Manager now supports computers using Intel* vPro Technology (Intel* AMT). HP Client Manager 6.2 includes Altiris Out of Band Management Solution that you can use to perform discovery, hardware inventory, power management, alerting, and other configuration tasks on HP computers vPro systems, all independently of system power and OS state. HPCM 6.2 includes full reporting of AMT capabilities for HP systems.
This feature lets the administrator access Altiris® Out of Band Management Solution™ software in the Altiris 6.5 Console. A link is provided in the Additional Link section of HP Client Manager Quick Start. This link is available only if the licensed version of Out of Band Management Solution (OOB) is installed.
14 February 2007
A lot of new Beta's available from Altiris Notification Server
To the right you find a list of the active Beta's
Beta's can be found here
12 February 2007
What is Package Replication Solution?
This should be compatible with SP3.
Originally this was planned to be released with SP3, but Altiris has decided to give it out only as requested.
Package Replication has been designed for centralized administration of packages in a network containing two or more Notification servers. It allows packages and programs to be created and configured on one NS and transmitted or "replicated" to other NSs. The NS that packages are replicating from is called the "parent NS" and the NS which packages replicate to is called the "child NS".
Note: A Notification Server can be both a child NS, with packages being replicated to it, and a parent NS replicating packages to another NS.
Package Replication is not designed to perform real-time replications. It runs daily at 2 a.m. by default but can be changed manually in Scheduled Tasks.
Office 2007 install fails with SVS layers active
When trying to install Office 2007 or any of its components, shortly after clicking the Install Now (or Upgrade) button, the install dialog disappears and the please send the error information to Microsoft dialog comes up.
If you look in the log file to be sent to Mircosoft, neer the end you see a line like the following:
Error: ORegistryKey.GetSubKeyNames failure: Cannot get all sub key names for registry "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" HResult: 0x80070103.
Environment
SVS 2.0 - SVS 2.1 beta 1.6
Any active layers containing registry values under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall Microsoft Office 2007
Resolution
Work-around: Deactivate all layers before installing any Office 2007 components.
The cause of the issue has been identified and testing has reported that this issue no longer exists in current development builds of the product. This should perform correctly in the next release of SVS.
04 February 2007
Minimum RAM size needed to run WinPE through PXE in DS 6.5?
In this case WINPE boots and get stuck on the black screen with Please Wait... at the bottom.
Increasing to 300MB or higher solves this problem. After the OS is installed you can lower the Memory size if required
The following article descibes the size needed to boot with WINPE : http://kb.altiris.com/article.asp?article=24672&p=3
31 January 2007
Can .NET be Tuned to Improve Performance for Notification Server and its solutions
http://support.microsoft.com/?id=821268
30 January 2007
X64 Support Statement (Q4 2007 in NS7.0)
Altiris has tested its products on systems running Windows 2003 Server x64 editions and leveraging AMD 64 and Intel Xeon EM64T/Itanium hardware. These processors that provide native, backward compatible 32-bit processing capabilities are currently supported in 32-bit compatibility modes.
Native Mode
The core Altiris Agent supports x64 platforms as of Notification Server 6.0 SP3.
Roadmap
The following sections contain an outline of Altiris’ plan for supporting 64-bit platforms. This is not a commitment, only an indication of current timeline estimates and strategies.
Currently Altiris Solutions are built on .NET 1.1 which does not support the x64 platform. However, the Notification Server will be moving to .NET 2.0 for the “Bennelong” release so that Altiris Solutions can be run on native x64 server platforms (Q1 2007). All Altiris Solutions will be updated to support this new version of Notification Server and subsequently the x64 platform unless otherwise noted below.
Deployment Solution—In the “Asgard” release, Altiris will facilitate automated imaging and configuration of x64 and Itanium based systems on the Windows and Linux platforms. (Q3 2006)
Additional Altiris Solutions and infrastructure may be updated to natively support 64-bit platforms in this timeframe, based on market need and customer demand.
More info can be found here
29 January 2007
Inventory Pack For Servers
24 January 2007
SATA drive and Deployment
Since SATA is becoming a standard for laptops and PC's we face some problems with how to deploy them since no standard XP CD support those drivers.
HP came up with an article on how to add the(re) drivers to a XP unattend or sysprep or new Installation CD or even WINPE.
That WINPE you need to get an image of latops with a SATA drive
Here you can find the document : Link to HP
This white paper provides instructions on how to successfully incorporate SATA drivers into a Windows XP installation on HP Compaq Notebook PC models. The following guidelines provide procedures for adding SATA drivers to RIS installation points; adding SATA drivers to installation CDs; building an image and switching to SATA AHCI mode; using Sysprep with SATA in AHCI or NATIVE mode; and adding SATA drivers using WinPE.
It goes for:
HP Compaq 6310, 6320 and 6330 Notebook PC models
HP Compaq 9420 and 9440 Notebook PC models
HP Compaq 6400 Notebook PC models
HP Compaq 7400 Notebook PC models
HP Compaq 4400 Notebook PC models
HP Compaq 8400 Notebook PC models
Thx Frank ;-)
17 January 2007
Asset Control & Contract Management Solution 6.5 Beta Now Available
- Receiving Enhancements
- Supports workflows between PR auto-fill selector
- New summary screens
- New Reports & Notification Policies
- Cost Management
- Multi-currency
- Depreciation allocations
- Additional reporting for rollup cost/depreciation
12 January 2007
AexMachINV.exe process does not stop on servers
AexMachINV.exe process does not stop on servers; rows and rows of calls to gethostbyaddr() using what appears to be a garbage address
A fix is available in KB : http://kb.altiris.com/article.asp?article=22442&p=3
The official fix will be shipped with the SP2 version of IS 6.1. |
02 January 2007
How to determine when the Altiris agent last requested an update from the Notification server
How to determine when the last time a specific PC requested (or checked for) a policy update from the NS, without checking the agent on the client PC itself.
Answer
You can check a single asset by just right clicking on it in NS and selecting Resource Manager. In the Summaries tab you can then drill down to Resource Manager, Resource Summary, and then in the right pane under "Altiris Agent Details" you will see when the agent was First discovered, Last Configuration Requested, Last Inventory Received and Last Event Received times.
For a fleet wide inventory report, go to the "Reports" tab in NS and under Notification Server Infrastructure, Agent, Altiris Agent Inventory you will see a number of reports, notably "Altiris Agent basic inventory (no update N days)" and "Altiris Agent basic inventory (sorted by last update)".
For a fleet wide "Configuration Request" report, a few items below you will see Configuration Request node. In there you will see a number of other reports, notably "Clients with no configuration in last N days".
Another report that may be useful is the "Configuration request statistics by time" which may be useful in analysing the peak times and traffic due to your current policy configurations
Link : KB Article
18 December 2006
Tool to make Unattend Install better
How about not even to install them with Windows ?
nLite is a tool for permanent Windows components removal and pre-installation Windows setup. After removal there is an option to make bootable image ready for burning on cd or testing in virtual machines. With nLite you will be able to have Windows installation which on install doesn't include, or even contain on cd, unwanted components.
Check this out...Link
14 December 2006
Import/Export Utility
Previously, users were able to export XML of unlimited size but there was a limit on import which
led to discrepancies. This utility was introduced to overcome import problems which occurred
when large amounts of data were being imported to the Notification Server.
The ImportExportUtil will be stored in the Install path\Diagnostics when the
Notification Server is installed. It is a console application that lets you to import/export, to and
from, the Notification Server database.
To run the application, double-click the ImportExportUtil.exe and follow the instructions in the
Command Window.
Note: The .exe file needs to be located in the same folder as the AeXImportExport.exe.config
and the utility user must be a member of Altiris Administrators.
(This information can be found in the release notes op NS6.0 SP3 except the file location is wrong in the release notes)
Case Intrusion Detected on Dell Computers
In some cases there will be a popup for chasis intrusion.
The following KB explains a solution for this problem
http://kb.altiris.com/article.asp?article=29004&p=3
13 December 2006
Altiris Console 6.5 Hotfix (KB25949)
1. The Console 6.5 hotfix is attached to this article. Download the hotfix Altiris_Console_6_5_KB25949.exe. 2. Run Altiris_Console_6_5_KB25949.exe on the Notification Server.
Fixes:
· Altiris Console 6.5 with Recovery Solution 6.2 integration: Computer Collections and Cluster Settings context menu does not show all options of Recovery Solution Tasks
· Assets are not pointing to the correct pages
· Security Roles view doesn't appear properly
· After Editing a Web Part Report Link with an Extremely Long URL, the Apply Button disappears.
· Web.config debug is set to TRUE· Web Part edit page always disables the report picker
Reference :
http://kb.altiris.com/article.asp?article=25949&p=3
12 December 2006
Finally: Some info about the Database structure for NS
You don't get a manual or so, but some SQL Scripts to show and capture the DB structure
11 December 2006
Remote performance slow due to java script loading
When loading most console pages and dialogs client side scripting occurs using java script files. Whenever these files are loading from the server they will throw a 401 (access denied) error before requesting authentication from the browser. This causes a large delay in the loading of these pages.
Cause
IE does not expect authentication on JS files so always tries to run them anonymously, only trying authentication when rejected.
Resolution
Download SP3 KB25133 Update (R3) from: http://www.solutionsam.com/solutions/6_0/Altiris_NS_6_0_SP3_KB25133.exe
How to access the Carbon Copy Web console from a URL
To Access the Advanced Carbon Copy Web console page: http://ns-machine-name/Altiris/CarbonCopy/CarbonCopyFull.aspx?Name=&Timeout=60
To create a link to connect to a Carbon Copy Agent automatically (Basic): http://ns-machine-name/Altiris/CarbonCopy/CarbonCopy.aspx?IpAdd=cc-agent-name
To create a link to connect to a Carbon Copy Agent automatically(Advanced): http://ns-machine-name/Altiris/CarbonCopy/CarbonCopyFull.aspx?IpAdd=cc-agent-name
Note: Make sure to substitute the name of the notification server where the Carbon Copy solution is installed for "ns-machine-name" and the machine name where the Carbon Copy agent is installed for "cc-agent-name" within the links above
08 December 2006
Patch Management Upgrade best practice from 6.1 to 6.2
Please read the following document when upgrading to PM6.2
http://kb.altiris.com/article.asp?article=30816&p=3
05 December 2006
Language Setting of the browser
Deleting that one give a couple of strange errors like the missing 2 left pane in DSWEB and Itempicker control...
So be sure to have at least one language selected in your browser

