How to change your default warehouse, working directory and default update location before or after installing Endpoint Security and Control

  • Article ID: 63184
  • Rating:
  • 15 customers rated this article 4.5 out of 6
  • Updated: 26 May 2016

We recommend using the default C drive locations for the default warehouse, working directory and update locations.

The following should only be used in circumstances where the C drive cannot be used, for example low disk space. The disk space requirements are specified in the the following article:

Where possible, we recommend that you change your default warehouse, working directory and update locations before using the Download Security Software wizard.

Known to apply to the following Sophos product and version
Sophos Update Manager
Enterprise Console

Before

  1. Once the wizard opens, do not continue until you have performed the following steps.
  2. Open the file system.xml in a text editor and make your changes.
  3. Save your changes, restart the Sophos Update Manager service and then continue with the wizard.

After

  1. Create a new folder e.g. S:\Sophos
  2. Remove the SophosUpdate share from:
    • Windows 2008+: C:\ProgramData\Sophos\Update Manager\Update Manager\
    • Windows 2003: C:\Documents and Settings\All Users\Application Data\Sophos\Update Manager\Update Manager\
  3. Create a new subdirectory called 'Update Manager' (e.g. S:\Sophos\Update Manager) 
  4. Modify the permissions on the new subdirectory to include:
    • SumUser (specified during installation): Read & Execute
    • Users: Read & Execute
    • NETWORK SERVICE: Full Control
  5. Share the new subdirectory (S:\Sophos\Update Manager) as 'SophosUpdate' changing the share permissions to:
    • Everyone: Full Control
  6. Create a new subdirectory called ‘Working' (e.g. S:\Sophos\Working)
  7. Modify the permissions on the new subdirectory to include:
    • SumUser: Read & Execute
    • Users: Read & Execute
    • NETWORK SERVICE: Full

      Note: The SumUser is the account specified during the Enterprise Console installation. For further information see article 113954.

  8. Stop the Sophos Update Manager service.
  9. Open the file system.xml in a text editor and make your changes. For example:
    • Change LocalPath from:
      • Windows 2008+: C:\ProgramData\Sophos\Update Manager\Update Manager\
      • Windows 2003: C:\Documents and Settings\All Users\Application Data\Sophos\Update Manager

        to S:\sophos\Update Manager

    • Change TempPath from:
      • Windows 2008+: C:\ProgramData\Sophos\Update Manager\Update Manager\Working
      • Windows 2003: C:\Documents and Settings\All Users\Application Data\Sophos\Update Manager\Working

        to S:\sophos\Working

  10. Save your changes
  11. Open the file config.xml from the same location as system.xml
    • Search and replace:
      • Windows 2008+: C\ProgramData\Sophos\Update Manager\Update Manager
      • Windows 2003:   C:\Documents and Settings\All Users\Application Data\Sophos\Update Manager\Update Manager

        with S:\sophos\Update Manager

  12. Save your changes
  13. Delete file config.xml~
  14. Start the Sophos Update Manager service.
  15. In the Update Managers view, right-click the Update Manager that you have just changed and select 'Comply with Configuration'. This will update all of your update policies and locations automatically.
  16. Right-click the Update Manager again and select 'Update Now'.
  17. Check that you have the following folders:
    • S:\Sophos\Update Manager\CIDs
    • S:\Sophos\Update Manager\Warehouse
    • S:\Sophos\Working
    • And the share \\computername\SophosUpdate
  18. Once you have confirmed that the new location is working properly, delete the default locations:

    • Windows 2008/2012:
      Warehouse: C:\ProgramData\Sophos\Update Manager\Update Manager\Warehouse
      Working directory: C:\ProgramData\Sophos\Update Manager\Working
      Update Location: C:\ProgramData\Sophos\Update Manager\Update Manager\CIDs
    • Windows 2003:
      Warehouse: C:\Documents and Settings\All Users\Application Data\Sophos\Update Manager\Update Manager\Warehouse
      Working directory: C:\Documents and Settings\All Users\Application Data\Sophos\Update Manager\Working
      Update Location: C:\Documents and Settings\All Users\Application Data\Sophos\Update Manager\Update Manager\CIDs

Note: The original working directory may exceed the 256 character path limit in Windows. This will result in an error while attempting to delete the original working directory referring to a locked or missing file.

Workaround
To delete the old working directory:

  1. Open that directory and, delete what you can.
  2. The sub-directories you can’t delete you can rename to a shorter name. (The sub directories are 32 character GUID’s and many have sub directories with the same structure.)
  3. You can now delete these sub-directories and then delete the old working directory.

 
If you need more information or guidance, then please contact technical support.

Rate this article

Very poor Excellent

Comments