Wine not running application as administrator

Wine version 11.12
OS is Manjaro
Kernel is 7.1.3

Im trying to run an application called Anvil Toolkit which is used for unpacking and repacking .forge and .data files for various ubisoft games, whenever i try to launch it the application itself is giving me an error saying that its not being ran as administrator, the application is being launched correctly just not as administrator.
Im aware that wine should be running things as administrator by default so i have tried updating wine to the latest version and created a fresh wine prefix but i’m still having no luck. im not sure if its the application that is the issue here or if wine is just not running it as administrator, if anyone knows a way that i can test to make sure that wine is running apps as admin that would help me narrow down the issue a bit.

Here is the output from the terminal when i try to run the application, i am running the application with the command: wine AnvilToolkit.exe

libEGL warning: pci id for fd 31: 10de:2504, driver (null)

pci id for fd 33: 10de:2504, driver (null)
pci id for fd 34: 10de:2504, driver (null)
libEGL warning: egl: failed to create dri2 screen
libEGL warning: pci id for fd 31: 10de:2504, driver (null)

pci id for fd 33: 10de:2504, driver (null)
pci id for fd 34: 10de:2504, driver (null)
libEGL warning: egl: failed to create dri2 screen
libEGL warning: pci id for fd 31: 10de:2504, driver (null)

0024:fixme:process:GetProcessGroupAffinity (FFFFFFFFFFFFFFFF,00007FFFFE28F2F4,0000000000000000): stub
0024:fixme:heap:GetNumaHighestNodeNumber semi-stub: 00007FFFFE28F2C0
0024:fixme:process:GetProcessGroupAffinity (FFFFFFFFFFFFFFFF,00007FFFFE28F2C0,0000000000000000): stub
0024:fixme:seh:WerRegisterRuntimeExceptionModule (L"C:\\Program Files\\dotnet\\shared\\Microsoft.NETCore.App\\9.0.18\\mscordaccore.dll", 00006FFFFA6D0000) stub
0024:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
0024:fixme:ntdll:EtwEventSetInformation (deadbeef, 2, 00000001802262E8, 34) stub
0024:fixme:ntdll:EtwEventSetInformation (deadbeef, 2, 000000018021A228, 17) stub
0024:fixme:ntdll:EtwEventSetInformation (deadbeef, 2, 00007EF9FB40E748, 29) stub
0024:fixme:ntdll:EtwEventSetInformation (deadbeef, 2, 00000001802220D8, 38) stub
0024:fixme:nls:get_dummy_preferred_ui_language (0x8 0x809 00007FFFFE28CA10 0000000000000000 00007FFFFE28CA08) returning a dummy value (current locale)
0024:fixme:nls:get_dummy_preferred_ui_language (0x8 0x809 00007FFFFE28CA10 00007FFFFE28C960 00007FFFFE28CA08) returning a dummy value (current locale)
0024:fixme:ntdll:NtQuerySystemInformation SystemLeapSecondInformation - stub
0024:fixme:combase:RoActivateInstance (00007FFFFE8CCB70, 00007FFFFE28D728): semi-stub
0024:fixme:combase:RoGetActivationFactory (L"Windows.UI.ViewManagement.UISettings", {00000035-0000-0000-c000-000000000046}, 00007FFFFE28D638): semi-stub
0024:fixme:ui:uisettings_QueryInterface {ecc8691b-c1db-4dc0-855e-65f6c551af49} not implemented, returning E_NOINTERFACE.
0024:fixme:msg:ChangeWindowMessageFilter c043 00000001
0024:fixme:dwmapi:DwmAttachMilContent (0000000000020052) stub
0130:fixme:gdi:GdiEntry13 stub
libEGL warning: pci id for fd 69: 10de:2504, driver (null)

pci id for fd 71: 10de:2504, driver (null)
pci id for fd 72: 10de:2504, driver (null)
libEGL warning: egl: failed to create dri2 screen
libEGL warning: pci id for fd 69: 10de:2504, driver (null)

pci id for fd 71: 10de:2504, driver (null)
pci id for fd 72: 10de:2504, driver (null)
libEGL warning: egl: failed to create dri2 screen
libEGL warning: pci id for fd 69: 10de:2504, driver (null)

0130:fixme:dwrite:dwritefactory_CreateMonitorRenderingParams (0000000000000001): monitor setting ignored
0024:fixme:win:RegisterPowerSettingNotification (0000000000010072,{02731015-4510-4526-99e6-e5a17ebd1aea},0): stub
0024:fixme:wtsapi:WTSRegisterSessionNotification Stub 000000000001006C 0x00000000
0024:fixme:msg:ChangeWindowMessageFilterEx 000000000001006C c03d 1 00007FFFFE28D5A8
0024:fixme:msg:ChangeWindowMessageFilterEx 000000000001006C 111 1 00007FFFFE28D5A8
0024:fixme:ntdll:EtwEventSetInformation (deadbeef, 2, 0000000180221CA0, 40) stub
0130:fixme:d3d:wined3d_device_apply_stateblock Last Pixel Drawing Disabled, not handled yet.
0138:fixme:d3d:state_linepattern_w Setting line patterns is not supported in OpenGL core contexts.
0024:fixme:dwrite:dwritetextanalyzer_AnalyzeNumberSubstitution (00007EF9092D49C0 0 2 00007EF9092D4A00): stub
0138:fixme:d3d_shader:print_glsl_info_log Info log received from GLSL shader #12:
0138:fixme:d3d_shader:print_glsl_info_log Vertex info
0138:fixme:d3d_shader:print_glsl_info_log -----------
0138:fixme:d3d_shader:print_glsl_info_log 0(26) : warning C7050: "vs_out[3]" might be used before being initialized
0138:fixme:d3d_shader:print_glsl_info_log 0(26) : warning C7050: "vs_out[4]" might be used before being initialized
0138:fixme:d3d_shader:print_glsl_info_log 0(26) : warning C7050: "vs_out[5]" might be used before being initialized
0138:fixme:d3d_shader:print_glsl_info_log 0(26) : warning C7050: "vs_out[6]" might be used before being initialized
0138:fixme:d3d_shader:print_glsl_info_log 0(26) : warning C7050: "vs_out[7]" might be used before being initialized
0138:fixme:d3d_shader:print_glsl_info_log 0(26) : warning C7050: "vs_out[8]" might be used before being initialized
0138:fixme:d3d_shader:print_glsl_info_log 0(26) : warning C7050: "vs_out[9]" might be used before being initialized
0138:fixme:d3d_shader:print_glsl_info_log 0(26) : warning C7050: "vs_out[10]" might be used before being initialized
0138:fixme:d3d_shader:print_glsl_info_log 0(26) : warning C7050: "vs_out[11]" might be used before being initialized
0138:fixme:d3d_shader:print_glsl_info_log Info log received from GLSL shader #18:
0138:fixme:d3d_shader:print_glsl_info_log Vertex info
0138:fixme:d3d_shader:print_glsl_info_log -----------
0138:fixme:d3d_shader:print_glsl_info_log 0(26) : warning C7050: "vs_out[2].zw" might be used before being initialized
0138:fixme:d3d_shader:print_glsl_info_log 0(26) : warning C7050: "vs_out[3]" might be used before being initialized
0138:fixme:d3d_shader:print_glsl_info_log 0(26) : warning C7050: "vs_out[4]" might be used before being initialized
0138:fixme:d3d_shader:print_glsl_info_log 0(26) : warning C7050: "vs_out[5]" might be used before being initialized
0138:fixme:d3d_shader:print_glsl_info_log 0(26) : warning C7050: "vs_out[6]" might be used before being initialized
0138:fixme:d3d_shader:print_glsl_info_log 0(26) : warning C7050: "vs_out[7]" might be used before being initialized
0138:fixme:d3d_shader:print_glsl_info_log 0(26) : warning C7050: "vs_out[8]" might be used before being initialized
0138:fixme:d3d_shader:print_glsl_info_log 0(26) : warning C7050: "vs_out[9]" might be used before being initialized
0138:fixme:d3d_shader:print_glsl_info_log 0(26) : warning C7050: "vs_out[10]" might be used before being initialized
0138:fixme:d3d_shader:print_glsl_info_log 0(26) : warning C7050: "vs_out[11]" might be used before being initialized
0130:fixme:dwmapi:DwmGetCompositionTimingInfo (0000000000000000 00007EF95429FC70)
0130:fixme:dwmapi:DwmFlush stub.

-----application is running at this point and after pressing “ok” on the error message the below is displayed-----

0024:fixme:win:UnregisterPowerSettingNotification (00000000DEADBEEF): stub
0024:fixme:wtsapi:WTSUnRegisterSessionNotification Stub 000000000001006C
0024:fixme:ntdll:EtwEventSetInformation (deadbeef, 2, 00007EF9FDEF4D30, 64) stub
0024:fixme:ntdll:EtwEventSetInformation (deadbeef, 2, 00007EF9FE117490, 65) stub
0148:fixme:kernelbase:AppPolicyGetThreadInitializationType FFFFFFFFFFFFFFFA, 00007EF918FEFF50
0024:fixme:ntdll:EtwEventSetInformation (deadbeef, 2, 000000018021B108, 51) stub
0024:fixme:file:GetTempPath2W (260, 00007FFFFE28D720) semi-stub
0024:fixme:dwmapi:DwmDetachMilContent (0000000000020052) stub
0024:fixme:unwind:call_user_apc_dispatcher flags 0x3 are not supported.

Mod edit: Added code formatting.

If you value your system’s integrity…

Do not ever run wine applications in a Linux root context.

In wine the windows administrator account concept is not existing.

Any and all wine application inherits your Linux user’s permissions.

EDIT

Note the fixme deadbeef and stub - all indicators that the functionality does not exist, don’t know how to handle or it has no meaning in a Linux environment.

deadbeef is a well known hexadecimal value - a magic value - what it exactly mean in the context depends on the programmer that wrote the code; I have used it as sign of failure - no turning back - the function call result was unusable.

A stub is a placeholder for something not implemented but the API might need it at a later point.

Hexspeak - Wikipedia

Magic number (programming) - Wikipedia

4 Likes

I don’t see “administrator” mentioned in those errors at all. Can you include all the output/errors including the “not running as administrator” errors?

I dare say you don’t have a dependency installed in your wine environment.

1 Like