Command-line installation failure - Detail.txt in use

  • Hi.

    I'm having a problem (on 2 different servers) performing a command-line install of SQL2019 with the error:

    The process cannot access the file 'C:\Program Files\Microsoft SQL Server\150\Setup Bootstrap\Log\20220802_031252\Detail.txt' because it is being used by another process.

    Any ideas what might be causing this?

    Thanks.

  • Are you administrator in the server ? and check if the disk is compressed.

    Regards
    Durai Nagarajan

  • Yes I am an administrator on the server and the disk is not compressed.

    Further investigation with Process Monitor is pointing to whichever system process is creating the "Watson_1" folder at:

    C:\Program Files\Microsoft SQL Server\150\Setup Bootstrap\Log\20220802_031252\Watson_1

    This contains a CAB file containing the contents of the parent "Log" folder. I think whatever is putting the "Detail.txt" file into the CAB is also causing the installation to fail.

  • how about policies and access for your login/group. any error in Windows error log which you can post.

    Do we have any other files in .....Setup Bootstrap\Log\20220802_031252\ folder?

    Regards
    Durai Nagarajan

Viewing 4 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic. Login to reply