Login to participate
Endpoint Management & Virtualization DownloadsRSS

Automated Collection Cloner Tool

Screenbert's picture

What it Does

The ACCT allows you to clone collections from one computer to another, filtering out any collections not in the assigned folders.

  • You enter the the original and target computer names.
  • Collection information is pulled from NS.
  • It adds the target computer to those collections.
  • Detailed logging for troubleshooting purposes is in the %temp%\ACCT.LOG file with timestamps.

The first time you run it you will need to create the ACCT.CFG file. To create the ACCT.CFG file, run the command as follows:

ACCT.exe -c "SERVER.DOMAIN.COM" "SEARCH_TERM" "DOMAIN" "EXIT_COMMAND" "GUID_OF_FOLDERS_SEPARATED_BY_PIPE_SYMBOL" 

This will create the cfg file, that you can then reuse. You cannot un-encrypt the file once created.

If you do not have a search term or exit command you will need to just put double quotes "" for that spot as shown below.

ACCT.exe -c "SERVER.DOMAIN.COM" "" "DOMAIN" "" "GUID_OF_FOLDERS_SEPARATED_BY_PIPE_SYMBOL"

If the search term is included ANYWHERE in the collection name, that collection is returned. Leave blank for ALL collections in the specified folders.

For the domain, you will need to enter the netbios name that shows under the domain column in Altiris reports. For instance:

  • the DNS domain name may be altiris.com, but the netbios domain name is AltirisNet.

You can specify a non-default domain name by putting computer.domain in the textbox for the target or original PC name.

The command variable will execute the specified exe, vbs or batch file. The command it executes must be in the same directory as the ACCT executable. It will execute the command and pass these variables:

1 = Original Computer Name
2 = Target Computer Name
3 = "Collection cloned"

If the command variable is blank nothing happens. Otherwise it executes the command for each collection cloned.

This tool is only designed for static collections.

License: AJSL
By clicking the download link below, you agree to the terms and conditions in the Altiris Juice Software License
Support: User-contributed tools on the Juice are not supported by Altiris Technical Support. If you have questions about a tool, please communicate directly with the author by visiting their profile page and clicking the 'contact' tab.
SonicGT's picture

Great looking tool, but unsure if I'm trying to use it correct

This looks like a great tool that would benefit us, but I can't seem to get it to work.
Is the domain that I have to enter for the config need to be the domain of the server, or the domain of the workstations? and what if some workstations are not in a domain?
Is it passing my login credentials to the altiris server, and if so is there a way to prompt if my machine is not in a domain and I need to use alternate credentials to authenticate to the altiris server?

Thanks

Screenbert's picture

Domain for tool

The domain is the domain listed in the Altiris Resource Viewer for your original or target computers. This is needed because the ASDK methods require the domain name. If a computer is not in the domain it would still be in a workgroup, which Altiris still lists as domain in the resource viewer.

To manually specify a "domain" for the original or target computer specify the computer name as mycomputer.domain in the textbox instead of just entering the computer.

As far as authentication goes, it uses whatever account is logged in. If you needed to use another account you could do a runas for that account.

Screenbert

tmboyd's picture

Great Tool

This is a great tool ! Thanks for creating it ! Its working well in our environment.