exit code (decimal): -2068052377error description: invalid command line argument. consult the window installer sdk for detailed command line help

Dukanhh 40 Reputation points
2024-05-29T14:08:19.1766667+00:00

This morning I was still able to use sql, I was curious and deleted something like SQLEXPRESS16, then I uninstalled all sql and reinstalled it all, and used quite a few cmd commands that I didn't know to uninstall but still nothing. I can't remove them, and now what should I do, they are too difficult for me. Please help me as soon as possible, I have a test coming up on June 11 and I need to practice them.

Summary_Duknh_20240529_205625.txt, Detail.txt

SQL Server | Other
{count} votes

Accepted answer
  1. MikeyQiaoMSFT-0444 3,300 Reputation points
    2024-05-30T02:01:08.9833333+00:00

    Hi,Dukanhh

    Reinstallation failures are generally attributed to incorrect cleanup methods. Please refer to the following this link to manually remove all SQL Server files and registry entries, and then attempt to reinstall.

    I completely understand your frustration, don't worry, we will keep following up on your issue.

    Best Regards,

    Mikey Qiao


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    1 person found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. Erland Sommarskog 121.4K Reputation points MVP Volunteer Moderator
    2024-05-30T20:52:45.3966667+00:00

    I can add a titbit about the link Mikey shared with you. Myself, I originally learnt about this article when I tried to help someone else who also had installation problems, and the prospects seemed dire. This poster found this article, followed the instructions and - success!

    When you repeatedly have been going forth and back like you have done, it may be difficult to get things going. The best solution may be to create a virtual machine and install SQL Server on the VM. If you have never worked with VMs before, there is certainly a hurdle. But VMs are a great asset, so there is a value in its own to get started with them.

    1 person found this answer helpful.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.