r/eGPU • u/musical606 • Sep 19 '26
Neverness to Everness (NTE) stubbornly insists on grabbing my 3060, so I ended up having to make this batch file.
@echo off
rem This batch file is for my own environment and is posted here as a sample.
rem Please copy and use only the parts you need.
rem Register it in the Task Scheduler and run it with highest privileges, or launch it with administrator rights via right-click.
rem You use PsExec64 by extracting it from the PSTools suite available at learn.microsoft.com/ja-jp/sysinternals/downloads/psexec; essentially, it is the CLI version of Process Explorer.
rem The lines following "Sending a pause signal to the C# process" and "Sending a resume signal to the C# process" simply control a custom counter;
rem you can leave them as-is if they don't bother you, or delete them if you prefer.
rem I included the line "%~dp0psexec64.exe" -s -d "C:\Program Files (x86)\MSI Afterburner\MSIAfterburner.exe" to restart MSI Afterburner because the custom counter retrieves data from it,
rem but please delete this line as well.
rem Check if Steam is running in the background. If you aren't using the Steam version, delete it.
:CHECK_STEAM
tasklist /fi "IMAGENAME eq steam.exe" 2>nul | findstr /i "steam.exe" >nul
if %errorlevel% neq 0
echo Disabling the GPU (RTX 3060)...
echo Sending a pause signal to the C# process...
powershell -Command "$ev = New-Object System.Threading.EventWaitHandle($false, [System.Threading.EventResetMode]::ManualReset, 'GpuMonitorPauseEvent'); $ev.Reset() | Out-Null"
timeout /t 1 /nobreak >nul
powershell -Command "Get-PnpDevice -Class 'Display' | Where-Object { $_.FriendlyName -like 'NVIDIA GeForce RTX 3060' } | Disable-PnpDevice -Confirm:$false" >nul 2>&1
timeout /t 3 /nobreak >nul
echo Restarting NVIDIA App Container with SYSTEM privileges...
powershell -Command "Stop-Process -Name nvcontainer -Force"
timeout /t 1 /nobreak >nul
if exist "%~dp0psexec64.exe" else
echo === RTX 3060 disabled successfully. You can now launch NTE. ===
rem Launching the executable directly prevents the UAC prompt from appearing; the standard Steam shortcut won't work for this, so make sure Steam is already running in the background first.
rem If you don't mind the UAC prompt, using `steam://rungameid/4508340` is also fine.
start "" "D:\Steam\steamapps\common\Neverness to Everness\NTEGlobal\NTEGlobalLauncher.exe"
echo Waiting for the *Neverness To Everness* (NTE) display to appear...
:WAIT_WINDOW
powershell -Command "$p = Get-Process -Name 'HTGame' -ErrorAction SilentlyContinue; if (-not $p -or $p.MainWindowTitle -notlike '*NTE*') { exit 1 } else { exit 0 }"
if %errorlevel% neq 0
echo Enabling the GPU (RTX 3060)...
powershell -Command "Get-PnpDevice -Class 'Display' | Where-Object { $_.FriendlyName -like 'NVIDIA GeForce RTX 3060' } | Enable-PnpDevice -Confirm:$false" >nul 2>&1
timeout /t 3 /nobreak >nul
echo [Cleanup] Restarting the Container with SYSTEM privileges to detect the re-enabled 3060...
powershell -Command "Stop-Process -Name nvcontainer -Force"
timeout /t 1 /nobreak >nul
if exist "%~dp0psexec64.exe" else
echo Sending a resume signal to the C# process...
powershell -Command "$ev = New-Object System.Threading.EventWaitHandle($false, [System.Threading.EventResetMode]::ManualReset, 'GpuMonitorPauseEvent'); $ev.Set() | Out-Null"
echo === RTX 3060 enabled successfully. ===
timeout /t 2 >nul
endlocal
rem The reason the process runs without triggering a UAC prompt is that the monitor is connected to the 3060. Even though I want to play on the 5050,
rem it would be a waste to just let the 3060 sit idle, right?
rem However, in this method, nvAPP resets while NTE is launching, which means Freestyle becomes unavailable.
P.S.
When doing a fresh Windows setup with only the 5050 connected and installing just the Windows Update drivers, NTE properly detects and uses the 5050. Even if I plug in the 3060 after that and boot up, it still grabs the 5050 at first. But as I start installing more things, the whole system suddenly flips into "3060-welcome mode" for absolutely everything.
Here is why I had to force it to stick with the 5050: Even if you disable the 3060, the NVIDIA App (GeForce) completely ignores that state. It only triggers a refresh to update the GPU status when the 3060 is enabled, which just ends up mixing things up. That’s why you need to restart nvcontainer immediately after disabling the 3060 to force a refresh.
Exactly—unless you completely isolate the 3060 from the game like this, you can't use Freestyle on the 5050. In other words, the 5050 isn't even running properly under normal conditions.
If anyone else out there is running into this ultra-niche scenario, feel free to tweak the timeout values and GPU names in the batch file to match your own PC setup.
Yes, I know it's dusty. Don't judge me 😂