Recovering from a failed installation
It is unlikely that you will need to recover from a failed installation. However, some failures, such as out of disk space, will require this cleanup and reinstall.
Oracle
1. Start the Services Manager.
a. Go to your computer's Control Panel.
b. Double-click Administrative Tools.
c. Double-click Services.
2. Stop all Creo Elements/Direct services.
3. Stop the OracleServiceSID.
4. Delete the database.
a. Choose > > > > > .
b. Follow the instructions to delete a database.
5. Delete classes.* from \Program Files\PTC\Creo Elements\Direct Manager Server 20.7\db_files.
6. Delete files from your SID from the \oracle\product\19.0.1\oradata\SID directory.
7. Run the Creo Elements/Direct Manager Server installation.
SID refers to the instance name you selected for your Oracle instance, which is usually WM.
SQL Server 2022
1. Choose > > > .
2. Delete the database.
a. In the Object Explorer, locate the database under Databases (usually WM).
b. Right-click the database and choose Delete.
3. Delete the medmgr user from SQL Server 2019.
a. Expand Security.
b. Expand Logins.
c. Locate the medmgr user.
d. Right-click medmgr and choose Delete.
4. Delete classes.* from \Program Files\PTC\Creo Elements\Direct Manager Server 20.7\db_files.
5. Run the Creo Elements/Direct Manager Server installation.
SQL Server Express 2022
If the installer shows a communication error when you install Creo Elements/Direct Manager Server for the first time, you must add the SYSTEM user to the sysadmin group on SQL Server using the following steps:
1. Press the Windows key or click Start.
2. Type command prompt in the search bar. The search results appear.
3. Righ-click Command Prompt in the search results and select Run as administrator.
A User Account Control (UAC) window opens.
4. Click Yes to open a command window with administrative privileges.
5. At the command prompt, change the directory to the directory in which the GrantSysadmin.bat file is located.
For example, cd 'C:\Program Files\PTC\Creo Elements\Direct Manager Server 20.9\install'
6. Enter the name of the batch file (GrantSysadmin.bat) to run it.
7. Re-run the setup.exe file for Creo Elements/Direct Manager Server installation.