My Altiris 7.0 to 7.1 GPO upgrade script
I thought that I would share the script I'm currently using to upgrade (almost) everything in our environment from Altiris 7.0 to 7.1. We're doing a live/live migration, so in my case both environments are still available. Initially, I tried just tried a simple redirection of the agent to the new NS. This failed miserably as it broke my x64 clients. I'm not sure *exactly* what broke, but the end result was that the agent service wouldn't start on any x64 OS. Maybe someone here knows why. In the end, I don't really care because it seems that a clean and install process is a much better way to handle the migration.
Anyway, there are just some simple requirements.
- I found that scripts didn't run properly from a GPO if it wasn't in the Netlogon folder, so start by creating a new folder called AltirisAgent in your \DOMAIN\NETLOGON folder.
- You'll need PSEXEC which is available for download from MS here: http://technet.microsoft.com/en-us/sysinternals/bb897553.
- You'll need AeXNSCInstSvc.msi from \\YOUR*NS\nscap\bin\Win32\X86\NS Client Installation\
I've attached the script I used. You'll obviously need to edit everything in the Configurables section. The script idea came from the website listed below, but I added some logging, removed stuff I didn't care about, and cleaned it up a bit.
I set this as a startup script, which means it will only install as things reboot. Seemed like a relatively good way to slowly move things over. Eventually I'll push out a job in our 7.0 environment that will migrate things that haven't rebooted...