How to recreate the SQL localDB instance
Use these steps to recreate the Cayosoft Guardian SQL LocalDB instance when requested by Support.
- Stop the Cayosoft Guardian service.
-
Wait 10–15 minutes. After the service is stopped, SQL LocalDB should detect that nothing is using it and shut down after some time.
-
(Optional) Check Task Manager for
sqlservr.exerunning under the System account. -
Do not kill all
sqlservr.exeprocesses. Other products on the server may also use SQL (for example, Cayosoft Guardian).
-
(Optional) Check Task Manager for
- Open Command Prompt as Administrator.
-
Run:
Copy
cd /d "C:\Windows\System32\config\systemprofile\AppData\Local\Microsoft\Microsoft SQL Server Local DB\Instances" -
Run:
Copy
ren CayoInstance CayoInstance2 NOTE: This renames the
CayoInstancefolder, effectively removing it from Guardian’s view so it can be recreated.-
If the
rencommand fails,sqlservr.exeis likely still running and holding the folder. Keep waiting and retrying the command until the rename succeeds. - Start the Cayosoft Guardian service.
Comments
0 comments
Please sign in to leave a comment.