Table of Contents

This guide will walk you through setting up VMWare and optimizing Windows on a virtualized machine.

VMWare Versions

You have two versions of of VMWare to choose from.

VMWare Workstation Player

VMWare Workstation Pro

VMWare Configuration

Host Hardware

Virtual Machine “Hardware” Configuration

Windows Software Configuration (For guest Virtual Machines)

Verify Minion Works!

NOTE: Make sure the bot is functionally working before proceeding to the next following steps as troubleshooting becomes much more difficult afterwards.

Giving VMWare Priority

Use the “Prio” Task Manager addon on the host PC to make all of your “vmware-vmx.exe” processes high priority.

https://www.prnwatch.com/prio/

Command Line Arguments

The following command line arguments should be specified in the Minion launcher, without the quotes.

“-dx9single -forwardrenderer -nosound -nomusic -shareArchive -fps 5”

NOTE

Disabling Windows Update Automatic Reboots

The following batch file (.cmd) will prevent Windows from automatically rebooting after Windows Updates are applied. You'll need to run this batch file from an elevated command prompt.

@ECHO OFF
CD /D “C:\WINDOWS\System32\Tasks\Microsoft\Windows\UpdateOrchestrator”
:LOOP
DEL /S /Q Reboot
MD Reboot
IF NOT EXIST Reboot\NUL GOTO LOOP

Uninstalling Unnecessary Programs

The following batch file (.cmd) will uninstall a ton of bloatware programs that come with Windows. You'll need to run this batch file from an elevated command prompt.

powershell -c “Get-AppxPackage *3dbuilder* | Remove-AppxPackage”
powershell -c “Get-AppxPackage *windowsalarms* | Remove-AppxPackage”
powershell -c “Get-AppxPackage *windowscalculator* | Remove-AppxPackage”
powershell -c “Get-AppxPackage *windowscommunicationsapps* | Remove-AppxPackage”
powershell -c “Get-AppxPackage *windowscamera* | Remove-AppxPackage”
powershell -c “Get-AppxPackage *officehub* | Remove-AppxPackage”
powershell -c “Get-AppxPackage *skypeapp* | Remove-AppxPackage”
powershell -c “Get-AppxPackage *getstarted* | Remove-AppxPackage”
powershell -c “Get-AppxPackage *zunemusic* | Remove-AppxPackage”
powershell -c “Get-AppxPackage *windowsmaps* | Remove-AppxPackage”
powershell -c “Get-AppxPackage *solitairecollection* | Remove-AppxPackage”
powershell -c “Get-AppxPackage *bing* | Remove-AppxPackage”
powershell -c “Get-AppxPackage *zunevideo* | Remove-AppxPackage”
powershell -c “Get-AppxPackage *bingnews* | Remove-AppxPackage”
powershell -c “Get-AppxPackage *onenote* | Remove-AppxPackage”
powershell -c “Get-AppxPackage *people* | Remove-AppxPackage”
powershell -c “Get-AppxPackage *phone* | Remove-AppxPackage”
powershell -c “Get-AppxPackage *photos* | Remove-AppxPackage”
powershell -c “Get-AppxPackage *windowsstore* | Remove-AppxPackage”
powershell -c “Get-AppxPackage *bingsports* | Remove-AppxPackage”
powershell -c “Get-AppxPackage *soundrecorder* | Remove-AppxPackage”
powershell -c “Get-AppxPackage *bingweather* | Remove-AppxPackage”
powershell -c “Get-AppxPackage *xboxapp* | Remove-AppxPackage”

Application Compatibility Flags

The following registry file (.reg) modifies the compatibility flags for GW2, which can make it run better.

Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers]
“D:\\Guild Wars 2\\Gw2-64.exe”=“~ DISABLEDXMAXIMIZEDWINDOWEDMODE WIN7RTM DisableDWM HIGHDPIAWARE DISABLETHEMES”

Disabling Unnecessary Processes

The following registry files (.reg) will disable a ton of unnecessary processes.

Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\TextInputHost.exe]
“Debugger”=““
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\GameBar.exe]
“Debugger”=”“
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\GameBarFT.exe]
“Debugger”=”“
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\GameBarFTServer.exe]
“Debugger”=”“
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\GameBarElevatedFT.exe]
“Debugger”=”“
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\GameBarElevatedFT_Alias.exe]
“Debugger”=”“
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\GameBarPresenceWriter.exe]
“Debugger”=”“
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\smartscreen.exe]
“Debugger”=”“

Disabling Unnecessary Services

The following registry file (.reg) will disable a ton of unnecessary services.

Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\AudioEndpointBuilder]
“Start”=dword:00000004
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Audiosrv]
“Start”=dword:00000004
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ClipSVC]
“Start”=dword:00000004
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DusmSvc]
“Start”=dword:00000004
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DoSvc]
“Start”=dword:00000004
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DiagTrack]
“Start”=dword:00000004
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DispBrokerDesktopSvc]
“Start”=dword:00000004
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Power]
“Start”=dword:00000004
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip6]
“Start”=dword:00000004
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Themes]
“Start”=dword:00000004
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\wuauserv]
“Start”=dword:00000004

Disabling Unnecessary Windows Security

The following registry file (.reg) will disable a lot of Windows Security that you may not need on an isolated VM.

Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management]
“MoveImages”=dword:00000000

Removing Difficult Processes in Safe Mode

Holding shift and restarting the Windows 10 VM will allow you to boot to a diagnostic command prompt, in which you can delete some apps that otherwise cannot be removed.

CD /D C:\
DEL /S /Q TextInputHost.exe
DEL /S /Q *gamebar*.exe
DEL /S /Q MsMpEng.exe
CD /D “C:\Program Files\Windows Defender”
:LOOP
DEL /Q MsMpEng.exe
MD MsMpEng.exe
IF NOT EXIST MsMpEng.exe\NUL GOTO LOOP