Unable to install SQL Server 2019 : the system cannot find the path specified

Badea Valentin 1 Reputation point
2021-08-25T14:53:26.73+00:00

I got this error trying to install SQL Server. I unistalled every Sql from contorl panel and delete Microsoft SQL Server from Program Files before trying to install again. I have the same error. I tried this link https://www.mssqltips.com/sqlservertip/4050/cleanly-uninstalling-stubborn-sql-server-components/ but i get an error on the line : $a = c:\temp\msiinv.exe -s | Select-String "SQL Server" -Context 1,1;
Any suggestion?

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
12,877 questions
{count} votes

1 answer

Sort by: Most helpful
  1. YufeiShao-msft 7,061 Reputation points
    2021-08-26T06:42:02.97+00:00

    Hi @Badea Valentin ,

    You can try to uninstall SQL Server in this way: http://www.sqlcoffee.com/Tips0026.htm
    There are many reasons for cannot find the path specified error, such as invalid path in your path directory, wrong path in your path environment, corrupted software, you can check your SQL Server setup log within %programfiles%\Microsoft SQL Server\150\Setup Bootstrap\Log(https://learn.microsoft.com/en-us/sql/database-engine/install-windows/view-and-read-sql-server-setup-log-files?view=sql-server-ver15#:~:text=SQL%20Server%20Setup%20creates%20log%20files%20in%20a,The%20time-stamped%20log%20folder%20name%20format%20is%20YYYYMMDD_hhmmss.) to local the specific problem.
    And try to reinstall from https://www.microsoft.com/en-us/sql-server/sql-server-downloads, running the SQL Server installation media as administrator, on server configuration page, please change SQL Server Database Engine account and SQL Server Agent account to local System(NT AUTHORITY\SYSTEM) to ensure these accounts have enough permission.

    0 comments No comments