Admin Change Workspace Guide

Topics in this section


Overview

This page contains instructions for deploying an alternate location for the Desktop Connector Workspace. These instructions are intended for IT specialists with an understanding of deploying software products and changing registry keys for creating deployments.

Tip:

For additional information about local change workspace refer to Change Workspace as an Individual User.

The Desktop Connector lets users modify where their workspace (local cache) is stored. You can find out how to do this in the User Change Workspace Guide. If you are an admin aiming to deploy Desktop Connector for multiple users, this Admin Change Workspace Guide will illustrate the process of synchronizing everyone's workspace to a uniform location.

Note: The admin change workspace capability is only available for Desktop Connector V16.9.1.2222 or later.

What is a Desktop Connector Workspace?

A workspace in Desktop Connector is defined as the physical location on the hard drive where your projects are stored and then synced to the cloud in an Autodesk Docs, Drive, or Fusion Connector.

When Desktop Connector is installed the local workspace (cache) will be located at C:\Users\<username>\DC. Your cloud project folder and file structures are replicated in the relevant connector for your data source.

The default path for the Docs, Fusion, and Drive connectors are:

Initiate Change Workspace

Important:

This guide is designed to provide you with step-by-step details on how to modify your workspace location, in accordance with company standards or preferences. Many companies opt to alter their local workspace due to concerns surrounding limited storage capacity in the current workspace location, or to comply with a company-mandated folder structure.

Many applications often use specific file paths, known as absolute paths, to link or reference files. Desktop Connector's default workspace is uniquely set for each user's Windows profile. This could lead to issues when trying to locate file references using absolute paths. To avoid this issue, you can set the local workspace location to be the same for all users. This way, references to absolute paths can easily be resolved.


Change Workspace Requirements

To ensure a successful admin controlled workspace change for your users consider the following requirements:

Initiate Change Workspace

Note:

If these conditions are not met, Desktop Connector will keep using the old workspace.


Best Practices for deploying a Change Workspace as an Admin

Note:

The following instructions will use an example of setting the workspace to C:\ADSK

Important: Administrators should note that setting the WorkspaceLocation value at the HKLM (HKEY_LOCAL_MACHINE) level will affect all users of the machine.

The Registry key (HKLM) can be found at Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Autodesk\Desktop Connector Advanced Settings > WorkspaceLocation = C:\ADSK

Change Workspace HKLM

To apply only to the current user, you can set the registry key (HKCU) at Computer\HKEY_CURRENT_USER\SOFTWARE\Autodesk\Desktop Connector Advanced Settings > WorkspaceLocation = C:\ADSK

Change Workspace HKLU

Important:

Modifying the Windows Registry can have serious effects on a system, so these instructions should be followed with caution. It's always good practice to back up the registry before making a change.


How to Deploy Desktop Connector with a New Workspace

In this step administrators will select the custom workspace location. Each end user will receive a dialog notification informing them a workspace change has been imposed by their admin.

Administrators will need to set the WorkspaceLocation as a string that specifies the location for the NEW workspace. This modification can be made at either the HKLM or HKCU level in the registry. The HKLM level will apply the modifications to all users of the machine, while the HKCU level only applies to the current user.

  1. In the search box on the taskbar, type regedit, then select Registry Editor

  2. Navigate to location: Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Autodesk

  3. Right click Autodesk and Select New > Key

    Create the key

  4. Create Desktop Connector Advanced Settings Key

  5. Create a string value Workspacelocation

  6. Set the value of WorkspaceLocation = C:\ADSK (this folder is used as an example only)

    DC-workspace-stringvalue

  7. Restart Desktop Connector Desktop Connector Tray Icon

  8. After Restarting Desktop Connector you will have a new workspace location.


Exporting the Registry Keys and Creating the Script

Important: If Desktop Connector is already installed on the machine you must exit Desktop Connector before upgrading. Once you have your workspace location defined you can right click the key and export to your working folder for a deployment. You will then create the deployment package using the Registration Entries and the Windows Command Script following this guidance.
  1. OPTIONAL STEP: Create a DCWorkspace.reg to add and set the registry values

    • [HKEY_LOCAL_MACHINE\SOFTWARE\Autodesk\Desktop Connector Advanced Settings] to apply to all users on the machine or [HKEY_CURRENT_USER\SOFTWARE\Autodesk\Desktop Connector Advanced Settings] to apply to the current user.

    • "WorkspaceLocation"="C:\ADSK"

    • Visual example image of DCWorkspace.reg

      DCworkspace Example

  2. Create a Install.cmd file to install Desktop Connector:

    • regedit /s .\DCWorkspace.reg

    • Taskkill /IM desktopconnector.applications.tray.exe /f

    • .\Setup.exe -i install --silent

    • Visual example image of DCWorkspace.reg

      DCWorkspace CMD Example

  3. Place the Install.cmd and DCWorkspace.reg in the same location as the install executable.

  4. Include Install.cmd and DCWorkspace.reg in the SCCM deployment package.


Admin Experience and Troubleshooting

How do I Reset Desktop Connector after an Admin Workspace Change

Important:

When there is a workspace change uninstalling does not eliminate the registry key associated with the admin workspace changes. To return the Desktop Connector to a state resembling a fresh installation, and to restore the default workspace, administrators must manually delete this registry key.

As an administrator, using the Reset Utility and Uninstall Desktop Connector will not reset the workspace location if it has been previously set by you or an individual user. If there is a need to reset a user's workspace, follow these steps to resolve:

  1. Shut Down Desktop Connector

  2. Backup your registry

  3. Navigate to the registry key Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Autodesk\Desktop Connector Advanced Settings or Computer\HKEY_CURRENT_USER\SOFTWARE\Autodesk\Desktop Connector Advanced Settings

  4. Delete WorkspaceLocation

    Change Workspace DeleteKey

  5. Navigate to C:\Program Files\Autodesk\Desktop Connector\Reset\ResetDesktopConnector.exe and run ResetDesktopConnector.exe

    Reset Workspace

  6. Restart Desktop Connector Desktop Connector Tray Icon

After you restart Desktop Connector your workspace will be located at the default location C:\%userprofile%\DC


Admin deploys to Invalid Workspace Path

If the admin selects an invalid workspace location path, then all end users will receive the following dialog when they first restart Desktop Connector.

To select a valid folder path, the admin must follow the steps provided in the How to Deploy Desktop Connector with a new Workspace.


Admin deploys to Directory that is not Empty

The Desktop Connector workspace location chosen by your admin is not empty and needs to be cleared.


Individual User Experience and Troubleshooting

User attempts to initiate a change workspace after Admin Change

The admin has mandated a standard that requires the Desktop Connector workspace to be in a predetermined location.


User Notification that the Workspace location has changed

Your admin has imposed a standard that requires the Desktop Connector workspace to be in a specific location. If this is a new installation, Desktop Connector will start up using the admin-imposed workspace and no input from the user is required.

If the admin imposes a new workspace location for current Desktop Connector users, they are bound to encounter one of two messages.

  1. If there were no project selections impeding their migration users would be greeted with a success dialog, notifying them of their updated workspace location.

    DC Location Changed ADSK

  2. if a user has ongoing project selections or queued jobs, they will be presented with a specific dialog featuring instructions on how to successfully modify their workspace.

    DC Location Changed


User receives Action Needed about existing Project Selections

Important: Verity that you do not have any unsynced changes before unselecting your projects.
  1. Check the Home Screen to see if there are any pending actions and if everything is up to date.

    DC Up to Date

  2. Right-click on the Desktop Connector tray icon and Select Projects.

    DC Select Projects

  3. Move to the My Selections tab

  4. Deselect all the projects within this tab

  5. You will receive notification that projects are being removed from the workspace

  6. Select Save

    Unselect workspace projects

  7. Check that all your projects are successfully removed in the Home Screen.

When you restart Desktop Connector with your new workspace, you will be prompted to select projects you wish to be shown in your local Autodesk Docs connector.


Related Concepts: