SUPPORT / SAMPLES & SAS NOTES
 

Support

Usage Note 12462: How to remove the old services for SAS Servers

DetailsAboutRate It
In order to remove the SAS Servers [for example: SAS Metadata Server
(MS), SAS Object Spawner (OB), SAS Share Server (SS) and the SAS OLAP
Server (OL)] from Services located under the Control Panel>
Administrative Tools, perform one of the following:

Solution 1
   1. Click on Start>Run and type cmd to open a command prompt.
   2. Change to appropriate directory.
      Note: To do this type cd\ and select Enter, type cd and the
      directory name (cd stands for change  directory).
   3. Then type in the appropriate start .bat file with a -remove at the
      end. For example:

        For the SAS Metadata Server:

           cd C:\SAS\BIArchitecture\Lev1\SASMain\MetadataServer>
           MetadataServer.bat -remove

        For the SAS Object Spawner:

           C:\SAS\BIArchitecture\Lev1\SASMain\ObjectSpawner
           ObjectSpawner.bat -remove

        For the SAS OLAP Server:

           C:\SAS\BIArchitecture\Lev1\SASMain\OLAPServer
           OLAPServer.bat -remove

        For the SAS Share Server:

           C:\SAS\BIArchitecture\Lev1\SASMain\ShareServer
           ShareServer.bat -remove

        For the SAS Connect Server:

           C:\SAS\BIArchitecture\Lev1\SASMain\ConnectServer
           ConnectServer.bat -remove

Solution 2
Look at the contents of uninstaller .bat file in the following
directory and make any necessary modifications:

   C:\SAS\BIArchitecture\UninstallerData

   * Then click on Start>Run and type cmd to bring up a command prompt.
   * cd /D "C:\Program Files\SAS\SAS 9.1\core\sscu"
   * Sasservicemngr /remove "SAS Lev1 MS - BIArchitec"
   * Sasservicemngr /remove "SAS Lev1 OL - BIArchitec"
   * Sasservicemngr /remove ""
   * Sasservicemngr /remove "SAS Lev1 SS - BIArchitec"
   * cd /D "C:\Program Files\SAS\SAS 9.1"
   * objspawn  -deinstall -name "SAS Lev1 OB - BIArchitec"
   * spawner -delete -name "SAS Lev1 CS - BIArchitec"

Solution 3
     You can remove the registry entry for the appropriate Server
     (remember changing the registry is the last resort and you should
     always back up your registry before making changes to it).

    1.  Go to the following location in your registry:

           HKEY_LOCAL_MACHINE>System>CurrentControlSet>Services>

     2. Select the name of SAS Service, right click, and select Delete.

     For example:

     HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SAS Lev1 CS -
     BIArchitec

     If you locate the Service and youare  not exactly sure which Server
     you are pointing to, you can look in the right side and highlight
     Image Path, right-click, and select Modify.  The appropriate string
     will be displayed.  For the above entry, the Image Path is

     "C:\Program Files\SAS\SAS 9.1\spawner.exe" C:\SAS\BIArchitecture\
     UninstallerData

See SAS Note  #013332  on how to install SAS servers as services.


Operating System and Release Information

Product FamilyProductSystemSAS Release
ReportedFixed*
SAS SystemBase SASMicrosoft Windows XP Professional9.1 TS1M3
Microsoft Windows Server 2003 Enterprise Edition9.1 TS1M3
Microsoft Windows NT Workstation9.1 TS1M3
Microsoft Windows Server 2003 Standard Edition9.1 TS1M3
Microsoft Windows Server 2003 Datacenter Edition9.1 TS1M3
Microsoft Windows 2000 Server9.1 TS1M3
Microsoft Windows 2000 Advanced Server9.1 TS1M3
Microsoft Windows 2000 Datacenter Server9.1 TS1M3
Microsoft Windows 2000 Professional9.1 TS1M3
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.