Remotely Re-Install the Altiris NS Agent
Quick and easy script to uninstall and re-install the Altiris Agent remotely. It first pings the computer to verify that it is on-line and then executes a local command on the PC to uninstall the agent. Once complete it initiates a re-install. All progress of the script is shown real time in an IE window.
You will need to edit the first section of the script to change the domain names to match your network. Change the 2 variables strDomainName and strNSFQDN.
| 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. |
Nice one!
Nice one! i can make use of this , Thanks for that
Nice script, how about automating it?
Downloaded this script and using on our helpdesk and desktop support teams now. Would be nice to take this to the next level and automate this for the install on new machines. Example, check via login script for altiris agent and if not there, install it, if there but services stopped start services, otherwise exit. Would also be nice to add aclient install for Deployment Server as a check in the process too. Otherwise, I may tweak the code to satisfy needs further, but good script to use for immediate need on re-installs. Thanks
Nate Hudson
Senior Systems Engineer
West Bend Mutual Insurance
WMI errors
i have tried this on 2 test clients so far, 1 2000 and 1 XP and both have given me this error:
5 Error Accessing WMI.. Exiting..
any ideas???
WMI error again
Like the previous post I also get the same WMI error - I have a vague idea - is there not a service that needs started to expose WMI to the network? I guess many lockdowns will disable this service.
I will post again if I fix this but its low priority at the moment.
Just a thought - but a good tool nonetheless.
Brian Hardy
Error handling
This script bombs out on every error handler. If I comment out the error handling, it completes the uninstall but then bombs on the install.
Just a Few Comments ...
Good script. 2 comments:
1. For those of you looking to use this file line 173 has a server name referenced. Must be changed.
2. I agree with nrhudson's comment. Too bad you hadn't taken this further. I too will have to tweak it.
Thanks for the script though - it's a very good starting point.
Would you like to reply?
Login or Register to post your comment.