How to fix 'The specified directory for the INSTALLSHAREDDIR parameter is not valid'

By FoxLearn 5/21/2024 9:47:27 AM   119
How to fix 'The specified directory, “C:\Program Files (x86)\Microsoft SQL Server\”, for the INSTALLSHAREDDIR parameter is not valid because this directory is compressed or is in a compressed directory. Specify a directory that is not compressed.'

The error message you're encountering, "The specified directory for the INSTALLSHAREDDIR parameter is not valid," typically indicates that there's an issue with the directory path specified during the installation of SQL Server.

SQL Server Setup has encountered the following error

Error code 0x858C001E

sql server setup failure

Here's a step-by-step guide to troubleshoot and fix this issue:

Moving

64 bit

C:\Program Files (x86)\Microsoft SQL Server

32 bit

C:\Program Files\Microsoft SQL Server

Next, Right-click on your folder, then select properties

microsoft sql server properties

Clicking Advanced button

advanced attributes

Uncheck "Compress contents to save disk space", then click OK button.

Finally, Reinstall your SQL Server.