Hello
I have installed Windows 11 a month ago; everything works fine except for an application that I developed using Visual Studio and SQL Server Express.
I uninstalled everything that concerns SQL, deleted the directories and registry keys.
I reinstalled SQL server 2019 EXPRESS and I got an error when I want to open the base 'master': "Failed to create a user instance SQL Server due to a failure to start the process for the instance user".
The log file begins by
"2023-08-25 16:15:18.32 Server Microsoft SQL Server 2019 (RTM) - 15.0.2000.5 (X64)
Sep 24 2019 13:48:23 Copyright (C) 2019 Microsoft Corporation
Express Edition (64-bit) on Windows 10 Home 10.0 <X64> (Build 22621: ) (Hypervisor)
2023-08-25 16:15:18.33 Server UTC adjustment: 2:00
2023-08-25 16:15:18.33 Server (c) Microsoft Corporation.
2023-08-25 16:15:18.33 Server All rights reserved.
2023-08-25 16:15:18.33 Server Server process ID is 5172.
2023-08-25 16:15:18.33 Server System Manufacturer: 'GIGABYTE', System Model: 'BRi5(H)-10210E'.
2023-08-25 16:15:18.33 Server Authentication mode is WINDOWS-ONLY.
2023-08-25 16:15:18.33 Server Logging SQL Server messages in file 'C:\Users\Marcel\AppData\Local\Microsoft\Microsoft SQL Server Data\SQLEXPRESS\error.log'.
2023-08-25 16:15:18.33 Server The service account is 'FIXE-MARCEL\Marcel'. This is an informational message; no user action is required.
2023-08-25 16:15:18.33 Server Command Line Startup Parameters:
-U "C:\Program Files\Microsoft SQL Server\MSSQL15.SQLEXPRESS\MSSQL\Template Data"
-d "C:\Users\Marcel\AppData\Local\Microsoft\Microsoft SQL Server Data\SQLEXPRESS\master.mdf"
-l "C:\Users\Marcel\AppData\Local\Microsoft\Microsoft SQL Server Data\SQLEXPRESS\mastlog.ldf"
-e "C:\Users\Marcel\AppData\Local\Microsoft\Microsoft SQL Server Data\SQLEXPRESS\error.log"
-S "SQLEXPRESS"
-s "3BB31569-504D-4F"
2023-08-25 16:15:18.33 Server SQL Server detected 1 sockets with 4 cores per socket and 8 logical processors per socket, 8 total logical processors; using 8 logical processors based on SQL Server licensing. This is an informational message; no user action is required.
2023-08-25 16:15:18.33 Server SQL Server is starting at normal priority base (=7). This is an informational message only. No user action is required.
2023-08-25 16:15:18.33 Server Detected 16221 MB of RAM. This is an informational message; no user action is required.
2023-08-25 16:15:18.33 Server Using conventional memory in the memory manager.
2023-08-25 16:15:18.33 Server Page exclusion bitmap is enabled.
2023-08-25 16:15:18.43 Server Buffer Pool: Allocating 2097152 bytes for 1253927 hashPages.
2023-08-25 16:15:18.44 Server Default collation: French_CI_AS (Français 1036)
2023-08-25 16:15:18.47 Server Buffer pool extension is already disabled. No action is necessary.
2023-08-25 16:15:18.50 Server InitializeLaunchpadUserSid failed with error code: 0x80004005
2023-08-25 16:15:18.50 Server InitializeLaunchpadUserSid failed. Implied authentication will be disabled. ErrorCode: 0x80004005.
2023-08-25 16:15:18.50 Server Implied authentication manager initialization failed. Implied authentication will be disabled, failure: 0x80004005
2023-08-25 16:15:18.50 Server Query Store settings initialized with enabled = 1,
2023-08-25 16:15:18.51 Server The maximum number of dedicated administrator connections for this instance is '1'
2023-08-25 16:15:18.51 Server Node configuration: node 0: CPU mask: 0x00000000000000ff:0 Active CPU mask: 0x00000000000000ff:0. This message provides a description of the NUMA configuration for this computer. This is an informational message only. No user action is required.
2023-08-25 16:15:18.51 Server Using dynamic lock allocation. Initial allocation of 2500 Lock blocks and 5000 Lock Owner blocks per node. This is an informational message only. No user action is required.
2023-08-25 16:15:18.51 spid1s Open of fault log C:\Users\Marcel\AppData\Local\Microsoft\Microsoft SQL Server Data\SQLEXPRESS..\log\exception.log failed.
2023-08-25 16:15:18.51 spid1s Open of fault log C:\Users\Marcel\AppData\Local\Microsoft\Microsoft SQL Server Data\SQLEXPRESS..\log\exception.log failed.
"
Thanks to explain me what is wrong, and the way of reparing it