30: machine error

Help and support regarding PR:BF2 installation and in-game issues
smith_
Posts: 5
Joined: 2015-05-28 22:36

Re: 30: machine error

Post by smith_ »

I am also having the same problem.

Windows 8.1
Avast
MSI GE60 2PE laptop.

Deleted 1.2 before install. Removed Documents folder.

HEELLLPPP
User avatar
TheMerchantOfMenace
Supporting Member
Posts: 157
Joined: 2013-10-14 21:13
Location: https://imgur.com/a/01UEQId
Contact:

Re: 30: machine error

Post by TheMerchantOfMenace »

Same here, was able to play yesterday, then at some point it started giving me this error.

If you need a test machine, I could fire up Teamviewer to let you work on my machine?
AncientMan
Retired PR Developer
Posts: 5111
Joined: 2007-05-22 07:42

Re: 30: machine error

Post by AncientMan »

Hi guys, got a potential fix for you that has worked for another person.

Please open up command prompt as an administrator
Start -> Type "cmd", then right click Command Prompt and go "Run As Administrator"

Then, paste these 4 lines line by line (right click the window title, go edit -> paste)

Code: Select all

Regsvr32 %SystemRoot%\System32\wbem\wmidcprv.dll

cd /d %windir%\system32\wbem

for %i in (*.dll) do RegSvr32 -s %i

for %i in (*.exe) do %i /RegServer
It should all execute successfully with no errors. After the last line, the Windows Management Instrumentation Tester should open. Just hit exit.

Then try running PR again. It "should" work just fine.

Let us know how you all go, if it works or didn't work. Thanks :)
Image
plankaaay33
Posts: 6
Joined: 2015-06-01 02:34

Re: 30: machine error

Post by plankaaay33 »

Thanks for the potential fix, however it isn't working for me. I followed the instructions and everything happened as it should have but 30:machine error came up again when loading up the PR Launcher after editing the cmd.

But it may be that I'm doing it wrong or something?

Cheers
AncientMan
Retired PR Developer
Posts: 5111
Joined: 2007-05-22 07:42

Re: 30: machine error

Post by AncientMan »

In addition to the above, you can also try the following (same command prompt as an administrator):

Code: Select all

net stop winmgmt

(note, if this command asks you that additional services will be stopped, press Y and enter for Yes)

wmic /NAMESPACE:\\root path "__namespace.name='CimWin32'" delete

mofcomp %windir%\system32\wbem\CimWin32.mof

net start winmgmt
Then restart your computer.
Last edited by AncientMan on 2015-06-02 06:03, edited 2 times in total.
Image
plankaaay33
Posts: 6
Joined: 2015-06-01 02:34

Re: 30: machine error

Post by plankaaay33 »

No Luck with this also, I'm still getting the same error message........running out of options?

Thanks
User avatar
TheMerchantOfMenace
Supporting Member
Posts: 157
Joined: 2013-10-14 21:13
Location: https://imgur.com/a/01UEQId
Contact:

Re: 30: machine error

Post by TheMerchantOfMenace »

Ok, so I ran the PR installation by going to the virtual CD and running 'setup.exe' as Administrator. I got this at the end of the install:

Image
Image
Image

I thought that perhaps this might be a problem, so I cancelled the installation, and manually deleted the whole PR directory where PR had been installed, deleted the 'Reality.PRPatchFile' registry key, and ran the installation again, without any AV or firewall program running.

The registry key in question previously had the following value:

Image

This time PR installed with only the Registry error. Hmmm... when I checked the registry, all the keys had been re-created, but the data in the 'command' key could not be re-created/re-written (see first image below this paragraph), but the data in the 'DefaultIcon' key was "allowed" to be re-written (see second image below). WTF? Certain keys are protected? I had to manually re-write the 'command' key data.

Image
Image

The script is then run and gives the following results:

Image
Image
Image
Image

Run the launcher, and same error. So, at some point in time yesterday I was able to install PR without any problem, and the registry keys were written, then at some point I get this 'Machine Error" msg and two PR executables are now protected (or blocked?) along with a particular registry key. Unbelievable, either Comodo blocked or protected these executable and this one reg key, and is still blocking them even though it isn't running, or, the PR setup.exe executable, even though it's being run as Administrator, has lost privileges to access certain registry keys and executables? Can't be, why not PRUpdater.exe as well then? It didn't choke on writing over that file.

So Comodo? But then ppl have reported having the same problem without Comodo nor any AV installed, haven't they? Guess I'll have to completely un-install Comodo and retry the installation?

Very discouraging, hope I'm not the only one, else I may never play PR again? I say this 'cause I get the same error on my brand new 32-bit Windows 7 installation (different boot).

Any other fancy ideas? Thanks.


P.S. I am running a 64-bit version of Windows 7 Ultimate, if that's of any interest.
Last edited by TheMerchantOfMenace on 2015-06-02 02:14, edited 1 time in total.
Reason: Added postscript
User avatar
TheMerchantOfMenace
Supporting Member
Posts: 157
Joined: 2013-10-14 21:13
Location: https://imgur.com/a/01UEQId
Contact:

Re: 30: machine error

Post by TheMerchantOfMenace »

plankaaay33 wrote:Thanks for the potential fix, however it isn't working for me. I followed the instructions and everything happened as it should have but 30:machine error came up again when loading up the PR Launcher after editing the cmd.

But it may be that I'm doing it wrong or something?

Cheers
Are you certain that your Command Prompt was running as Administrator?

What firewall or AV-type programs do you have or did you have installed when the error started occurring? I really hope you had none, so as to rule out those causes.
Backup
Posts: 12
Joined: 2015-06-02 02:23

Re: 30: machine error

Post by Backup »

Im having the exact same problem tried the command prompt didnt work.
plankaaay33
Posts: 6
Joined: 2015-06-01 02:34

Re: 30: machine error

Post by plankaaay33 »

I'v done the Command Prompt about 4 times and am certain each time they have been running on administrator

My AV is McAfee but i always have my firewall off and only use it for scanning purposes. If this error message is still occurring for people even without AV programs then it shouldn't make a difference since my AV isn't really even operating (all PR programs are allowed through my AV program as well). installation errors?

Cheers for your efforts
DoomKillsU
Posts: 29
Joined: 2013-03-17 07:46

Re: 30: machine error

Post by DoomKillsU »

Holy **** Ancientman, your solution has worked for me! I have no idea how and or why it would but it has, thank you. Could you please explain to me as to what this little trick did in a technical sense? I am intrigued as to what it has done and why it has solved this problem, for me anyways. Once again thanks!
User avatar
TheMerchantOfMenace
Supporting Member
Posts: 157
Joined: 2013-10-14 21:13
Location: https://imgur.com/a/01UEQId
Contact:

Re: 30: machine error

Post by TheMerchantOfMenace »

plankaaay33 wrote:I'v done the Command Prompt about 4 times and am certain each time they have been running on administrator

My AV is McAfee but i always have my firewall off and only use it for scanning purposes. If this error message is still occurring for people even without AV programs then it shouldn't make a difference since my AV isn't really even operating (all PR programs are allowed through my AV program as well). installation errors?

Cheers for your efforts

Damn! I wonder how many of us are screwed this way now, what percentage? How many were on PR and how many are now stuck at this same place? Were you able to get it to work initially as I was?

Could there have been more than one torrent, and might we have dloaded from the wrong source?

I was having trouble loading pages on realitymod.com since the site was overloaded this weekend, so when I Googled (can't remember what I was looking for though), I noticed someone suggesting to dload the PR 1.3 torrent from reddit.com, so I found many PR threads there and found a PR torrent dload link in one of those reddit threads... maybe it was a bogus torrent?

What is being missed, and what is the commonality of our systems or setups (those of us who are locked out with this error msg/bug)?
plankaaay33
Posts: 6
Joined: 2015-06-01 02:34

Re: 30: machine error

Post by plankaaay33 »

i know! its pretty shit for those people who are incurring this error! na, iv always had this issue since iv downloaded it.

that is quite possible since i downloaded it from a mirror website through the browser, not torrent-ed (my uni WiFi doesn't allow torrents).

iv noticed that people who have this 30:machine error tent to have a amd graphics card? maybe? who knows?

i guess i should try by just downloading the ISO file directly off of this website....
AncientMan
Retired PR Developer
Posts: 5111
Joined: 2007-05-22 07:42

Re: 30: machine error

Post by AncientMan »

Hi guys, I just fixed plankaaay33's issue, please redo these commands (I had the 2nd one wrong, my apologies)
'[R-DEV wrote:AncientMan;2075200']Please open up command prompt as an administrator
Start -> Type "cmd", then right click Command Prompt and go "Run As Administrator"

Then, paste these 4 lines line by line (right click the window title, go edit -> paste)

Code: Select all

Regsvr32 %SystemRoot%\System32\wbem\wmidcprv.dll

cd /d %windir%\system32\wbem

for %i in (*.dll) do RegSvr32 -s %i

for %i in (*.exe) do %i /RegServer
It should all execute successfully with no errors. After the last line, the Windows Management Instrumentation Tester should open. Just hit exit.
'[R-DEV wrote:AncientMan;2075242']In addition to the above, you can also try the following (same command prompt as an administrator):

Code: Select all

net stop winmgmt
If this command asks you that additional services will be stopped, press Y and enter for Yes.

Code: Select all

wmic /NAMESPACE:\\root path "__namespace.name='CimWin32'" delete

mofcomp %windir%\system32\wbem\CimWin32.mof

net start winmgmt
Then restart your computer.
Image
MonstraG
Posts: 10
Joined: 2014-04-06 14:14

Re: 30: machine error

Post by MonstraG »

WOW!
Used first one, everything fine now! Thanks!
Sir-Archer
Posts: 6
Joined: 2015-05-31 07:58

Re: 30: machine error

Post by Sir-Archer »

Didn't work for me. I have done the first command prompt with no error but when I do the second command prompt the following error occurs:
Image
Sirex[SWE][MoW]
Posts: 158
Joined: 2009-07-22 09:46

Re: 30: machine error

Post by Sirex[SWE][MoW] »

First one worked :D !
DrCalgori
Posts: 4
Joined: 2015-06-01 07:44

Re: 30: machine error

Post by DrCalgori »

Sir-Archer wrote:Didn't work for me. I have done the first command prompt with no error but when I do the second command prompt the following error occurs:
Image
Same for me, first script ran through fine with no error, still getting 30: Machine Error. Ran through second script and getting the same error as the poster above me
Rafy77
Posts: 21
Joined: 2015-05-31 09:47

Re: 30: machine error

Post by Rafy77 »

The first one say "failed to load DLL c:/windows/system32/wbem/wmidcprv.dll ....

But i have it in system 32 and in the file wbem, don't know why

But can you explain what these line are doing ?

EDIT : nevermind, it works, i'm juste stupid, but there is again the error 30, i will try later, i have to go to the work.

EDIT 2 : so, i have done everything for the first command trick, the WMI launch, but there is a little error on the command prompt :
Image

Error: command line not supported and File '/RegServer' not found ... And the game don't work.

I tried the second method, but it make me this :
Image

Could not get handle to service


I'm lost ...
Last edited by Rafy77 on 2015-06-02 15:43, edited 2 times in total.
smith_
Posts: 5
Joined: 2015-05-28 22:36

Re: 30: machine error

Post by smith_ »

[R-DEV]AncientMan wrote:Hi guys, I just fixed plankaaay33's issue, please redo these commands (I had the 2nd one wrong, my apologies)


Hey I tried this, both actually. And still getting the error.
Post Reply

Return to “PR:BF2 Support”