Error when trying to run winecfg or open any Wine application

Questions about Wine on Linux
Post Reply
User avatar
ASOwnerYT
Level 1
Level 1
Posts: 5
Joined: Wed Apr 28, 2021 7:35 pm

Error when trying to run winecfg or open any Wine application

Post by ASOwnerYT » Wed Apr 28, 2021 7:40 pm

Hello, when I run winecfg in the terminal, I get this error:

Code: Select all

002c:err:wineboot:process_run_key Error running cmd L"C:\\windows\\system32\\winemenubuilder.exe -a -r" (2).
0034:fixme:service:scmdatabase_autostart_services Auto-start service L"MountMgr" failed to start: 2
0034:fixme:service:scmdatabase_autostart_services Auto-start service L"NDIS" failed to start: 2
0034:fixme:service:scmdatabase_autostart_services Auto-start service L"PlugPlay" failed to start: 2
0034:fixme:service:scmdatabase_autostart_services Auto-start service L"winebus" failed to start: 2
0034:fixme:service:scmdatabase_autostart_services Auto-start service L"wineusb" failed to start: 2
0034:fixme:service:scmdatabase_autostart_services Auto-start service L"Eventlog" failed to start: 2
wine: could not load kernel32.dll, status c0000135
And all Wine applications just don't open.
I have no idea what this means, and it was working fine before, so how do I fix this? Thanks

spoon0042
Level 6
Level 6
Posts: 518
Joined: Thu Dec 24, 2009 11:00 am

Re: Error when trying to run winecfg or open any Wine application

Post by spoon0042 » Thu Apr 29, 2021 3:06 pm

I assume this is with 6.7? You probably want to file a bug. Also can you check if creating a 32-bit prefix works?

User avatar
ASOwnerYT
Level 1
Level 1
Posts: 5
Joined: Wed Apr 28, 2021 7:35 pm

Re: Error when trying to run winecfg or open any Wine application

Post by ASOwnerYT » Thu Apr 29, 2021 9:34 pm

Yes this is with 6.7 (the latest version from Arch Linux repositories). And I tried setting a 32-bit prefix and deleting the ~/.wine folder, and this is the result:

What I typed:

Code: Select all

export WINEARCH=win32
winecfg
Output:

Code: Select all

wine: created the configuration directory '/home/asowneryt/.wine'
0050:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hr 0x80004002
0050:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, hr 0x80004002
0050:err:ole:apartment_get_local_server_stream Failed: 0x80004002

spoon0042
Level 6
Level 6
Posts: 518
Joined: Thu Dec 24, 2009 11:00 am

Re: Error when trying to run winecfg or open any Wine application

Post by spoon0042 » Tue May 04, 2021 2:01 pm

I see a bug was reported: https://bugs.winehq.org/show_bug.cgi?id=51086

To be clear was a wine upgrade where the problem started? If you are able to install 6.6 or some previous version and have things work that would be useful information.

Post Reply