Novell is now a part of Micro Focus

Automated Uninstall of NMAS

Novell Cool Solutions: Tip
By Thomas Erickson

Digg This - Slashdot This

Posted: 20 Apr 2005

The typical way to uninstall NMAS is by going to Add/Remove Programs in windows or running unclient.exe. The user will have to say yes to remove it - for details, see

But you can also automate the uninstall of NMAS on client PCs.

First, you need to download the .zip file that includes the following tools:

  • uNMAS.aut (the script file you can modify and compile into uNMAS.exe)
  • uNMAS.exe (the compiled uninstall script)
If you prefer not to use the provided EXE you may modify the uNMAS.AUT or create your own script and compile it with AutoIt. To modify the provided script (that is compiled into uNMAS.EXE) follow the steps below. Note that this does not make the uninstall silent.
  1. Download the AutoIt program from
  2. Install AutoIt on the administrator's box.
  3. If you want to modify the basic script, make your changes in the uNMAS.aut file from the .zip file you downloaded.
  4. If you made changes, right-click uNMAS.aut and compile it as uNMAS.exe.
  5. Run uNMAS.exe (modified or original) on your test box. Of course you can use ZENworks to deliver uNMAS.EXE or other delivery mechanisms.

I modified a script I found on google groups a bit (the one off google did not work for me) and tested it on XP SP1, with a 4.9 SP2 Novell client, and it works great.

About AutoIt

AutoIt is a simple tool that can simulate keystokes, mouse movements and window commands (maximize, minimize, wait for, etc.) in order to automate any windows based task (or even windowed DOS tasks). When AutoIt is executed, it reads a specified script file.

Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions.

© Copyright Micro Focus or one of its affiliates