Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Easy Anti Cheat : launch error. cannot run under Virtual Machine

Featured Replies

18 minutes ago, TalkingWaterfall said:

This was sufficient for me to bypass EAC for Predecessor. Also confirmed I can launch into R6, but I honestly do not know if that was an issue before.

Honestly makes you wonder why this is even a thing, if it's that simple to bypass...

With "<smbios mode='host'/>"

What game is working now ?

  • Replies 64
  • Views 92k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • shakinbacon
    shakinbacon

    after a ton of research i have figured it out. under <os> put <smbios mode='host'/> directly below that put this under <features> <kvm> <hidden state='on'/&

  • shakinbacon
    shakinbacon

    glad i could help. i was really bummed for a few days as well because i couldnt rust it up with the bros.

  • I tried to add this just to experiment, but for some reason it doesn't work in my case in windows 11. With this, smbios info should be read directly from the host, but HWiNFO64 reports ovmf or so

Posted Images

19 hours ago, nwicone said:

With "<smbios mode='host'/>"

What game is working now ?

I can run Predecessor, which didn't get past EAC previously.

Also runs R6 with no issues, but I can't say if this was a problem before applying smbios

Only using "<smbios mode='host'/>" works for me too with Sniper Elite 5 (using EAC)

  • 1 month later...

With this option my pc LAG...
 

<smbios mode='host'/>

 

<kvm>
  <hidden state='on'/> 
</kvm>

 

<feature policy='disable' name='hypervisor'/>

 

My config :

 

<?xml version='1.0' encoding='UTF-8'?>
<domain type='kvm' id='82'>
  <name>Windows10_MEDIUM_NEW</name>
  <uuid>cae6e323-ee36-4806-8f64-e01d59036c1a</uuid>
  <metadata>
    <vmtemplate xmlns="unraid" name="Windows 10" icon="windows.png" os="windows10"/>
  </metadata>
  <memory unit='KiB'>33554432</memory>
  <currentMemory unit='KiB'>33554432</currentMemory>
  <memoryBacking>
    <nosharepages/>
  </memoryBacking>
  <vcpu placement='static'>16</vcpu>
  <cputune>
    <vcpupin vcpu='0' cpuset='8'/>
    <vcpupin vcpu='1' cpuset='24'/>
    <vcpupin vcpu='2' cpuset='9'/>
    <vcpupin vcpu='3' cpuset='25'/>
    <vcpupin vcpu='4' cpuset='10'/>
    <vcpupin vcpu='5' cpuset='26'/>
    <vcpupin vcpu='6' cpuset='11'/>
    <vcpupin vcpu='7' cpuset='27'/>
    <vcpupin vcpu='8' cpuset='12'/>
    <vcpupin vcpu='9' cpuset='28'/>
    <vcpupin vcpu='10' cpuset='13'/>
    <vcpupin vcpu='11' cpuset='29'/>
    <vcpupin vcpu='12' cpuset='14'/>
    <vcpupin vcpu='13' cpuset='30'/>
    <vcpupin vcpu='14' cpuset='15'/>
    <vcpupin vcpu='15' cpuset='31'/>
  </cputune>
  <resource>
    <partition>/machine</partition>
  </resource>
  <os>
    <type arch='x86_64' machine='pc-i440fx-7.1'>hvm</type>
    <loader readonly='yes' type='pflash'>/usr/share/qemu/ovmf-x64/OVMF_CODE-pure-efi.fd</loader>
    <nvram>/etc/libvirt/qemu/nvram/cae6e323-ee36-4806-8f64-e01d59036c1a_VARS-pure-efi.fd</nvram>
    <smbios mode='host'/>
  </os>
  <features>
    <acpi/>
    <apic/>
    <kvm>
      <hidden state='on'/>
    </kvm>
  </features>
  <cpu mode='host-passthrough' check='none' migratable='on'>
    <topology sockets='1' dies='1' cores='8' threads='2'/>
    <cache mode='passthrough'/>
    <feature policy='disable' name='hypervisor'/>
  </cpu>
  <clock offset='localtime'>
    <timer name='hypervclock' present='yes'/>
    <timer name='hpet' present='no'/>
  </clock>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>restart</on_crash>
  <devices>
    <emulator>/usr/local/sbin/qemu</emulator>
    <disk type='file' device='disk'>
      <driver name='qemu' type='raw' cache='writeback'/>
      <source file='/mnt/cache/domains/W10/Test/vdisk1.img' index='3'/>
      <backingStore/>
      <target dev='hdc' bus='virtio'/>
      <boot order='1'/>
      <alias name='virtio-disk2'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
    </disk>
    <disk type='block' device='disk'>
      <driver name='qemu' type='raw' cache='writeback'/>
      <source dev='/dev/disk/by-id/nvme-Samsung_SSD_970_EVO_Plus_500GB_S4EVNF0M883034V' index='2'/>
      <backingStore/>
      <target dev='hdd' bus='virtio'/>
      <alias name='virtio-disk3'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
    </disk>
    <disk type='file' device='disk'>
      <driver name='qemu' type='raw' cache='writeback'/>
      <source file='/mnt/cache/domains/W11/W11-disk-c/vdisk2.img' index='1'/>
      <backingStore/>
      <target dev='hde' bus='virtio'/>
      <alias name='virtio-disk4'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
    </disk>
    <controller type='pci' index='0' model='pci-root'>
      <alias name='pci.0'/>
    </controller>
    <controller type='virtio-serial' index='0'>
      <alias name='virtio-serial0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
    </controller>
    <controller type='usb' index='0' model='ich9-ehci1'>
      <alias name='usb'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x7'/>
    </controller>
    <controller type='usb' index='0' model='ich9-uhci1'>
      <alias name='usb'/>
      <master startport='0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0' multifunction='on'/>
    </controller>
    <controller type='usb' index='0' model='ich9-uhci2'>
      <alias name='usb'/>
      <master startport='2'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x1'/>
    </controller>
    <controller type='usb' index='0' model='ich9-uhci3'>
      <alias name='usb'/>
      <master startport='4'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x2'/>
    </controller>
    <interface type='bridge'>
      <mac address='52:54:00:7d:e4:59'/>
      <source bridge='br0'/>
      <target dev='vnet81'/>
      <model type='virtio-net'/>
      <alias name='net0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
    </interface>
    <serial type='pty'>
      <source path='/dev/pts/0'/>
      <target type='isa-serial' port='0'>
        <model name='isa-serial'/>
      </target>
      <alias name='serial0'/>
    </serial>
    <console type='pty' tty='/dev/pts/0'>
      <source path='/dev/pts/0'/>
      <target type='serial' port='0'/>
      <alias name='serial0'/>
    </console>
    <channel type='unix'>
      <source mode='bind' path='/var/lib/libvirt/qemu/channel/target/domain-82-Windows10_MEDIUM_NEW/org.qemu.guest_agent.0'/>
      <target type='virtio' name='org.qemu.guest_agent.0' state='disconnected'/>
      <alias name='channel0'/>
      <address type='virtio-serial' controller='0' bus='0' port='1'/>
    </channel>
    <input type='mouse' bus='ps2'>
      <alias name='input0'/>
    </input>
    <input type='keyboard' bus='ps2'>
      <alias name='input1'/>
    </input>
    <audio id='1' type='none'/>
    <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x0a' slot='0x00' function='0x0'/>
      </source>
      <alias name='hostdev0'/>
      <rom file='/mnt/cache/CacheDevices/Config/GPU/3070/Gainward.RTX3070.8192.201127.rom'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x0'/>
    </hostdev>
    <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x0a' slot='0x00' function='0x1'/>
      </source>
      <alias name='hostdev1'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x09' function='0x0'/>
    </hostdev>
    <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x07' slot='0x00' function='0x1'/>
      </source>
      <alias name='hostdev2'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x0a' function='0x0'/>
    </hostdev>
    <memballoon model='none'/>
  </devices>
  <seclabel type='dynamic' model='dac' relabel='yes'>
    <label>+0:+100</label>
    <imagelabel>+0:+100</imagelabel>
  </seclabel>
</domain>

 

 

6 minutes ago, JamesAdams said:

With this option my pc LAG...

Try to force kvm ioapic driver and see if it's better, replace with this:

  <features>
    <acpi/>
    <apic/>
    <kvm>
      <hidden state='on'/>
    </kvm>
    <ioapic driver='kvm'/>
  </features>

 

10 minutes ago, ghost82 said:

Try to force kvm ioapic driver and see if it's better, replace with this:

  <features>
    <acpi/>
    <apic/>
    <kvm>
      <hidden state='on'/>
    </kvm>
    <ioapic driver='kvm'/>
  </features>

 

 

Same probleme :(

 

Config 1 LAG :

<smbios mode='host'/>
 
+
  <features>
    <acpi/>
    <apic/>
    <hyperv mode='custom'>
      <relaxed state='on'/>
      <vapic state='on'/>
      <spinlocks state='on' retries='8191'/>
      <vendor_id state='on' value='none'/>
    </hyperv>
    <kvm>
      <hidden state='on'/> 
    </kvm>
  </features>

+
<feature policy='disable' name='hypervisor'/>

 

Config 2 LAG :

 

<smbios mode='host'/>
 
+
  <features>
    <acpi/>
    <apic/>
    <kvm>
      <hidden state='on'/> 
    </kvm>
  </features>

+
<feature policy='disable' name='hypervisor'/>

 

Config 3 LAG :

 

<smbios mode='host'/>
 
+
  <features>
    <acpi/>
    <apic/>
    <kvm>
      <hidden state='on'/>
    </kvm>
    <ioapic driver='kvm'/>
  </features>

+
<feature policy='disable' name='hypervisor'/>

 

3 hours ago, JamesAdams said:

Config 3 LAG

What about if you add invtsc?

<smbios mode='host'/>
 
+
  <features>
    <acpi/>
    <apic/>
    <kvm>
      <hidden state='on'/>
    </kvm>
    <ioapic driver='kvm'/>
  </features>

+
    <feature policy='disable' name='hypervisor'/>
    <feature policy='require' name='invtsc'/>
  </cpu>

 

  • 4 weeks later...

Hi people,
i have a problem with pubg
Is there anyone here who works for her?
what options exist?

  • 2 weeks later...

I wanted to post an update to this thread. Today My son wanted to play Elden Ring. I am using my VM right now.  So instead of getting off my pc I changed the xml in his windows 10 VM. Under "os" I added this line "<smbios mode='host'/>". In the xml it isn't underlined and italics and bold. I just did that here to make it better to see in the code below. The rest of the xml is what was already there.

 

` <os>
    <type arch='x86_64' machine='pc-q35-5.1'>hvm</type>
    <loader readonly='yes' type='pflash'>/usr/share/qemu/ovmf-x64/OVMF_CODE-pure-efi.fd</loader>
    <nvram>/etc/libvirt/qemu/nvram/bc74a91f-ee54-6060-a516-c719a80d271e_VARS-pure-efi.fd</nvram>
    <smbios mode='host'/>
  </os>`

 

This change has made easy anti cheat let Elden ring run. We now have to work on a lag issue. But it is playable and he can summon.

Edited by ffgdad

  • 2 weeks later...

Just a note that War Thunder, which uses EAC, has never had an issue with VM launches in Windows 10 or 11. Seems to be a few trash games acting out against VM.

On 8/28/2022 at 11:07 AM, shakinbacon said:

after a ton of research i have figured it out.

under <os> put

<smbios mode='host'/>

directly below that put this under <features>

<kvm> 
  <hidden state='on'/> 
</kvm>

under <cpu mode ='host-passthrough'....... put

<feature policy='disable' name='hypervisor'/>

and i also deleted any lines pertaining to hyper-v

 

hope this helps anyone in the future

Thank you kind sir @shakinbacon. You are an angel. This is a still a viable solution.

Windows 10 VM

Steam

Elden Ring

I did not delete references to hyperV, however. I'm lazy and will procced down that path if performance sucks. 

 

Thanks again for your information!

 

Edited by darthkielbasa

On 7/4/2023 at 10:05 PM, darthkielbasa said:

Thank you kind sir @shakinbacon. You are an angel. This is a still a viable solution.

Windows 10 VM

Steam

Elden Ring

I did not delete references to hyperV, however. I'm lazy and will procced down that path if performance sucks. 

 

Thanks again for your information!

 

 

Agreed!! Works beautifully!!

 

All I needed was the

<smbios mode='host'/>

portion and AEW Fight Forever is now up and running!!

On 8/28/2022 at 5:07 AM, shakinbacon said:

after a ton of research i have figured it out.

under <os> put

<smbios mode='host'/>

directly below that put this under <features>

<kvm> 
  <hidden state='on'/> 
</kvm>

under <cpu mode ='host-passthrough'....... put

<feature policy='disable' name='hypervisor'/>

and i also deleted any lines pertaining to hyper-v

 

hope this helps anyone in the future

I went out my way to create an account just to tell you THANK YOU and ILY. Did just this and was able to get past easy anti chat.

 

Others in the thread that you can just put the smbios mode. Not for me, I had to put everything you listed in order to work.

 

Again, thank you!!.

  • 3 weeks later...

Hello, no more error message "Cannot run under virtual machine" for 7 Days to die with your solution !

 Thank you !

 

  • 2 months later...

Just found this thread as since the new Hunt Showdown update 1.14 launched and is shipped with a hardened Easy Anti Cheat and I also encountered the specific error.

 

For me just worked the following:

 

1. Add  in the os section

<smbios mode='host'/>

 

2. Add in the CPU section

<feature policy='disable' name='hypervisor'/>

 

3. Deactivated Hyper-V in the forms view. Actually have no idea if this even necessary.

 

In the first rounds I had also the option

<kvm> 
  <hidden state='on'/> 
</kvm>

But here the overhead was instantly noticeable so I deleted this option.

 

So the game is starting but runs with less FPS then before the update but this could also be caused by either overloaded servers or any other compatible issues with the graphics driver or whatsoever. But I think the two remaining options in 1. and 2. are not responsible for this?

Edited by cap089

  • 2 weeks later...
On 12/24/2022 at 6:52 AM, ffgdad said:

i found this on steam. I cant believe it worked.

"

How to fix "This Application cannot run under a Virtual Machine"

So while searching everywhere to fix this error, I found something that fixes the error. The game for some reason thinks your PC is a VM if the name of your computer name starts with a "DESKTOP" within it's name. For example, DESKTOP-123ABC. To fix it, go to System -> Advanced settings -> Computer Name. Click "Change" and change the "DESKTOP" to something else, like Jamal-PC, etc, and then restart your computer and it will be fixed. If you have something different than "DESKTOP" header, then disable Hyper-V by going to "Programs and Features" and" Turn on and off Windows Features". Hope that helps. If only I can post this on the forums, but keeps getting cooldown.

"

 

https://steamcommunity.com/app/555570/discussions/0/152390648089353221/

 

It seems to be renaming the machine to anything. I didn't have DESKTOP in the machine name, but I renamed it slightly and the anti-cheat went away.

  • 2 weeks later...

I encountered the same issue when I tried playing The Finals today. After following the methods provided above, Easy Anti Cheat indeed stopped displaying that error. However, upon entering the game, it still indicates that it's running in a virtual machine, so I still can't play. Is there any solution to this problem?

image.thumb.png.8a9cb424785295bda2dd8de0b2a80026.png

I can confirm this with The Finals... Without fix in xml I couldn't pass EAC. After adding this solution I could pass EAC, but my game crashes in main screen.
Same with Battle Bit Remastered. I can pass EAC, but then when I join server it kicks me...
image.png?ex=654d5ab8&is=653ae5b8&hm=f92

  • 3 weeks later...

I would like to add that i used the same fix outlined by everyone else in this thread and now i can play lost ark again!!! ( easy anti- cheat was keeping me from playing)

 

Thank you very much!

 

Also after implementing this fix I started having mouse lag during gaming. Only way I was able to fix this was to download the driver's software for my mouse ( I have a deathadder V2) and change the mouse pooling rate down to 125 it was set default at 1000. Then perfect gaming again!

Edited by Mrtj18

  • 1 month later...

Hello guys,

I'm trying to play Fortnite and Rainbow six siege, but even with the solution you gave it's not working.

 

Is it still working for you ?

 

Thanks all 🙂

Edited by nwicone

On 12/21/2023 at 10:40 PM, nwicone said:

Is it still working for you ?

 

Yes 🙂 I'm currently playing Fortnite with the fixes from this thread.

9 minutes ago, epicaleric said:

 

Yes 🙂 I'm currently playing Fortnite with the fixes from this thread.

 

Okay thanks, I tried but it's not working.

Can you detail what you've changed ?

 

This what I tried :

1. Add in the os section :

<smbios mode='host'/>

 

2. Add in the CPU section :

<feature policy='disable' name='hypervisor'/>

 

3. Deactivated Hyper-V in the forms view. . 

4 hours ago, nwicone said:

Can you detail what you've changed ?

 

Mostly the same as you did.

  • I also added the kvm code under features.
    Although I read that it gives some people lag. I've not tried it without this code.
       <kvm>
          <hidden state='on'/>
        </kvm>

     

  • I've changed my PC name from something like "DESKTOP-R29JE8" to a different name.

  • For the Hyper-V part I've deleted the whole section in the XML instead of in the form view. But I can't imagine that making a difference. 

Hope any of this helps! And I truly hope anti-cheat engines will chill with the banning of VM's.
I'm quite new to Unraid and VM's myself, so I'm afraid I won't be able to help you any further if this doesn't work for you.
Good luck!

The problem are games which are using BattleEye. With my current settings I cannot run games like PUBG. Games which use Easy Anticheat are working without issues. 

Today I'm suddenly kicked out of the game again, while it has been working the last few days.
Indeed seems to be a BattleEye issue. Very annoying. 
Trying to check how to force using Easy Anticheat.
 

image.thumb.png.4e4e56c1f9abb16606a13a59629e95d5.png

Edited by epicaleric1

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.