I have a new Windows 10 Home machine and I want to install SQL server. I already have Visual Studio 2017 installed and SSMS 2017 (Which I initially though installed SQL).
On first try I got this error:
VS Shell installation has failed with exit code 1638
And found I needed to Uninstall the Microsoft Visual C++ 2017 Redistributable (x86) and (x64), install SQL Server, then reinstall the Microsoft Visual C++ 2017 Redistributable (x86) and (x64). As seen here
Then I got this error:
Attempted to perform an unauthorized operation
I have been trying to install SQL Server for 4 weeks now
Edit:
I found the logs but the error seems the same:
Launch the SQL Server Setup program (setup.exe) from SQL Server installation media. After prerequisites and system verification, the Setup program will display the SQL Server Installation Center page. Click Maintenance in the left-hand navigation area, and then click Repair to start the repair operation.
Uninstall the existing SQL Server and all the components from the add remove program. Backup the registry. Go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall and delete all the sub-keys referencing SQL Server.
A security application installed on the server was preventing SQL Server setup to get access
After weeks of Googling i turns out my machine came with a bit of software called Bull Guard which conflicts with SQL Server. After uninstalling this software the problem was solved. (Disabling the service didn't work)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With