Sophos Anti-Virus for Windows 95/98/Me: upgrading Windows 95/98/Me workstations to the current version automatically
If you are upgrading from Sophos
You can either remove it manually from individual computers or, in a Windows domain or NetWare network, you can run a login script to remove it at the same time as you install Sophos
This article describes how to uninstall the old version, install the new version, and remove all obsolete lines in your login script. Note that the script described here will install the current version of Sophos
Work through the instructions below in order.
What to do
If SAVAdmin and SAVAgent are installed on your network, you can use them to monitor the upgrade process. Open both, and toggle between them as the update process takes place. You can also export a list of your computers for reference before you upgrade. For details, see section 27 (Backing up SAVAdmin Network View groups) of the SAVAdmin user manual.
The notes below assume an installation on a Windows server using the default folders and paths. Use your equivalent paths if you do not use the defaults, and add, or edit, the equivalent lines to those described below in a NetWare or UNIX server login script.
Installing the console
Install the management server and Enterprise Console as described in the initial sections of the startup guide.
- Stop when you reach the section on protecting computers with manual installation.
- Place all of your Windows 95/98/Me computers in the same group.
Editing the login script
- In Enterprise Console, select the group containing your Windows 95/98/Me computers and click 'Updating policy'. Select 'Windows 95/98/Me' and click 'Configure'. Make a note of the 'Address' shown. This is the path to your Central Installation Directory (CID), e.g. \\myserver\InterChk\ES9x.
- If you have any Windows 95 computers, a small utility must be run on them before installation. Download a copy of the file w95ws2setup.exe from the Microsoft website, and copy it to the root of the Sophos share on your server (e.g. C:\Program files\Sophos SWEEP for NT).
- On the Windows domain controller, use Notepad to open the login script file C:\Winnt\SYSvol\sysvol\[domain].com\scripts\login.bat, where [domain] is the name of the domain to which the Windows 95/98/Me workstations log in.
- If you have any Windows 95 computers, add this line to the login script
\\myserver\InterChk\w95ws2setup.exe
replacing 'myserver' with the name of the server on which you installed Enterprise Console. - Add the following line to the login script (where appropriate, under the line mentioning w95ws2setup.exe). This will install Sophos
Anti-Virus , current version:<Path>\setup.exe -user <domain\name> -pwd <password> -login -swhere <Path> is the location of the new CID (e.g. \\myserver\InterChk\ES9x), and the username and password are for an account that is able to log on to your Windows 95/98/Me computers, and has read access to the CID share (in this example \\myserver\InterChk). - Add the following line to the login script. This will remove the old version from your computers:
if exist "C:\Progra~1\Sophos~1\sweep95.cfg" \\myserver\InterChk\W95Inst\setup.exe -remove - If the login script contains a line similar to the following, remove this line
\\myserver\InterChk\W95Inst\setup.exe -inl -a - If the login script contains a line similar to the following, change the -poll number to 2000000
start /wait \\myserver\InterChk\Savagent.exe -update -poll=3600 - Save the edited login script.
The next time your users log in, their computers will run these commands. You can either email your users and tell them to reboot, thus initiating the update process, or wait until they next log on.
The upgrade process
During the upgrade process, you should monitor progress in both Enterprise Console and SAVAdmin.
When the user next logs on, the following will happen:
- w95ws2setup.exe will be run on Windows 95 computers
- the Sophos
Anti-Virus current version installer will install Sophos AutoUpdate - the Sophos
Anti-Virus obsolete version installer will uninstall the old software - the installer for the obsolete version will then request permission to reboot.
The Sophos
As SAVAgent will still be present on the computers, SAVAdmin will be able to monitor the status of the old version of Sophos
- the 'SAV Installed' column text will change from 'Installed' to 'No'
- the 'SAV Active' column text 'Active' will be replaced with a blank space.
In Enterprise Console, before the installation of Sophos
- the entries for the computers will appear in black text
- the text 'Active' will be displayed in the 'On-access' column.
If, for any individual computer, the SAVAdmin column 'SAV Installed' contains the text 'No', and the Enterprise Console 'On-access' column does not read 'Active' for any significant period of time (more than 10 minutes), you should check the status of that computer as a priority.
Checking the upgrade
The computers should upgrade automatically when their users reboot.
- Check computers that are no longer listed as installed in SAVAdmin, and are not listed as installed in Enterprise Console, as a priority.
- After the majority of computers have upgraded, check on those that are still listed as installed with the old version of Sophos
Anti-Virus in SAVAdmin. If necessary, install them manually as described in the section on protecting computers with manual installation in the startup guide. - Ensure that there are no Windows 95/98/Me computers in your network that are not displayed in SAVAdmin. Install these computers manually as described in the section on protecting computers with manual installation in the startup guide.
After the upgrade
Once all computers have upgraded to Sophos
- On the Windows domain controller, use Notepad to open the login script file (see above).
- Delete the line that removes the old version of Sophos
Anti-Virus from your computersif exist "C:\Progra~1\Sophos~1\sweep95.cfg" \\myserver\InterChk\W95Inst\setup.exe -remove - If the login script contains a line similar to the following, delete this line
start /wait \\myserver\InterChk\Savagent.exe -update -poll=2000000 - Add the following line to the login script to uninstall SAVAgent on your Windows 95/98/Me computers
Savagent.exe -uninstall
Leave the other lines that you added to the login script alone. They will install Sophos
- After SAVAgent has been removed from your Windows 95/98/Me computers, you can remove the
Savagent.exe -uninstallline from the login script. - After all computers have upgraded to the new versions of Sophos
Anti-Virus , you can remove SAVAdmin.
If you need more information or guidance, then please contact technical support.
- Article ID: 12420
- Created: 17 Jan 2005
- Last updated: 1 Apr 2008
