When trying to open LDPlayer of a specific game in LDPlayer, some player might encounter the error "nRes == 0 fastpipeapi.cpp:785". This error appears when Hyper-V is not disabled completely due to the fact that VBS (Virtualization-Based Security) is still enabled. This guide contains detailed steps on how to disable VBS to fix this error.

 

How to Check VBS Status in Window

Type ‘System Information’ or ‘msinfo32’ in the Windows search box, and press Enter. The "System Information" window will pop up automatically. Scroll down the list to find "Virtualization-Based Security" and check its status under "Value".

If it's "Running", it needs to be turned off to avoid the 785 error.

How to Check VBS Status in Window

 

How to Disable VBS Completely to Fix The 785 Error

Step 1: Download the script dgreadiness_v3.6 for Device Guard and Credential Guard hardware readiness tool provided by Microsoft and unzip it: https://www.microsoft.com/en-us/download/details.aspx?id=53337

Step 2: Open Command as Administrator > Enter set-ExecutionPolicy RemoteSigned and press Enter > Enter Y and press Enter.

Step 3: Copy the path for the script dgreadiness_v3.6 you just unzipped.

Step 4: Open Command as Administrator > Enter cd [insert the script path you just copied] (For example: cd C:\Users\Administrator\Desktop\dgreadiness_v3.6) and press Enter > Enter dir and press Enter. Check if the current directory displayed is the script’s directory.

how to disable vbs

Step 5: Enter .\DG_Readiness_Tool_v3.6.ps1 -Disable (Do not miss the “.” at the beginning) and press Enter. Wait for the execution to complete to reboot your PC. Press F3 twice during the reboot to disable Credential Guard and Device Guard.

Step 6: When the reboot finished, Credential Guard and Device Guard should be disabled and the status of VBS will be "Not enabled". The 785 error will be gone when you restart the emulator or the game.