Microsoft KB Archive/930868

= How to relocate the content directory for Microsoft SoftGrid =

Article ID: 930868

Article Last Modified on 3/20/2007

-

APPLIES TO


 * Microsoft SoftGrid for Terminal Services
 * Microsoft SoftGrid for Windows Desktops

-



INTRODUCTION
This article describes how to relocate the content directory for Microsoft SoftGrid. You may have to relocate the content directory for Microsoft SoftGrid because of disk space limitations or because of other reasons.



MORE INFORMATION
The default path of the content directory is %ProgramFiles%\Softricity\SoftGrid Server\content. The path of the content directory is configured in the following two locations:
 * The local registry of the SoftGrid Virtual Application Server
 * The SoftGrid database

When the SoftGrid Virtual Application Server service starts, it tries to connect to the path that is configured in the registry. If the SoftGrid Virtual Application Server service does not connect, it tries to connect to the path that is configured in the SoftGrid database. If the SoftGrid Virtual Application Server service again does not connect, it does not start. We recommended that you do not configure the path in the SoftGrid database.

Note The following steps require the SoftGrid Virtual Application Server service to be stopped and then started. This will cause the SoftGrid client to lose the connection to the server. Therefore, SoftGrid-enabled applications will exit or will enter Minimal Disconnected Operation. We recommend that you close all client sessions before you follow these steps.

Step 1: Configure the registry
To configure the path of the content directory, follow these steps  Start Registry Editor. Expand the following registry key:

HKEY_LOCAL_MACHINE\SOFTWARE\Softricity\SoftGrid Server\CurrentVersion

 Right-click SOFTRICITY_SOFTGRID_CONTENT_DIR, and then click Modify. In the Value data box, type the path of the content directory, and then click OK. Exit Registry Editor.

Step 2: Configure the security permissions and the share permissions
By default, the SoftGrid Virtual Application Server service logon account is the Local System (SYSTEM) account. This account requires read security permissions to the content directory.

To determine the account, follow these steps:
 * 1) Click Start, click Control Panel, double-click Administrative Tools, and then double-click Services.
 * 2) Right-click SoftGrid Virtual Application Server, click Properties, and then click the Log On tab.
 * 3) If Log on as is configured for Local System account, note the account as the Local System (SYSTEM) account.
 * 4) If Log on as is configured for This account, note the account that is specified by This account.
 * 5) On the File menu, click Exit.

After you determine the account, follow these steps to configure the permissions.

Note If Log on as is configured for Local System account, and the content directory is local to the SoftGrid Virtual Application Server, use the Local System (SYSTEM) account when you grant permissions. If the content directory is a UNC path, use the SoftGrid Virtual Application Server local computer account when you grant permissions.
 * 1) In Windows Explorer, locate the content directory.
 * 2) Right-click content, click Properties, and then click the Security tab.
 * 3) Add the account that you previously noted, grant Allow Read permissions, and then click OK.
 * 4) Exit Windows Explorer.

If the path of the content directory is a UNC path, the account requires read share permissions. To grant read share permissions, follow these steps:
 * 1) In Windows Explorer, locate the content directory.
 * 2) Right-click the share, click Properties, and then click the Sharing tab.
 * 3) Add the account that you previously noted, grant Allow Read permissions, and then click OK.
 * 4) Exit Windows Explorer.

Step 3: Relocate the data in the content directory
Copy the contents of the original content directory to the relocated content directory.

Step 4: Restart the SoftGrid Virtual Application Server service
The SoftGrid Virtual Application Server service must be stopped and then restarted for the changes to take affect. To do this, follow these steps:
 * 1) Click Start, click Control Panel, double-click Administrative Tools, and then double-click Services.
 * 2) Right-click SoftGrid Virtual Application Server, and then click Stop.
 * 3) Right-click SoftGrid Virtual Application Server, and then click Start.
 * 4) On the File menu, click Exit.

Keywords: kbexpertiseinter kbhowto KB930868

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.