plugplay.exe missing

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
presianbg
Newbie
Newbie
Posts: 4
Joined: Sat Mar 12, 2011 7:01 am

plugplay.exe missing

Post by presianbg »

Hi,

I'm running Ubuntu 10.10 with wine 1.2.2 on it and when i start regedit from terminal i got :
wine: cannot find L"C:\\windows\\system32\\plugplay.exe"

i checked it out and the plugplay.exe file is in system32 folder ...

So what is going on... :roll:
10x in advance !

Best Regards
User avatar
dimesio
Moderator
Moderator
Posts: 13202
Joined: Tue Mar 25, 2008 10:30 pm

Re: plugplay.exe missing

Post by dimesio »

presianbg wrote: I'm running Ubuntu 10.10 with wine 1.2.2 on it and when i start regedit from terminal i got :
wine: cannot find L"C:\\windows\\system32\\plugplay.exe"

i checked it out and the plugplay.exe file is in system32 folder ...

So what is going on... :roll:
The plugplay.exe in system32 is a fake exe designed to fool apps that look for it there. Wine's regedit should not be looking for it at all. So either you set a global override for it, or you installed something that loads at boot and looks for it.
presianbg
Newbie
Newbie
Posts: 4
Joined: Sat Mar 12, 2011 7:01 am

Post by presianbg »

How can i find what is searching for it ?
User avatar
dimesio
Moderator
Moderator
Posts: 13202
Joined: Tue Mar 25, 2008 10:30 pm

Post by dimesio »

presianbg wrote:How can i find what is searching for it ?
What was the last thing you installed before it started doing this?
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: plugplay.exe missing

Post by vitamin »

presianbg wrote:I'm running Ubuntu 10.10 with wine 1.2.2 on it and when i start regedit from terminal i got :
wine: cannot find L"C:\\windows\\system32\\plugplay.exe"
Are you using Wine's own regedit or you tried to copy native one from Windows, which won't work of course?
Usurp
Level 4
Level 4
Posts: 161
Joined: Sat Apr 19, 2008 7:16 am

Post by Usurp »

dimesio wrote:
presianbg wrote:How can i find what is searching for it ?
What was the last thing you installed before it started doing this?
He did'nt install anything - wine.inf installs plugplay as an autostart service.
presianbg
Newbie
Newbie
Posts: 4
Joined: Sat Mar 12, 2011 7:01 am

Re: plugplay.exe missing

Post by presianbg »

vitamin wrote:
presianbg wrote:I'm running Ubuntu 10.10 with wine 1.2.2 on it and when i start regedit from terminal i got :
wine: cannot find L"C:\\windows\\system32\\plugplay.exe"
Are you using Wine's own regedit or you tried to copy native one from Windows, which won't work of course?

I'm not so dump :evil:

About that what i installed before that ... i went to wine 1.3.15 , but there seems to be a lots of bugs so i went back to 1.2.2 :)
Ok , so the fail is there where should be ... just wondering about that strange massage in terminal.
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: plugplay.exe missing

Post by vitamin »

presianbg wrote:About that what i installed before that ... i went to wine 1.3.15 , but there seems to be a lots of bugs so i went back to 1.2.2
You wineprefix is most likely damaged. Remove it or use a new one.
presianbg
Newbie
Newbie
Posts: 4
Joined: Sat Mar 12, 2011 7:01 am

Re: plugplay.exe missing

Post by presianbg »

vitamin wrote:
presianbg wrote:About that what i installed before that ... i went to wine 1.3.15 , but there seems to be a lots of bugs so i went back to 1.2.2
You wineprefix is most likely damaged. Remove it or use a new one.


how to do that ?
User avatar
DanKegel
Moderator
Moderator
Posts: 1164
Joined: Wed May 14, 2008 11:44 am

Post by DanKegel »

This happens if you try to go back to wine 1.2 from wine 1.3.15 or so.

The nuclear option:
rm -rf ~/.wine

The surgical option:
figure out which file in ~/.wine/*.reg refers to plugplay.exe,
and edit it to remove the reference.
aporeg
Newbie
Newbie
Posts: 1
Joined: Fri Apr 27, 2012 12:23 pm

Re: plugplay.exe missing

Post by aporeg »

presianbg wrote:
vitamin wrote:
presianbg wrote:About that what i installed before that ... i went to wine 1.3.15 , but there seems to be a lots of bugs so i went back to 1.2.2
You wineprefix is most likely damaged. Remove it or use a new one.


how to do that ?
Search in your .wine folder for system.reg open it with gedit and search for plugplay.exe

[System\\CurrentControlSet\\Services\\PlugPlay] 1332104130
"Description"="Enables automatic configuration of devices"
"DisplayName"="Plug and Play Service"
"ErrorControl"=dword:00000001
"ImagePath"="C:\\windows\\system32\\plugplay.exe" Remove here the double "" for some reason it happens that they appear again it should look like the sample i show you below,save the system.reg that should solve the prob until next time :-)

[System\\CurrentControlSet\\Services\\PlugPlay] 1332104130
"Description"="Enables automatic configuration of devices"
"DisplayName"="Plug and Play Service"
"ErrorControl"=dword:00000001
"ImagePath"="C:\windows\system32\plugplay.exe"
Locked