How to Use SQL Server Management Studio (SSMS) to Reset Your SQL Password for SOLIDWORKS PDM

Problem

This guide was written to assist with resetting the Microsoft SQL password for SOLIDWORKS PDM or SOLIDWORKS Electrical. This guide can be applied to any products that use Microsoft SQL Server(including Express editions).

Solution Step 1: SQL Server Management Studio

  1. Install Microsoft SQL Server Management Studio (SSMS) from the Microsoft website.
  2. Stop the SQL service and restart the service in single-user mode. The easiest way to do this is in an administrator command prompt. This prevents other users from logging in and prevents your password from being changed.
  3. PDM Pro commands: 
    net stop mssqlserver
    ENTER
    net start mssqlserver /m”Microsoft SQL Server Management Studio”
    ENTER
  4. PDM Standard commands:
    net stop mssql$swpdm
    ENTER
    net start mssql$swpdm /m”Microsoft SQL Server Management Studio”
    ENTER
  5. Electrical commands:
    net stop mssql$TEW_SQLEXPRESS
    ENTER
    net start mssql$TEW_SQLEXPRESS /m”Microsoft SQL Server Management Studio”
    ENTER
Command Prompt Example
  1. Launch SSMS as admin and log in with Windows authentication (be sure to be logged in to Windows with an Administrator account). 

    Log in to SSMS
  2. In the Object Explorer, right-click the Database instance and click Properties

    Access Properties
  3. Click on Security and make sure that "SQL Server and Windows Authentication mode" is selected, and click "OK"

    4_mixed_mode_auth.png
  4. In the Object Explorer, expand Security > Logins and then right-click on the user to change the password with "Properties" 

    Access User Properties
  5. Change the password and confirm the change. Note: tew is for Electrical and sa is for PDM.

    Change the password
  6. Exit Microsoft SQL Server Management Studio
  7. Restart the SQL service in the admin Command Prompt window(multi-user mode). 
  8. PDM Pro commands: 
    net stop mssqlserver
    ENTER
    net start mssqlserver
    ENTER
  9. PDM Standard commands:
    net stop mssql$swpdm
    ENTER
    net start mssql$swpdm
    ENTER
  10. Electrical commands:
    net stop mssql$TEW_SQLEXPRESS
    ENTER
    net start mssql$TEW_SQLEXPRESS
    ENTER

    Command Prompt Start example
  11. Test the login by launching SSMS, using SQL login, and typing in the new password and username sa (PDM) or tew(Electrical).

Updating Credentials in PDM

  1. On the server, launch the PDM Archive Server Configuration application and click Tools > Default Settings, then click Change for SQL Login
Change Archive PDM Password
  1. Launch the Database Server Configuration and type in the new password in the login window.
Type in new password to check it

Updating Credentials in Electrical

  1. On the client computer with SOLIDWORKS Electrical, launch Electrical as admin.
  2. For the connection errors, click "OK" on each error to continue
Click OK for Connection errors
Click ok for database error to continue
  1. Click the Main Menu icon in the upper left and click Application Settings. 
  2. Switch to the Databases tab, then update the password field, and click "Apply", then "OK".
Update the Electrical Password

Electrical will error until the application is restarted. Upon relaunching, it should automatically connect and show the Projects Manager window.

Notes

  • PDM uses sa for the username, and Electrical uses tew
  • PDM Standard and Electrical both use SQL Express named instances, for example: localhost\swpdm and localhost\TEW_SQLEXPRESS
  • There is no default password for PDM, as that is not pre-populated on the initial installation.
  • The default Electrical SQL password for user tew is: SQLpwd4ew.
  • For Electrical users, once the password is reset, update the credentials in both the Installation Manager(modification) and in the Electrical Application Settings on the client computers.

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

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

Articles in this section

Comments

0 comments

Article is closed for comments.