After installing a new SQL Server 2012 Instance, I wish to move the database files to a separate drive. When I perform File->Properties on the target location and then click Security->Edit->Add->Advanced, select Location=MachineName, and click find, I see only the form related to analysis services:
SQLServerMSASUser$MachineName$InstanceName
I think the permission I really need is this one which I can see exists in the default C: drive location:
MSSQL$InstanceName
When I attempt to just enter it directly it is unrecognized. If I set the directory to “Everyone” and then move the database there (using a restore) it works and shows the above permission on the mdf file. How can I set that permission on the parent directory when it isn’t showing up as an available entry in the list. Thanks!
Looking at the install logs, the account MSSQL$InstanceName is shorthand for:
NT Service\MSSQL$InstanceName
which can be entered directly. I still don’t know why these don’t show up in the list though.