Configuring SOSOS

The run-time settings for each member of the SOSOS suite are contained in XML-based configuration files with a file extension of ".config". For example, the settings for the SOSOS.exe application are contained in a file called SOSOS.exe.config.

To launch the configuration utility inside the SOSOS application, you use the main menu to select Setup and then click on Configure SOSOS. Changes made are not effective until the program is restarted.

Setup Menu

Required Settings

The first configuration "tab" contains settings that must be configured prior to running many of the SOSOS applications.

The Database Provider and Connect String information is required for database functionality. The Use Ping Validation setting determines if an ICMP "ping" will be used to verify that a remote PC is online prior to attempting a connection.

Required Settings

Database Settings:

Note: Use the button to the right of the pull-down to launch a utility that will help you choose a database provider and build the connection string.

Error logging Settings:

Ping Remote PCs before connecting:

Feature Selection

The Feature Selection "tab" allows an administrator to select which features should be used when collecting data. This can be useful in speeding up the collection of data by disabling features that are not required.

Feature Selection

Note: The feature selection settings are useful for performing a "one-off" scan of the network, where you are only concerned about a few features. This technique works best when you collect the data into a separate database (otherwise existing entries in the database will be deleted and replaced with just the few features selected).

Polling Defaults

The Polling Defaults "tab" will set the defaults used by SOSOS to control polling options, set the location and detail level of the log file, and set the default settings to be used to generate the list of PCs to be polled.

Note: Not all settings are applicable to every polling method.

Polling Defaults

Set the default values used during polling:

Note: These settings are just the defaults… they can be changed during run time.

The SOSOS application provides an opportunity to change these setting via a form prior to polling. See the User’s Guide for additional details.

Note: You may need to experiment with the value for the Concurrent PCs to file the optimum setting for your environment.

Feature Settings

The Feature Settings tab is used to change the way certain features work. The settings for the Events control how much event log data is collected. The File/Server settings are used for gathering login, version, and server status. The File Information List and Registry List allow an administrator to gather information about an ad-hoc list of files and registry keys.

Note: Event log data is often huge and might take several minutes to collect (particularly on servers). Use these feature settings to limit the amount of data collected and thereby speed up the collection process.

Feature Settings

Events:

Note: When used together, data gather stops when either filter condition is "satisfied" (a logical OR condition).

Files/Servers:

File Information List

Registry List

Ad-hoc list – A list of registry keys that SOSOS uses to collect registry values for the Registry table. Enter one registry key per line.

The File Information List and Registry List features are designed to satisfy the needs for information that might be specific to your organization without the need to modify and recompile the application. Administrators can merely edit the configuration file to start gathering this "ad-hoc" information.

User Settings

These settings control the program’s visual defaults that each user may customize.

Note: The user’s default settings are automatically saved when exiting the program. These settings are retrieved and applied the next time the application is launched.

User Settings

Default User Setting:

Note: These settings are the defaults for new users of the application. They have no effect on existing users who may have already saved these settings.

Additional Text File Configuration

The SOSOS suite uses several text files that may need to be created or text files that may require permissions to be set.

Error Log: The Error Log file needs to be created on a network share where it is available to all users on the network. This file requires read and write permissions for users of the application.

Last Login: The text file used by the Last Login feature is typically created from a login batch file. The batch file might include the following commands:

echo %USERDOMAIN%\%USERNAME% > C:\Utils\User.txt 2>nul

Note: The contents of the file are not relevant…SOSOS only uses the last modification date of the file.

Appropriate permission would be required for all users to create or overwrite this file.

Install Version: The text file used by the Install Version feature is created when the PC is first loaded. It contains the "signature" of the master image used to clone the PC. The format of the file looks like this:

v1.2.1<tab>1 Jan 2006
<tab><tab>Short description of image v1.2.1
<blank line>
v1.2.2<tab>15 Jan 2006
<tab><tab>Changes made from v1.2.1 to v1.2.2

Note: Only the last line that starts with the letter "v" is used.

Users only need read access to this file.

Database Setup

The SOSOS suite does not have a built-in database… instead it relies on a 3rd-party database application to store its information.

Note: A database is not absolutely required. However a lot of SOSOS functions are designed around a database and will be disabled when a database is not configured.

SOSOS is designed to record the most current information into the database. This means that older records are completely replaced with new records. Therefore, the database does not contain a "history" of previous data. If your organization requires historical data, then you should consider downloading the optional BackupSOSOS source code from the SOSOS web site to create archive copies of the live database.

Supported Databases

SOSOS can use any database that is supported by the .Net Framework. The choice of database "providers" and "drivers" (particularly with the OLEDB and ODBC driver) allows support for practically every database. The more common databases used are:

Microsoft SQL Server Express Edition is an excellent choice and is available as a free download at: http://www.microsoft.com/en-us/sqlserver/editions/2012-editions/express.aspx.

Prototype Files

As part of the setup of SOSOS, you will be required to create a database. To aid in the creation of this database, the SOSOS Distribution Kit includes two files that can be used as a "prototype".

Most databases have a migration tool that will take a Microsoft Access "mdb" file and convert it into the native structure. Alternately, you can use the provided set of SQL scripts to create the database.

The exact steps required to create a database is highly dependent upon the database vendor and is beyond the scope of this document. It is recommended that an experienced database administrator perform these tasks.

Note: When migrating, make sure that the primary key and foreign key constraints are successfully converted from the prototype.

Additional Requirements for Remote PCs

In order to successfully obtain SOSOS data from a remote PC, all of the following must be true:

Administrator Account

The account used on the local PC to gather information on a Remote PC must be in the administrators group on the Remote PC. Typically, you’d use an account that’s in the Domain Administrators group to remotely gather SOSOS data.

The User Account Control (UAC) feature of Windows Vista doesn't allow for a connections to a remote Windows Vista PC when the user in logged in via a local account. This isn’t normally a problem, since members of the Domain Administrators group are "domain accounts" and not a "local accounts". However, in a Workgroup environment (where you only have local accounts), you must disable UAC on the Remote PC.

From the Control Panel, click on User Accounts, and click on "Turn User Account Control on or off". Clear the checkbox and press the OK button. (This change will require a reboot).

Firewall Settings

A common requirement is to configure the firewall settings for Windows XP SP2 clients to allow for "Remote Administration". You can use a Group Policy Object (GPO) or use the following command line on each PC:

netsh firewall set service RemoteAdmin enable

For additional information on configuring the WinXP Firewall to allow Remote Administration traffic, see: http://msdn.microsoft.com/en-us/library/windows/desktop/aa389286(v=vs.85).aspx.

For Windows Vista, the technique used to allow remote connections via WMI is a bit different.

From the Control Panel, click Security, click Windows Firewall, click Change Settings, and then click the Exceptions tab. In the Exceptions window, put a check for the item Windows Management Instrumentation (WMI). Alternately, you use the following command line:

netsh advfirewall firewall set rule group="windows management instrumentation (wmi)" new enable=yes

For additional information, see: http://msdn.microsoft.com/en-us/library/aa822854.aspx

The Windows Vista firewall may also need to be configured to allow File and Print Sharing.

Remote Registry Services

By default, Windows Vista has the "Remote Registry" service set to Manual and it is stopped. So, in order to connect to a remote Windows Vista PC, you'll have to set the service "start type" to Automatic (and start the service).

From the Control Panel, click Administrative Tools and then click Services. Select the "Remote Registry" service and change the Start Type to Automatic.

Administrative Share

All modern operating system have a C$ "Administrative Share" that is configured to allow administrators to gain access to the drive remotely. SOSOS typically does not require any changes to the default configuration.

Additional Notes

Some Microsoft operating systems do not allow Remote Administration at all. Both Windows XP Home Edition and Windows Millennium have the Remote Administration feature deliberately disabled.

Note: That means that you can not use SOSOS to gather information remotely from a PC running WinXP Home. But, obviously SOSOS works just fine when run locally on WinXP Home.