Cannot find my keywords.ini

I've been using keybreeze probably for over 10 years, I love it, and I have been building my keywords. Last time when I moved computers, I was able to just replace all paths easily by editing my file, but I can't seem to find the file now. I know it's there somewhere. I probably messed something up when I restored from my backups last time because even know I can't seem to go into options it gives me error.

 

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.Security.SecurityException: Requested registry access is not allowed.
   at System.ThrowHelper.ThrowSecurityException(ExceptionResource resource)
   at Microsoft.Win32.RegistryKey.OpenSubKey(String name, Boolean writable)
   at Keybreeze.frmOptions.frmOptions_Load(Object sender, EventArgs e)
   at System.Windows.Forms.Form.OnLoad(EventArgs e)
   at System.Windows.Forms.Form.OnCreateControl()
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.Control.CreateControl()
   at System.Windows.Forms.Control.WmShowWindow(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ContainerControl.WndProc(Message& m)
   at System.Windows.Forms.Form.WmShowWindow(Message& m)
   at System.Windows.Forms.Form.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
The Zone of the assembly that failed was:
MyComputer


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.8813 (QFE.050727-8800)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
Keybreeze
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///D:/Dropbox/Keybreeze4/Keybreeze.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.8015 (FX35W81RTMGDR.050727-8000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.8806 (QFE.050727-8800)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.8019 (FX35W81RTMGDR.050727-8000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Core
    Assembly Version: 3.5.0.0
    Win32 Version: 3.5.30729.7903 built by: Win9Rel
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.



6 comments.




Andrew Langford   3 months ago   Answer

The keywords.ini was replaced with a keywords.json file a while back. The file should be located in the %appdata%/Keybreeze5 directory. I would recommend closing Keybreeze and making a backup of the file before modifying it.

The error above looks to be related to the "Load Keybreeze at Windows Startup" setting in the Options window, since that checks the registry. Are you logged in as a local administrator on the machine? You could try right clicking Keybreeze.exe and clicking Run as Administrator to see if that prevents that error. There was also a setting added in version 5.5.2 to skip the registry check. More details on this should be on the Download > View release notes page.

hydex   3 months ago
Hi Andrew, Thank you very much. Found it in AppData\Roaming\Keybreeze4. I am still using 4 because 4 was just working fine, and I never really needed anything more than what 4 offered until this point. Since I will be installing keybreeze in the new machine, it will get 5 treatment. Since I am still on 4 and I use keywords.ini, please confirm I can still upgrade to 5 and still use the old keywords and letter commands?
Andrew Langford   3 months ago
Yes, when you update to version 5, it will retain your keywords and letter commands. It will convert the INI files to JSON files, but the settings should still be there.
hydex   3 months ago
Hi Andrew, I just realized the latest version has a lot of limits compared to KB4, and to my surprise it comes with only trial version. After using it for many years, I think it's definitely worth the $10 price tag, and well deserved. Thanks for this amazing software, and reasonable priced license option. Will be glad to purchase this as soon as my new workstation is setup and ready to go.
hydex   3 months ago

I just installed it in the new workstation but how do I move my keywords from Keybreeze4 keywords.ini to Keybreeze5 keywords.json? Do I need to update to Keybreeze5 in the old PC first?

Andrew Langford   3 months ago
There are basically two ways you can do it -- You can update to Keybreeze5 on the old PC first and then copy the %appdata%\Keybreeze5 settings to your new machine (while Keybreeze Desktop is closed). Then you should have the same settings on both machines. The second way would be to uninstall Keybreeze Desktop 5.x on your new machine, copy the %appdata%\Keybreeze4 settings from your old machine to the new one. Then install Keybreeze Desktop 5.6.0 on your new machine. It should detect your 4.x settings and automatically convert them to JSON files. More information about this is in this post -- https://keybreeze.com/forum/post/23/where-are-my-settings-stored-how-do-i-transfer-settings-to-another-machine.