question

BadeaValentin-2105 avatar image
0 Votes"
BadeaValentin-2105 asked Yufeishao-msft answered

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

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-general
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

Yufeishao-msft avatar image
0 Votes"
Yufeishao-msft answered

Hi @BadeaValentin-2105,

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://docs.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.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.