Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Database Master Password and Credentials After Database Restore
#7
After restore of db in different server, try running below query replacing the DBname and MasterPassword.

USE [RemoteDesktop];
OPEN MASTER KEY DECRYPTION BY PASSWORD = '<MasterPassword>';
ALTER MASTER KEY DROP ENCRYPTION BY SERVICE MASTER KEY; -- ignore error if absent
ALTER MASTER KEY ADD ENCRYPTION BY SERVICE MASTER KEY;
CLOSE MASTER KEY;
Thank You,
Pavan
Reply


Messages In This Thread
RE: Database Master Password and Credentials After Database Restore - by pavankumarc - 10-11-2026, 10:42 AM



Users browsing this thread: 1 Guest(s)