SQL Clone
SQLServerCentral is supported by Redgate
Log in  ::  Register  ::  Not logged in

Get your favorite SSC scripts directly in SSMS with the free SQL Scripts addin. Search for scripts directly from SSMS, and instantly access any saved scripts in your SSC briefcase from the favorites tab.
Download now (direct download link)


By Clifton Collins,

Backs up the SQL Server EM registration from the registry. Assumes that EM is configured to save common, not by user/independently.

I recommend changing EM to Store locally for all users, (not independently) and create a weekly scheduled job to backup the HKLM..\..\Registered Servers X branch.

Configure EM to store settings for the local machine, all users:
A. Choose the menu items; Tools, Options
B. Go to the General tab
C. Un-Check the Read/Store user independent box.
D. Click OK

Create a weekly job to execute the following batch file, (with sql server agent or windows scheduler), SQLServerRegistrationBackup.bat. The batch file backs up the local machine registry branch, HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\80\Tools\SQLEW\Registered Servers X.

[batch to execute] [action] [backvolume] [backdirectory]
SQLServerRegistrationBackup.bat backup c temp

Total article views: 313 | Views in the last 30 days: 3
Related Articles

How do I run a batch file stored on one server from another?

Run batch file remotely from local BIDS


local package with batch file not running when using job

local package with batch file not running when using job


local server

no local server


Error Registering server

Error Registering server on local machine


SQL Server Radio – Virtualization and Independent Consulting

I recently recorded a podcast with the SQL Server Radio group and discussed virtualization, high ava...