I had been running winbox using wine for years on my macbook pro, it’s only recently that it stopped working and I am trying to find out why…
I have upgraded wine to the latest stable v8.0
I have downloaded a fresh new copy of winbox.exe v3.37
Made sure permissions from macos are allowed via the “Privacy & Security” tab of settings
MacOS Ventura v13.3.1, M1 chip
This is my iMac that has the problem… I can still run winbox on my macbook pro, which uses wine 6.0.2 and the same MacOS version (13.3.1), so I am guessing this is a problem particular to my iMac…
When I run winbox from the command line via wine, I get the error bellow:
$ wine64 winbox64.exe
0074:err:ntoskrnl:ZwLoadDriver failed to create driver L"\\Registry\\Machine\\System\\CurrentControlSet\\Services\\wineusb": c0000142
003c:fixme:service:scmdatabase_autostart_services Auto-start service L"wineusb" failed to start: 1114
00a4:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
00a4:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
00a4:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
00a4:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0024:err:dnsapi:DllMain No libresolv support, expect problems
0024:err:module:LdrInitializeThunk "ws2_32.dll" failed to initialize, aborting
0024:err:module:LdrInitializeThunk Initializing dlls for L"Z:\\Users\\thanpolas\\Documents\\winbox\\winbox64.exe" failed, status c0000142
I don’t know which interfaces you’re using or what is your exact set-up. But if you use it as a router with dhcp server, then yes better not change anything and just allow winbox on input of the firewall, or use vpn if its on a public network.
Like I said, Wine 8.7 64bit works fine on M1 MBP. Just had the issue like in this thread, killed all wine processes, installed Wine 8.7 and working good now.
I appreciate that it works now but a few weeks ago it didnt. It still needs Rosetta and devel version of Wine.
Had other issues with Wine Devel killing my M1 battery in a few hours.
All I am asking for is a more native solution here and remove the dependancy on Wine
For those who want more convenient way to run windows apps using wine directly from MacOS Finder here is AppleScript which can be added into Automator app:
on run {input, parameters}
if (count of input) > 0 then
set exePath to POSIX path of item 1 of input as string
set exeDir to characters 1 thru -((offset of "/" in (reverse of items of exePath as string)) + 1) of exePath as string
do shell script "nohup bash -lc \"cd '" & exeDir & "' && wine64 '" & exePath & "'\" >/dev/null 2>&1 &"
end if
return input
end run
Create Automator app, ex: winrun.app with this script above and assign that app in “Get Info->Open With” for files with .exe extension.
Commands in do shell script… needs to be in PATH env. or add full path for these binaries in script.
I’m running with this Windows applications on Mac for a long time, its great for small programs like Winbox.
You’ll need to use wine-devel as macOS Ventura 13.3 increased the size of some dylibs this screwed with how preloader works, this issue was already resolved in wine-devel see Bugzilla 54420