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:

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

************** 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 section.
The application must also be compiled with debugging

For example:

    < jitDebugging="true" />

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.


Andrew Langford   4 years 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   4 years 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   4 years 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   4 years 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   4 years 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   4 years 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 --