Video Screencast Help
Endpoint Management Community Blog
Showing posts tagged with Server Management Suite
Showing posts in English
Eshwar | 13 May 2008 | 5 comments

Did you know you can install an application with VBScript using the "Run" method.

Here's a sample script illustrating how we do it (and how we also write return codes to the eventlog):

object.Run(strCommand, [intWindowStyle],[bWaitOnReturn])  

Set objShell = WScript.CreateObject("WScript.Shell")
spath = objShell.CurrentDirectory

If fso.FileExists(spath & "\IE7-WindowsXP-x86-enu.exe") Then
	path = """" & spath & "\IE7-WindowsXP-x86-enu.exe" & """ /passive /norestart /update-no"
	objShell.Run(path, 1 ,True)
	i = 0
	i = objShell.Run(path, 1 ,True)
	If (i = 0) Or (i = 3010) Then 
		'WRITE EXIT CODE [0-success/3010-success&requires reboot] TO EVENTLOG
		objShell.LogEvent vbLogSuccess, sLogHeader & "Microsoft Internet Explorer 7 installation completed successfully." & VbCrLf & "Exit code: " & i
		MsgBox "The installation of Microsoft...
Eshwar | 13 May 2008 | 5 comments

You can find whether a software package is installed on computers on you network by querying the [Inv_AeX_OS_Add_Remove_Programs] table.

Here's how to find the machine name by joining the [Inv_AeX_AC_Identification] table.


SELECT DISTINCT(ACI.[Name]) AS 'Machine Name', ACI.[Domain] AS 'Domain', ARP.[Name] AS 'Application Name'
FROM  [Inv_AeX_AC_Identification] ACI 
INNER JOIN [Inv_AeX_OS_Add_Remove_Programs] ARP 
ON ACI.[_ResourceGuid] = ARP.[_ResourceGuid] 
WHERE ARP.[Name] LIKE '%Application Name%' 

Eshwar | 12 May 2008 | 1 comment

Did you know you could retrieve hardware serial numbers and memory module information from your Inventory Solution data? It's possible by joining [Inv_AeX_HW_Serial_Number] and [Inv_AeX_HW_Memory_Modules] tables with [Inv_AeX_AC_Identification].

Here's the syntax:


SELECT DISTINCT(ACI.[Name]) AS 'Machine Name', AHS.[Serial Number] AS 'Serial Number', MM.[Size], MM.[Type]
FROM [Inv_AeX_AC_Identification] ACI
INNER JOIN [Inv_AeX_HW_Serial_Number] AHS ON ACI.[_ResourceGuid] = AHS.[_ResourceGuid]
JOIN [Inv_AeX_HW_Memory_Modules] MM ON MM.[_ResourceGuid] = ACI.[_ResourceGuid]  

vortex0007 | 07 May 2008 | 0 comments

Active Directory and Altiris Notification Server seem to have a love hate relationship. The Active Directory connector loves to import user names and computer names, but it hates to do anything related to group membership. A common request has been the ability to incorporate user group information from Active Directory into collections in order to allow user based software delivery. In other words, install Quickbooks to all of the users who are in the Accounting OU. This tip steps through how to accomplish this.

The first step is to create a connection between the Microsoft SQL Server hosting the Altiris databases and the Active Directory. This is accomplished through a SQL concept known as "Linked Servers." There is a bit of black magic to making linked servers work and a full technical drill down into how they work is beyond the...

WiseUser | 01 May 2008 | 0 comments

Definition: A user profile is a group of settings and files that defines the environment that the system loads when a user logs on.

It includes all the user-specific configuration settings, such as program items, screen colors, network connections, printer connections, mouse settings, and window size and position.

How to copy the files to user profiles using wise script

A Profile can be roaming profile or a local profile.

We have to search for the following registry value to get hold of users My documents or app data folders.

Profile whose user profile is redirected to H :\

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders]
"AppData"="C:\\Documents and Settings\\{USER}\\Application Data"
"Cookies"="C:\\Documents and Settings\\{USER}\\Cookies"
vortex0007 | 22 Apr 2008 | 6 comments

I'm always surprised to find how few customers take advantage of Altiris Inventory Solution's ability to inventory an application's installed serial number. This information can be invaluable when trying to tie copies of applications installed in your environment back to software license agreements.

Each time Altiris Inventory Solution scans are run, the serial numbers for installed applications are captured and stored in the Inv_AeX_OS_Add_Remove_Programs table.

It is impossible for us to list every single application that will report back a serial number properly, but testing in large environments has revealed at least 500 business applications that return this information properly, including most of the business applications from Microsoft, Adobe.

The following SQL query can be run against the Altiris database to find out...

pdeluca | 15 Apr 2008 | 1 comment

Some Microsoft Office Updates need a service to be loaded in workstations. The service name is "Office Source Engine" and in many workstations it is Disabled, so Microsoft Office Patches don't apply or don't work.

Here's a solution.

A good practice is to deploy a registry value that changes this Service to Manual State before Distributing the patches. The "Applicable" number of already distributed patches also change after the distribution of the registry value, so it´s useful to finally increase the "Installed" number.

The registry key and value are:


3 = Manual
4 = Disabled

Simply copy the key and value to a .reg file and use Deployment to apply it inmediately.

TilakGovind | 14 Apr 2008 | 8 comments

There would be some situations where we need to call Batch file from Scripts. Here the script to call INSTALL.bat

  1. Copy the below code to Notepad.
    Function Tilak()
    dim shell
    set shell=createobject("") "INSTALL.bat"
    set shell=nothing
    End Function
  2. Save the file as .VBS
  3. Then use this VBscript in Wise Package Studio's CustomActions pane.
kbuller | 08 Apr 2008 | 1 comment

I have been tasked with locking down our Macintosh workstations. The only goal so far has been to set a screen saver idle time and to require a password to wake the computer from sleep or screen saver.

After much looking around the interwebs I found that there is not a command line utility or apple script command to change these settings. They have to be changed by modifying a preference file. The file is stored separately for each user and is stored here (the tilde is a variable that is the path to the users home folder).


Argh! The file name is different on every machine. To add to the madness, that file does not exist until the user changes a setting for their screen saver. I found several solutions that pointed to extracting the...

riva11 | 08 Apr 2008 | 0 comments

Questa settimana mi sono imbattuto in questo scenario, e ho pensato che possa essere di vostro interesse conoscere come sia possibile personalizzare in maniera semplice il portale software con il logo della vostra azienda.

Ho rinominato il file disks.gif file contenuto nella sottocartella %programfiles%\altiris\software delivery con il nome di disks.gif_bak. Poi ho modificato il logo della nostra azienda in modo da avere la stessa dimensione nell'originale file gif , assicurandomi inoltre che il background del logo fosse trasparente, infine gli ho dato nome disks.gif a questa immagine ed è stata copiata nella stessa cartella.

Il file sostituito è inizialmente fornito come logo nel CD/Disk ed era posizionato nel pannello a sinistra in del portale software. Questo è più semplice che installare Altiris SDK e diventare uno mago del codice. Anche se questa personalizzazione probabilmente adesso è supportata, ho trovato questo metodo un modo facile per personalizzare il...