Connecting to a Windows Mapped Drive

When Spectrum Technology Platform is running on a Windows server, it can access data on the server's mapped drives. Since the Spectrum Technology Platform server runs as a Windows service under a particular user account (often the Local System account) you need to define the mapped drive in the server's start-up process in order for it to be visible in Spectrum Enterprise Designer and Spectrum Management Console.

  1. Stop the Spectrum Technology Platform server.
  2. Under the folder where the Spectrum Technology Platform server is installed, go to server\bin\wrapper. For example, C:\Program Files\Precisely\Spectrum\server\bin\wrapper.
  3. Open the file wrapper.conf in a text editor.
    Important: In the following steps you will add new properties to this file. It is important that you follow these instructions precisely and only add and modify the properties described in the following steps. Do not modify any of the other properties in this file.
  4. Add these lines:
    wrapper.share.1.location
    wrapper.share.1.target
    wrapper.share.1.type
    wrapper.share.1.account
    wrapper.share.1.password
  5. In the wrapper.share.1.location property, specify the location of the mapped drive in UNC format.
    Note: Do not include a trailing backslash in the UNC.

    For example,

    wrapper.share.1.location=\\myserver\share
  6. In the wrapper.share.1.target property, specify the drive letter to assign to this mapped drive.

    For example,

    wrapper.share.1.target=Y:
  7. In the type property, specify DISK.

    For example,

    wrapper.share.1.type=DISK
  8. If the share you are connecting to requires a user name and password, specify the user name in the wrapper.share.1.account property and specify the password in the wrapper.share.1.password property.

    For example,

    wrapper.share.1.account=domain\user123
    wrapper.share.1.password=mypassword1
    Note: If the Spectrum Technology Platform server service is running under the Local System user, you cannot specify a user name and password. If the share requires a user name and password you must modify the service to run under a different account.

Example

This example shows two mapped drives being defined in the wrapper.conf file.

wrapper.share.1.location=\\myserver\data
wrapper.share.1.target=Y: 
wrapper.share.1.type=DISK
wrapper.share.1.account=sample\user
wrapper.share.1.password=samplepass
wrapper.share.2.location=\\myserver\moredata
wrapper.share.2.target=Z: 
wrapper.share.2.type=DISK
wrapper.share.2.account=sample\user
wrapper.share.2.password=samplepass