I can't run regedit

Questions about Wine on Linux
Locked
LMLM
Level 3
Level 3
Posts: 83
Joined: Thu Feb 26, 2015 8:13 pm

I can't run regedit

Post by LMLM »

Code: Select all

regedit
0080:fixme:wineusb:add_usb_device Interface 1 has 2 alternate settings; using the first one.
0080:fixme:wineusb:add_usb_device Interface 2 has 2 alternate settings; using the first one.
007c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
007c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
007c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
007c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
007c:fixme:wineusb:query_id Unhandled ID query type 0x5.
007c:fixme:wineusb:query_id Unhandled ID query type 0x5.
007c:fixme:wineusb:query_id Unhandled ID query type 0x5.
007c:fixme:wineusb:query_id Unhandled ID query type 0x5.
007c:fixme:wineusb:query_id Unhandled ID query type 0x5.
007c:fixme:wineusb:query_id Unhandled ID query type 0x5.
007c:fixme:wineusb:query_id Unhandled ID query type 0x5.
007c:fixme:wineusb:query_id Unhandled ID query type 0x5.
007c:fixme:wineusb:query_id Unhandled ID query type 0x5.
007c:fixme:wineusb:query_id Unhandled ID query type 0x5.
007c:fixme:wineusb:query_id Unhandled ID query type 0x5.
007c:fixme:wineusb:query_id Unhandled ID query type 0x5.
007c:fixme:wineusb:query_id Unhandled ID query type 0x5.
007c:fixme:wineusb:query_id Unhandled ID query type 0x5.
0024:err:module:import_dll Library msvcrt.dll (which is needed by L"C:\\windows\\syswow64\\advapi32.dll") not found
0024:err:module:import_dll Library advapi32.dll (which is needed by L"C:\\windows\\syswow64\\shell32.dll") not found
0024:err:module:import_dll Library msvcrt.dll (which is needed by L"C:\\windows\\syswow64\\advapi32.dll") not found
0024:err:module:import_dll Library advapi32.dll (which is needed by L"C:\\windows\\syswow64\\gdi32.dll") not found
0024:err:module:import_dll Library msvcrt.dll (which is needed by L"C:\\windows\\syswow64\\advapi32.dll") not found
0024:err:module:import_dll Library advapi32.dll (which is needed by L"C:\\windows\\syswow64\\user32.dll") not found
0024:err:module:import_dll Library user32.dll (which is needed by L"C:\\windows\\syswow64\\gdi32.dll") not found
0024:err:module:import_dll Library gdi32.dll (which is needed by L"C:\\windows\\syswow64\\shell32.dll") not found
0024:err:module:import_dll Library msvcrt.dll (which is needed by L"C:\\windows\\syswow64\\advapi32.dll") not found
0024:err:module:import_dll Library advapi32.dll (which is needed by L"C:\\windows\\syswow64\\shlwapi.dll") not found
0024:err:module:import_dll Library msvcrt.dll (which is needed by L"C:\\windows\\syswow64\\advapi32.dll") not found
0024:err:module:import_dll Library advapi32.dll (which is needed by L"C:\\windows\\syswow64\\gdi32.dll") not found
0024:err:module:import_dll Library msvcrt.dll (which is needed by L"C:\\windows\\syswow64\\advapi32.dll") not found
0024:err:module:import_dll Library advapi32.dll (which is needed by L"C:\\windows\\syswow64\\user32.dll") not found
0024:err:module:import_dll Library user32.dll (which is needed by L"C:\\windows\\syswow64\\gdi32.dll") not found
0024:err:module:import_dll Library gdi32.dll (which is needed by L"C:\\windows\\syswow64\\shlwapi.dll") not found
0024:err:module:import_dll Library msvcrt.dll (which is needed by L"C:\\windows\\syswow64\\advapi32.dll") not found
0024:err:module:import_dll Library advapi32.dll (which is needed by L"C:\\windows\\syswow64\\shcore.dll") not found
0024:err:module:import_dll Library shcore.dll (which is needed by L"C:\\windows\\syswow64\\shlwapi.dll") not found
0024:err:module:import_dll Library msvcrt.dll (which is needed by L"C:\\windows\\syswow64\\advapi32.dll") not found
0024:err:module:import_dll Library advapi32.dll (which is needed by L"C:\\windows\\syswow64\\user32.dll") not found
0024:err:module:import_dll Library msvcrt.dll (which is needed by L"C:\\windows\\syswow64\\advapi32.dll") not found
0024:err:module:import_dll Library advapi32.dll (which is needed by L"C:\\windows\\syswow64\\gdi32.dll") not found
0024:err:module:import_dll Library gdi32.dll (which is needed by L"C:\\windows\\syswow64\\user32.dll") not found
0024:err:module:import_dll Library user32.dll (which is needed by L"C:\\windows\\syswow64\\shlwapi.dll") not found
0024:err:module:import_dll Library shlwapi.dll (which is needed by L"C:\\windows\\syswow64\\shell32.dll") not found
0024:err:module:import_dll Library msvcrt.dll (which is needed by L"C:\\windows\\syswow64\\advapi32.dll") not found
0024:err:module:import_dll Library advapi32.dll (which is needed by L"C:\\windows\\syswow64\\user32.dll") not found
0024:err:module:import_dll Library msvcrt.dll (which is needed by L"C:\\windows\\syswow64\\advapi32.dll") not found
0024:err:module:import_dll Library advapi32.dll (which is needed by L"C:\\windows\\syswow64\\gdi32.dll") not found
0024:err:module:import_dll Library gdi32.dll (which is needed by L"C:\\windows\\syswow64\\user32.dll") not found
0024:err:module:import_dll Library user32.dll (which is needed by L"C:\\windows\\syswow64\\shell32.dll") not found
0024:err:module:import_dll Library shell32.dll (which is needed by L"C:\\windows\\syswow64\\start.exe") not found
0024:err:module:import_dll Library msvcrt.dll (which is needed by L"C:\\windows\\syswow64\\advapi32.dll") not found
0024:err:module:import_dll Library advapi32.dll (which is needed by L"C:\\windows\\syswow64\\user32.dll") not found
0024:err:module:import_dll Library msvcrt.dll (which is needed by L"C:\\windows\\syswow64\\advapi32.dll") not found
0024:err:module:import_dll Library advapi32.dll (which is needed by L"C:\\windows\\syswow64\\gdi32.dll") not found
0024:err:module:import_dll Library gdi32.dll (which is needed by L"C:\\windows\\syswow64\\user32.dll") not found
0024:err:module:import_dll Library user32.dll (which is needed by L"C:\\windows\\syswow64\\start.exe") not found
0024:err:module:loader_init Importing dlls for L"C:\\windows\\syswow64\\start.exe" failed, status c0000135
Winehq Stable 9/Ubuntu Fossa from the winehq repository.
qwertymnb
Level 5
Level 5
Posts: 272
Joined: Sun Jan 17, 2016 4:36 pm

Re: I can't run regedit

Post by qwertymnb »

Looks to me if you somehow screwed things up, possibly with winetricks?

Start winecfg, and set all native libraries to builtin; then check if the error is gone.

If even winecfg doesn't start: open ~/.wine/user.reg with editor and check under [Software\\Wine\\DllOverrides] ; I suspect msvcrt is set to native; if so: remove the entry
LMLM
Level 3
Level 3
Posts: 83
Joined: Thu Feb 26, 2015 8:13 pm

Re: I can't run regedit

Post by LMLM »

Yes, I may have screwed things up with winetricks. I was using winetricks from the repository and getting a lot of the old 'sha256 mismatch.' I downloaded a newer winetricks and now it seems to be working better.

Following your advice, I discovered (I really didn't know) that winecfg was indeed not working anymore. Again, must have been winetricks. I opened ~/.wine/user.reg with a text editor and couldn't find any mention of msvcrt (or anything at all for that matter) under [Software\\Wine\\DllOverrides]. So I just deleted ~/.wine and ran winecfg to rebuild it.

I just managed to install two libraries with winetricks successfully. Things seem to be getting better. Let's see.

Many thanks for your attention! It's so difficult to get help here...
desessarts
Level 4
Level 4
Posts: 196
Joined: Wed Oct 04, 2023 7:57 am

Re: I can't run regedit

Post by desessarts »

IMHO always do

Code: Select all

sudo winetricks --self-update
before launching any winetricks, it will save you a lot of time

you can also install topgrade

https://github.com/topgrade-rs/topgrade

and along with apt updates, you can update wine, winetricks, and many other things

here is my file ~/.config/topgrade.toml without comments

Code: Select all

grep ^[^#]  .config/topgrade.toml
[include]
[misc]
Wine  = "sudo  /usr/bin/winetricks --self-update"
yt-dlp = "pip install -U yt-dlp"
[pre_commands]
[post_commands]
[commands]
[python]
[composer]
[brew]
[linux]
[git]
[windows]
[npm]
[yarn]
[vim]
[firmware]
[vagrant]
[flatpak]
[distrobox]
LMLM
Level 3
Level 3
Posts: 83
Joined: Thu Feb 26, 2015 8:13 pm

Re: I can't run regedit

Post by LMLM »

I don't trust that thing. I don't trust pip either.
I use an old distro and like it what way. Developers make too many assumptions about what people have and I'm sure that contraption would break my system sooner or later.
Locked