Sửa lỗi error 1067 the process terminated unexpectedly

Error 1067: The process terminated unexpectedly'?

Error 1067: The process terminated unexpectedly is an error that usually occurs when installing a software, which is not compatible with the Windows version you are using.

How can you fix 'Error 1067 the process terminated unexpectedly'?

Some of the solutions to this error include:

  • Checking the Windows version
  • Deleting temporary files
  • Reinstalling the program
  • Running the SFC/ scannow command and DISM command

Please see our in-depth walk-through solutions below.

1. Check Windows Version

"Error 1067: The process terminated unexpectedly" may occur when you install a software that's incompatible with the version of Windows you are using. Make sure the software you are installing is compatible with the Windows version. If not, please download the correct software for your Windows version.

Sửa lỗi error 1067 the process terminated unexpectedly

Image Credit: genesismarasigan / ErrorSolutions.tech

To check Windows version, click Windows Start then type in System Information and then press Enter key or press Windows Logo key + R then type msinfo32.exe and press Enter key. However, if the issue persists, please see other solutions below.

2. Delete the Temporary Files

"Error 1067: The process terminated unexpectedly" may also appear when you have recently uninstalled a software that may be installing now. The reason is that files related to your previously installed software were not deleted when it was uninstalled. It may cause the problem when you try reinstalling that software.

Sửa lỗi error 1067 the process terminated unexpectedly

Image Credit: genesismarasigan / ErrorSolutions.tech

Usually, temporary files are deleted after a restart. If you already did a restart, try to delete the temporary files manually. Please see below or watch it here on YouTube.

  1. Press Windows Logo key + E key.
  2. Go to C:\Users\username\
  3. Click view tab, check the checkbox Hidden items.
  4. Open AppData\Local\Temp
  5. Crtl + A key, then right the highlighted files, and select Delete.
  6. Click continue to confirm.
  7. Then, restart your PC and try to install the software.

3. Reinstall the program

"Error 1067: The process terminated unexpectedly" may also occur when you try to install application or a higher version of it, without first uninstalling the software and deleting temporary files related to it.

Sửa lỗi error 1067 the process terminated unexpectedly

Image Credit: genesismarasigan / ErrorSolutions.tech

  1. Go to Control Panel.
  2. Then open Uninstall a Program.
  3. Right-click the application that gets "Error 1067: The process terminated unexpectedly."
  4. Select Uninstall.
  5. Restart the PC when finished.
  6. Please delete temporary files, see solution 2.
  7. Then reinstall the application again.
  8. Check if "Error 1067: The process terminated unexpectedly" still appears.

Run SFC / scannow command and DISM commandIf “Error 1067: The process terminated unexpectedly” persists, a Windows system file might be corrupt. Try to scan your computer using SFC / scannow command and DISM command to check and fix any corrupt system files. A video tutorial is provided below including the command you need to copy and paste in the command prompt.

Error 1067 is a common error you may encounter in SQL Server databases. This error may appear with different messages, such as:

  • Could not start the program services on local computer
  • The SQL Server (MSSQLSERVER) service terminated with service-specific error (1067).
  • The SQL Server (MSSQLSERVER) service terminated with the following service-specific error: The process terminated unexpectedly.

Such an error message means that the SQL Server service failed to start.

Let’s discuss the causes that may lead to this error and the different ways to fix the issue.

Causes of the Error 1067

The following causes can produce the error 1067 in SQL Server:

  • Incorrect configuration
  • System files are damaged and corrupted
  • Insufficient system resources

What to do if you see this error?

Here are some solutions you can follow to troubleshoot and fix the error.

Check the Event Viewer

You can start with checking the Event Viewer. The Event Viewer shows common errors in the system and applications, including SQL Server. You can check for critical errors and verify if some of them are responsible for the error.

Sửa lỗi error 1067 the process terminated unexpectedly

Right-click on Applications and select Filter Current Log to filter the errors.

Sửa lỗi error 1067 the process terminated unexpectedly

Try to filter critical error messages and look for MSSQLServer errors.

Sửa lỗi error 1067 the process terminated unexpectedly

You can also check other errors.

Check the Error Log

SQL Server also includes an Error Log. To open it, in SSMS, go to Object Explorer.

In Object Explorer, go to the Management folder and SQL Server Logs.

You can see the log files there.

Sửa lỗi error 1067 the process terminated unexpectedly

You can double-click the current log to read all the log messages. You may find the causes of the error there.

Sửa lỗi error 1067 the process terminated unexpectedly

Use the SQL Server Configuration Manager

Verify that the SQL Server service is configured to start automatically.

  • In the SQL Server Configuration Manager, go to SQL Server Services and verify if the Start Mode is Automatic.

Sửa lỗi error 1067 the process terminated unexpectedly

  • Verify that the account has the necessary permissions to start the service.

Sửa lỗi error 1067 the process terminated unexpectedly

  • If you suspect that the problem is with the account, try to restart the service with a different account. To do so, double-click the service name and go to the Log On tab. Browse and select any other account to check if the service works with a different account.

Sửa lỗi error 1067 the process terminated unexpectedly

Repair Corrupted Files

Sometimes, the files in the installation directory get corrupted. In such a case, go to the SQL Server installation wizard and try to fix the problem using the setup.

Open the setup.exe and go to the Maintenance tab. Press the Repair option and follow the wizard to repair the files.

Sửa lỗi error 1067 the process terminated unexpectedly

Check for Memory Problems

Sometimes, the error occurs due to lack of memory. You can use the Task Manager or the Performance Monitor to verify the memory available in the server.

Sửa lỗi error 1067 the process terminated unexpectedly

If a lot of memory is used by other programs, close the ones that are not being used. Make sure that the memory usage is below 90%. If you do not have applications and processes opened, then you may need to increase the RAM used by the server or the virtual machine.

Check Disk Space

Sometimes, the problem is just the disk space. You can use Windows Explorer to check the space in your disk.

Sửa lỗi error 1067 the process terminated unexpectedly

If the space is not enough, you may need to remove some programs to increase the space or move the data files to a different disk. In some cases, you may need to add more disks to your machine and migrate some data from the disk to another one.

The attach database statement can be used in this situation. You may need to detach your database first and then attach it to a new location to freeze some disk space.

  • To detach a database, right-click on it and go to Properties > Files and check the path.

Sửa lỗi error 1067 the process terminated unexpectedly

  • Once you know the path of the data file and log file, right-click the database and select Tasks > Detach.

Sửa lỗi error 1067 the process terminated unexpectedly

You can use the Windows Explorer to copy and paste the data files and log files to the new disk.

  • To attach the (detached) database, right-click the database node and select Attach.

Sửa lỗi error 1067 the process terminated unexpectedly

  • Press the Add button and look for your data and log files. Finally, press the OK button. You will have your database at the new location.

Sửa lỗi error 1067 the process terminated unexpectedly

What if the SQL Server database is corrupt?

If your SQL database is corrupt, a third-party SQL database repair software, such as Stellar Repair for MS SQL can help you to fix your database in a quick and simple way. It is a simple and intuitive software that can be used to repair corrupt or damaged .mdf files in SQL Server.

The software can recover any objects, such as tables, views, stored procedures, synonyms, etc. It also supports the recovery of large databases. This software is compatible with MS SQL Server 2019, 2017, and lower versions.

Conclusion

In this article, we discussed different ways to troubleshoot and fix the SQL Server error 1067. You can check the Event Viewer or the Error log, check the service and permissions using the SQL Server Configuration Manager, or use the Task Manager to check the memory. In case the database is corrupt, you can use Stellar Repair for MS SQL to repair the database.