Video Screencast Help
Endpoint Management Community Blog
Showing posts tagged with Altiris Server Management Suite
Showing posts in English
WiseUser | 16 Aug 2007 | 3 comments

We use deferred custom actions to perform actions and manipulate system files. Here's an example where I learned something new about these actions and Installshield \ VB Script.

One of my applications needs to append a value to the Autoexec.bat file, and we use VBScript to do this work. I wrote a custom action to append a value in the .bat file. Since the file is present in "c:\" I used "WindowsVolume" but it was not recognized in the deferred custom action. This is because deferred custom actions doesn't recognize installer properties like SourceDir or WindowsVolume.

To solve this issue, here are the steps we took. This is not an issue if you use WiseScript. But not all projects use WiseScripts.

  1. Create a custom action which has embedded VB code in it that appends the value to the .bat file. Let the custom action name be "APPBAT" and set the custom action as deferred system context and leave the sequence blank -- to be modified later
  2. Create...
robertser | 06 Aug 2007 | 1 comment

When new computers are placed into Altiris it may take up to 24 hours for the system to get all of its patches and inventories completed. This is usally due to collection update times and long configuration update times (6+ hours).

There is an easy way to speed this whole process up and not effect the overall performance of your NS.

  1. Create a collection called "Computers Discovered 48 hours". Using the SQL code below it will contain PCs that are discovered in the last 48 hours.

    SQL Code:

    SELECT vr.guid    
    FROM vresource vr     
    join vComputer vc on vr.guid=vc.guid   
    join item i on vr.guid=i.guid    
    WHERE DATEDIFF(day, i.CreatedDate, getdate()) <= 2
  2. Create a duplicate of the collection "All Windows Desktop Computers Collection (excluding Package Servers)".
  3. Under the Altiris...
BRING | 03 Aug 2007 | 0 comments

What a frustration. You click on your Inventory task and all of the sudden you see the following error: "Error when node clicked: An unexpected exception has occured during CreateInstance."

Read on for the remedy.

Well, the solution to this issue is not a simple as you might think. KB Article 36366, found at gives the best solution to making sure that you database is ready to handle to load that inventory solution can apply.

The bulk of the resolution to this issue comes...

riva11 | 30 Jul 2007 | 1 comment

During remote installation or will running a command script on a remote computer, I prefer to hide as much as possible from the remote computer's display. I've found that even if software installation can be done in a silent mode, there are some things, like OS scripts, that are not hidden. Here are a few tips to make sure you aren't exposing too much to prying eyes.

To hide some time jobs running on the user desktop, I found an easy way and is send a lock workstation command. Using the following method during an installation the only screen displayed is the logon screen. Nothing else is shown.

After this command the user does have to log in again. But it does enable you to run short scripts or use off-hours periods to run your scripts without them appearing on the screen.

Here is the script:

@Echo off
riva11 | 10 Jul 2007 | 2 comments

During Windows client preparation, most of the corporate programs I work with create a shortcut icon on the user's desktop.

I prefer to maintain a computer clean of programs used infrequently. For example, Adobe Reader and other viewers normally are executed from a folder or e-mail attachement, not by launching the program from a shortcut on the desktop.

For this reason in my installation process I have a list of shortcut icons to remove from the desktop.

The traditional way to remove a shortcut icon is to drag it to the Recycle Bin or press the Delete key.

But I've found using a process is the best way to automatically remove these pesky icons for you.

In this example I decided to remove the PDFCreator shortcut. It is normally created during installation in the All User Profile folder.

In the DS console is...

dmorrison | 09 Jul 2007 | 1 comment

Sometimes it's desirable to create 4 collections for inventory tasks so software audits only occur on a particular day for 1/4 of the computers in the environment without dealing with the random execution of AexRunControl. Or your CIO wants to evenly distribute a software delivery over 10 days to reduce risk and you would like to avoid creating 10 dynamic collections.

One of the challenges we often face in Notification Server is creating collections that evenly divide computers into several groups to distribute inventory processing or software delivery.

The SQL script below provides a simple way to create a dynamic collection which will be roughly 1/4 of the computers in your Notification Server. It contains 2 variables: @Groups and @GroupNumber. To create another collection for the different 1/4's of your computers, change the...

snowjgj | 01 Jul 2007 | 2 comments

I first noticed a problem when running a Software Delivery job using a Visual Basic script and the status of the tasks always showed "Run completed asynchronously". On closer inspection I noticed that the program was actually hanging in the background.

Read on to learn the steps I took to troubleshoot (and overcome) this problem.


To test, I set up a VB script to run as system account in a hidden window. I tested the file by double-clicking and watching it run through completely. A pop-up notified me of the success.

My command line for the program was:

wscript "myscript.vbs"

I had chosen wscript as this is Microsoft's default association.

The problem was that wscript is the GUI (graphic user interface) version of WSH. Most Windows operating systems default to using wscript when...

riva11 | 29 Jun 2007 | 0 comments

Durante diversi anni di creazione di package di applicazioni, ho scoperto che è utile avere un server che contiene tutti i supporti dei CD di installazione, questo rende facile il lavoro quando dei reinstallare una applicazione oppure devi ricostruire al un computer i layer SVS .

Quello che ho fatto è di avere tutti i media usati per le installazioni -- con i codici dei CD -- in una unica locazione dove puoi anche aggiungere patch cumulativi e service pack per tutte le rispettive applicazioni. Si , questo può richiedere molto spazio su disco MA quando devi ricostruire una applicazione è molto più semplice cercare in un disco di rete ed eseguire l'installazione, invece che sprecare diverso tempo nel cercare e usare i CD di questa applicazione.

Questo metodo è veloce, facile e rende realmente molto agevole il processo di ricostruzione.

Grazie e buona fortuna.

Tom Fronza
State of Ohio
Dept. of Taxation.

The original article ...

tfronza | 29 Jun 2007 | 3 comments

During my years of application packaging, I have found that having a server with all the Media copied out to it makes for an easy place when you have to reinstall an application or rebuild a machine's SVS layers.

Having all our media out there -- with the CD Keys -- provides a location where we can add accumulated patches and service packs for those applications. Yes, it might take up a lot of space BUT when you need to rebuild an application it is much easier to go to the network drive and run the install than it is to spend time looking for the associated CDs.

Quick, easy, and takes some of the sting out of the rebuild process.

Thanks and good luck.

Tom Fronza
State of Ohio
Dept. of Taxation.

snowjgj | 21 Jun 2007 | 0 comments

A common problem people notice when building reports with the simple report builder using the asset type of "Computer" is that virtual machines do not show up in the results of the report. Here's a way to work around that problem.

Some Background Info

Inventory Solution 6.1 SP 1 introduced the Virtual Machine classification of machines. This means that any virtual machine that was previously displayed as a "Computer" will instead show as the new "Virtual Machine" classification of device.

When a user creates a new report using the simple report builder and clicks the finish button, the followinn piece of SQL code is appended to the query generated:

[ResourceTypeGuid]  = '493435f7-3b17-4c4c-b07f-c23e7ab7781f'

The "where" exists if no other criteria have been defined otherwise "and" will be in its...