How to Migrate SOLIDWORKS PDM to a New Active Directory Domain

Problem 

This guide instructs SOLIDWORKS PDM administrators and IT professionals on the process of updating Windows PDM Users after changing Active Directory domains.

Solution

  1. On the Archive Server, search for the Archive Server Configuration Manager in your Start Menu, then open it.
  2. Expand the Archive folder and right-click on the vault that you would like to modify. Select Properties from the context menu.
  3. Navigate to the Login tab. If the 'login type' is set to "Use default login type", continue to step 4; otherwise, skip to step 5.
  4. If the login type is set to "Use default login type", close the Properties window and navigate to Tools > Default Settings...
  5. Next to the "Windows login" type, click "Settings..."
  6. Add the Users and/or Groups from the new domain by typing them into the field and pressing "Add". Please note that you'll need to use the format: DOMAIN\USERNAME. After you have added all of the appropriate users, press OK on the "Select Users and Groups" window.
Add Users and press OK when done
  1. In the Settings pane, navigate to the Security tab. Add the appropriate Users and Groups from the new domain to the Administrative Access and Attach Access fields. Please note that ALL users who wish to create local vault views must be added to the Attach Access field. Once you are done adding them, press OK.
update domain
  1. In most cases, changing domains will not affect existing users in the Vault that are using the Windows login type, provided that the new domain contains the same Active Directory logins. 
  2. If the usernames in the new domain match the old ones perfectly, you can skip the remainder of this guide and simply restart the Archive Server by hitting the button shown below. If the login names do not perfectly match between the new and old domains (for example: "DOMAIN-1\JohnDoe" and "DOMAIN_2\JohnD"), please continue to step 10.
restart archive server
  1. Assuming that the usernames on the old server don't match, firstly, you will need to add a new backup Windows login to the SQL Server. Open SQL Server Management Studio and log in to the database using the 'SA' credentials.
  2. Expand the Security folder, then right-click on the Logins folder and select "New Login..." Enter the credentials of the Windows user account that you would like to use as a backup SQL administrator account in the format: DOMAIN\USERNAME.
  3. On the Server Roles tab, add the 'sysadmin' role.
  4. On the User Mapping tab, select each vault-specific database as well as the ConisioMasterDb (one at a time) and select the 'db_owner' database role. Press OK to close the window and confirm the changes.
  5. At this point, we have two options: either create new users through the Administration Tool to replace the old ones, which had a different username in the old domain, or update the SQL databases' 'Users' table to specify the new usernames. For the former option, please refer to the PDM Administration Guide; for the latter option, continue to step 16.
  6. Before directly modifying the SQL tables, please create backups following the instructions in the guide below: How to Export PDM Databases
  7. In SQL Management Studio, expand the Databases folder. Next, expand the vault-specific database folder, then expand the 'Tables' folder. Locate the table titled "dbo.Users" and right-click it. Select "Edit Top 200 Rows." For each entry in the Username column (except for the 'Admin', 'SA' and 'NULL' entries), modify it to contain the username from the new domain. Hit Enter after modifying each entry.
update username in database table
  1. When you are done modifying the entries, hit the blue "Save All" button, and close out of SQL Management Studio. Close out of any open Explorer or PDM windows as well.
  2. Open your Start Menu search box. Search for "services.msc". Open the Services application. Right-click and restart the following services:
  • SQL Server (MSSQLSERVER)
  • SOLIDWORKS PDM Database Server
  • SOLIDWORKS PDM Archive Server

Please note that depending on your PDM setup, the Archive Server service may be on a separate server.

  1. If everything was done correctly, you should be able to log in to the vault using the new credentials both locally and over the network on remote clients. You should also be able to attach new Vault Views on client machines without being prompted for your domain credentials.

 For additional support, existing customers can submit a ticket or new customers can contact Hawk Ridge Systems.

 

Was this article helpful?
0 out of 0 found this helpful

Articles in this section

Comments

0 comments

Article is closed for comments.