I have recently done a fresh installation of my work machine. I installed Windows on drive C: but my Users folder is on drive D:. After trying to install SQL Server 2012 Express, I always got errors that said
Could not find the Database Engine startup handle in SQL Server Express 2012
So I checked Windows Event Viewer. I noticed that there were several errors:
Windows cannot find the local profile and is logging you on with a temporary profile. Changes you make to this profile will be lost when you log off.
Windows cannot log you on because your profile cannot be loaded. Check that you are connected to the network, and that your network is functioning correctly.
DETAIL - Only part of a ReadProcessMemory or WriteProcessMemory request was completed.
Windows cannot copy file \?\D:\Users\Default\ to location \?\D:\Users\MSSQL$SQLEXPRESS. This error may be caused by network problems or insufficient security rights.
DETAIL - Access is denied
So I think that the user account which corresponds to SQL Server Express does not have r/w rights to my profile folder on D:.
How do I resolve this? I don't know which user account to add to the folder rights and I don't want to give Everyone the rights.