web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

Lost all table indexes due to Ransomware

(0) ShareShare
ReportReport
Posted on by 1,305

Business Central 15.0 OnPrem

the company was hit with Ransomware and have recovered the database, however, it does not include any keys. I cannot start the service due to missing keys and have been adding definitions from a demo database but am hoping there is a script I can run in TSQL that would rebuild from a data dictionary

I have the same question (0)
  • Suggested answer
    Greg Enns Profile Picture
    1,106 on at

    Sorry to hear about this. A few ideas are out there if you're willing to try. Otherwise might be a good idea to contract with an experienced SQL DBA. Here's a few links that seem like they could have some potentially good ideas for you:

    www.sqlservercentral.com/.../how-to-move-indexes-from-one-database-to-another-database

    stackoverflow.com/.../programmatically-copy-indexes-from-one-table-to-another-in-sql-server

    www.toolbox.com/.../

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,468

#2
YUN ZHU Profile Picture

YUN ZHU 923 Super User 2025 Season 2

#3
Sumit Singh Profile Picture

Sumit Singh 607

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans