I am having trouble running .reg files with wine. I have tried a few solutions that other people have used but when I launch it return the following error:

There is no windows program configured to open this type of file.

I have tried the following:

  • wine regedit regkey.reg
  • Importy registry file in regedit
  • wine start regkey.reg

The .reg file I am using works fine in my actual Windows system.

  • wine regedit regkey.reg should work... – Wilf Jun 7 '15 at 19:16

I managed to reimport exports done with wine's $> regedit:

wine start regedit.exe /home/myname/path/foo.reg 

Note: foo.reg coming from wine's regedit looks a little different than usual_:



In constrast the (non-working) native form:

Windows Registry Editor Version 5.00


The first version works reliably. But I am not sure, how to transform the latter to the former... (replacing line 1 is trivial, but according to what rules getting to those „simplified“ keys...)

| improve this answer | |
  • great thanks, that worked for my wine on macOS like a charm – Laszlo May 23 '19 at 20:54

I managed to find the problem. It might have had something to do with the original solutions I posted. After I had done those I clicked on the .reg file and said "Open With Wine Registry Editor"

| improve this answer | |

For some reason I was not able to see, when right click on .reg file, "Open with wine Registry Editor"...maybe because of wine version. buy the way I found another way to run .reg files. You need to open regedit from Playonlinux configuration options.

  1. Open Playonlinux
  2. Open "Configure"
  3. Select the program from the list you need to apply the .reg file
  4. Select Wine "window"
  5. Registry Editor
  6. Import .reg file

It worked for me but still I can not understand why I can not see "Open with wine registry editor" when right click on the .reg file.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.