Wixbox.exe error

I have Win10 pro , and Winbox was working just find , then it stop working., winbox start fine , it does see the router NP ., Then I click on either the MAC or IP address ., it starts to load to enter the router, just after the plugin’s tries to load., winbox error’s out., i tried another profile , on the same computer and it works , the web works fine . any Ideas what might of happened

Are you using latest winbox? (3.11)

Does it happen if you run it as admin?

yes on 3.11 and yes i run it as admin.. i going to turn off unc to see if that works

In the problematic windows profile, go to:
C:\Users<USERNAME>\AppData\Roaming\Mikrotik\Winbox

Close Winbox if open.
Create a folder called Backup, move all the folders in the backup folder.
Delete registry key HKCU\Software\Mikrotik
Run winbox again, does it work now?

If not, use procmon from system internals to track IO of Winbox. It’ll tell you what Winbox is trying to do but can’t.

  • Software Restriction Policies enabled?
  • Antivirus blocking the DLLs running from the roaming appdata?

i will try in a bit

Initializing wait objects…
Initializing debugger…
Initializing debugger functions…
Setting JSON memory management functions…
Initializing capstone…
Initializing Yara…
Getting directory information…
Start file read thread…
Symbol Path: C:\Users\brila\Downloads\snapshot_2016-09-30_01-16\release\x32\symbols
Allocating message stack…
Initializing global script variables…
Registering debugger commands…
Registering GUI command handler…
Registering expression functions…
Registering Script DLL command handler…
Starting command loop…
Loading plugins…
Handling command line…
Initialization successful!
Database file: C:\Users\brila\Downloads\snapshot_2016-09-30_01-16\release\x32\db\winbox (5).exe.dd32
Process Started: 00400000 C:\Users\brila\Desktop\winbox (5).exe
TLS Callbacks: 2
Breakpoint at 004B2800 set!
Breakpoint at 004B27B0 set!
Breakpoint at 004012C0 set!
DLL Loaded: 775A0000 C:\Windows\SysWOW64\ntdll.dll
Mnemonic help database loaded!
Error codes database loaded!
Exception codes database loaded!
NTSTATUS codes database loaded!
Reading notes file…
File read thread finished!
DLL Unloaded: 000D0000 ???
DLL Unloaded: 774C0000 ???
DLL Unloaded: 000D0000 ???
DLL Unloaded: 00790000 ???
DLL Loaded: 741E0000 C:\Windows\SysWOW64\hmpalert.dll
DLL Loaded: 774C0000 C:\Windows\SysWOW64\kernel32.dll
DLL Loaded: 75510000 C:\Windows\SysWOW64\KernelBase.dll
DLL Loaded: 75250000 C:\Windows\SysWOW64\advapi32.dll
DLL Loaded: 75F80000 C:\Windows\SysWOW64\msvcrt.dll
DLL Loaded: 750D0000 C:\Windows\SysWOW64\sechost.dll
DLL Loaded: 75300000 C:\Windows\SysWOW64\rpcrt4.dll
DLL Loaded: 742D0000 C:\Windows\SysWOW64\sspicli.dll
DLL Loaded: 742C0000 C:\Windows\SysWOW64\cryptbase.dll
DLL Loaded: 75010000 C:\Windows\SysWOW64\bcryptprimitives.dll
DLL Loaded: 73C00000 C:\Windows\SysWOW64\apphelp.dll
DLL Loaded: 73920000 C:\Windows\AppPatch\AcLayers.dll
DLL Loaded: 74C30000 C:\Windows\SysWOW64\user32.dll
DLL Loaded: 75E30000 C:\Windows\SysWOW64\gdi32.dll
DLL Loaded: 760C0000 C:\Windows\SysWOW64\shell32.dll
DLL Loaded: 751C0000 C:\Windows\SysWOW64\cfgmgr32.dll
DLL Loaded: 756C0000 C:\Windows\SysWOW64\windows.storage.dll
DLL Loaded: 748D0000 C:\Windows\SysWOW64\combase.dll
DLL Loaded: 75200000 C:\Windows\SysWOW64\shlwapi.dll
DLL Loaded: 74400000 C:\Windows\SysWOW64\kernel.appcore.dll
DLL Loaded: 75BC0000 C:\Windows\SysWOW64\SHCore.dll
DLL Loaded: 74820000 C:\Windows\SysWOW64\powrprof.dll
DLL Loaded: 756B0000 C:\Windows\SysWOW64\profapi.dll
DLL Loaded: 74300000 C:\Windows\SysWOW64\oleaut32.dll
DLL Loaded: 74410000 C:\Windows\SysWOW64\setupapi.dll
DLL Loaded: 73900000 C:\Windows\SysWOW64\mpr.dll
DLL Loaded: 66680000 C:\Windows\SysWOW64\sfc.dll
DLL Loaded: 733A0000 C:\Windows\SysWOW64\winspool.drv
DLL Loaded: 740B0000 C:\Windows\SysWOW64\bcrypt.dll
DLL Loaded: 71DD0000 C:\Windows\SysWOW64\sfc_os.dll
DebugString: “FTH: (10832): *** Fault tolerant heap shim applied to current process. This is usually due to previous crashes. ***\n”
DLL Loaded: 752D0000 C:\Windows\SysWOW64\imm32.dll
DLL Loaded: 74A90000 C:\Windows\SysWOW64\comdlg32.dll
DLL Loaded: 75C50000 C:\Windows\SysWOW64\FirewallAPI.dll
DLL Loaded: 76050000 C:\Windows\SysWOW64\netapi32.dll
DLL Loaded: 75420000 C:\Windows\SysWOW64\ole32.dll
DLL Loaded: 753C0000 C:\Windows\SysWOW64\ws2_32.dll
DLL Loaded: 72010000 C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_5.82.10586.0_none_811bc0006c44242b\comctl32.dll
DLL Loaded: 74050000 C:\Windows\SysWOW64\IPHLPAPI.DLL
DLL Loaded: 70A50000 C:\Windows\SysWOW64\wininet.dll
DLL Loaded: 71DE0000 C:\Windows\SysWOW64\davhlpr.dll
System breakpoint reached!
DLL Loaded: 71980000 C:\Windows\SysWOW64\fwbase.dll
INT3 breakpoint “TLS Callback 1” at winbox (5).004B2800 (004B2800)!
INT3 breakpoint “TLS Callback 2” at winbox (5).004B27B0 (004B27B0)!
INT3 breakpoint “entry breakpoint” at <winbox (5).EntryPoint> (004012C0)!
DLL Loaded: 61450000 C:\Windows\SysWOW64\SortServer2003Compat.dll
DLL Loaded: 73F00000 C:\Windows\SysWOW64\uxtheme.dll
DLL Loaded: 74D80000 C:\Windows\SysWOW64\msctf.dll
DLL Loaded: 10000000 C:\Program Files (x86)\AnVir Task Manager\AnvirHook8.dll
DLL Loaded: 70500000 C:\Windows\SysWOW64\msimg32.dll
DLL Loaded: 6DE10000 C:\Program Files (x86)\Common Files\Microsoft Shared\Ink\tiptsf.dll
DLL Loaded: 64FC0000 C:\Program Files (x86)\Stardock\WindowFX\wfx4.dll
DLL Loaded: 6FD90000 C:\Windows\SysWOW64\dwmapi.dll
Thread 4338 created, Entry: 7394C710
DLL Loaded: 70830000 C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.10586.839_none_ea8af107b9b5cbb4\comctl32.dll
DLL Loaded: 74BA0000 C:\Windows\SysWOW64\clbcatq.dll
DLL Loaded: 61870000 C:\Windows\SysWOW64\UIAutomationCore.dll
DLL Loaded: 74090000 C:\Windows\SysWOW64\userenv.dll
Thread 43B8 created, Entry: 775CC6D0
Thread 2944 created, Entry: 775CC6D0
Thread 220C created, Entry: 7498B390
Thread 417C created, Entry: 775CC6D0
Thread FD0 created, Entry: 7498B390
DLL Loaded: 74120000 C:\Windows\SysWOW64\sxs.dll
DLL Loaded: 73FF0000 C:\Windows\SysWOW64\mswsock.dll
DLL Loaded: 753B0000 C:\Windows\SysWOW64\nsi.dll
DLL Loaded: 6D790000 C:\Windows\SysWOW64\dhcpcsvc6.dll
DLL Loaded: 6D690000 C:\Windows\SysWOW64\dhcpcsvc.dll
Thread 1D70 created, Entry: 74009E60
DLL Loaded: 704A0000 C:\Windows\SysWOW64\oleacc.dll
DLL Loaded: 61EC0000 C:\Windows\SysWOW64\WindowsCodecs.dll
DLL Loaded: 67F90000 C:\Windows\SysWOW64\DataExchange.dll
DLL Loaded: 6F920000 C:\Windows\SysWOW64\d3d11.dll
DLL Loaded: 67440000 C:\Windows\SysWOW64\dcomp.dll
DLL Loaded: 6F2F0000 C:\Windows\SysWOW64\dxgi.dll
DLL Loaded: 66C80000 C:\Windows\SysWOW64\twinapi.appcore.dll
Thread FD0 exit
Thread 220C exit
First chance exception on 00000000 (C0000005, EXCEPTION_ACCESS_VIOLATION)!
DLL Loaded: 76040000 C:\Windows\SysWOW64\psapi.dll
DLL Loaded: 74080000 C:\Windows\SysWOW64\version.dll
Thread 2944 exit
Thread 417C exit
Thread 43B8 exit
Thread 1D70 exit
Thread 4338 exit
Process stopped with exit code 0x0
Saving database…
16ms
Debugging stopped!

Procman no use., so i use my debugger ., and now it works , the issue was after this line


Thread 1D70 created, Entry: 74009E60
DLL Loaded: 704A0000 C:\Windows\SysWOW64\oleacc.dll
DLL Loaded: 61EC0000 C:\Windows\SysWOW64\WindowsCodecs.dll
DLL Loaded: 67F90000 C:\Windows\SysWOW64\DataExchange.dll
DLL Loaded: 6F920000 C:\Windows\SysWOW64\d3d11.dll
DLL Loaded: 67440000 C:\Windows\SysWOW64\dcomp.dll
DLL Loaded: 6F2F0000 C:\Windows\SysWOW64\dxgi.dll
DLL Loaded: 66C80000 C:\Windows\SysWOW64\twinapi.appcore.dll
Thread FD0 exit
Thread 220C exit
First chance exception on 00000000 (C0000005, EXCEPTION_ACCESS_VIOLATION)!
DLL Loaded: 76040000 C:\Windows\SysWOW64\psapi.dll
DLL Loaded: 74080000 C:\Windows\SysWOW64\version.dll
Thread 2944 exit
Thread 417C exit
Thread 43B8 exit
Thread 1D70 exit
Thread 4338 exit
Process stopped with exit code 0x0
Saving database…
16ms
Debugging stopped!

I fixed the problems using a debugger ., the problem was nothing with the app., but how i was using winbox., i was double clicking on the “Neighbors → MAC Address” link ., so I tried to go directly to the Connect button , and it works every time ., the MAC Address is already populated in the "Connect to " box ., the issue was double clicking on the MAC address in the list first. then I just click on the Connect button ., that’s it., the debugger walk me though the process of opening and connecting to the router