While migrating a machine with many MSSQL instances, I
have found that I cannot reinstante the permissions for
the directories with databases for each instance.
On the original machine, each directory had permissions
for the user, under which the correspoinding instance was
started: NT Service\MSSQL$<instance_name> . These are
called virtual accounts:
https://learn.microsoft.com/en-us/sql/database-engine/configure-windows/configure-windows-service-accounts-and-permissions#VA_Desc
and are meant to facilitate administration. I my case
however, they are a problem, because neither on the
original machine, nor on the one we are migraing to, can
we add any of those virtual accounts to directory
permissions. Virtual accounts are not listed under either
of
Service Accounts,
Built-in security principals,
or Users.
Where in the system are they? Somewhere they must be, for
Windows services for MSSQL instances are started under
those accounts.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 508 |
Nodes: | 16 (0 / 16) |
Uptime: | 238:52:05 |
Calls: | 9,985 |
Calls today: | 3 |
Files: | 13,836 |
Messages: | 6,358,297 |