Issue
I have set up KeyACCIDENT on one computer and want to use the settings to manually set up KeyACCIDENT on other computers
Solution
Make sure KeyACCIDENT Database and KeyACCIDENT GIS modules have been opened and are connected to the SQL database
KeyACCIDENT will need to be installed on each computer before settings can be copied
The following files and registry values are copied from the existing KeyACCIDENT setup to other computers
- Database connection files
- Last run database values
- KtsUSERS database location value (not if using MS Azure User Authentication user management)
- MS Azure User Authentication configuration file (not if using KtsUSERS user management)
KeyACCIDENT settings can then be copied from the existing KeyACCIDENT setup to other computers as follows:
First, copy the database connection files
1. From the existing KeyACCIDENT setup, copy the XML files from the following folder:
C:\ProgramData\Transoft Solutions\KeyACCIDENT\<Version Number>\Database\
For example:
2. On other computers requiring KeyACCIDENT setup, copy these XML files to the same folder
Then, copy the “Last run database” values
3. From the existing KeyACCIDENT setup, in the Registry Editor go to:
- HKEY_ CURRENT_USER\SOFTWARE\Transoft Solutions\KeyACCIDENT\<Version Number>\
Copy the registry entry values for SQLServerName-DatabaseName
- LastRunDatabase
- LastRunDatabaseGIS
Note: if values not present in HKEY_CURRENT_USER, look in corresponding location in HKEY_LOCAL_MACHINE
i.e. HKEY_LOCAL_MACHINE\SOFTWARE\Transoft Solutions\KeyACCIDENT\<Version Number>\
For example:
Networked server
Azure server
4. On other computers requiring KeyACCIDENT setup, open the Registry Editor and copy LastRunDatabase and LastRunDatabaseGIS values to the same registry keys at:
HKEY_ CURRENT_USER\SOFTWARE\Transoft Solutions\KeyACCIDENT\<Version Number>\
Note: if copied from HKEY_LOCAL_MACHINE, copy to corresponding location in HKEY_LOCAL_MACHINE
i.e. HKEY_LOCAL_MACHINE\SOFTWARE\Transoft Solutions\KeyACCIDENT\<Version Number>\
Then, copy the KtsUSERS database location as follows (not necessary for MS Azure User Authentication)
5. From the existing KeyACCIDENT setup, in the Registry Editor go to:
HKEY_ CURRENT_USER\SOFTWARE\Transoft Solutions\KtsUSERS\<Version Number>\
Copy the registry entry values of server for SQLServerName
Note: if values not present in HKEY_CURRENT_USER, look in corresponding location in HKEY_LOCAL_MACHINE
i.e. HKEY_LOCAL_MACHINE\SOFTWARE\Transoft Solutions\KtsUSERS\<Version Number>\
For example:
6. On other computers requiring KeyACCIDENT setup, open the Registry Editor and copy the SQLServerName to the same server registry key at:
HKEY_ CURRENT_USER\SOFTWARE\Transoft Solutions\KtsUSERS\<Version Number>\
Note: if copied from HKEY_LOCAL_MACHINE, copy to corresponding location in HKEY_LOCAL_MACHINE
i.e. HKEY_LOCAL_MACHINE\SOFTWARE\Transoft Solutions\KtsUSERS\<Version Number>\
Last (Azure User Authentication users only) copy the “AzureConfig” file
7. From the existing KeyACCIDENT setup, copy the AzureConfig.json file from the following folder:
C:\ProgramData\Transoft Solutions\KTS Database Manager\Azure\KeyACCIDENT
For example:
8. On other computers requiring KeyACCIDENT setup, copy the AzureConfig.json file to the same folder