A B C D E F G H I J K L M N O P Q R S T U V W X Y Z #
Home » Guides » Destiny 2 - How to Enable Solo Mode

Destiny 2 - How to Enable Solo Mode

Written by smol gumball   /   Dec 27, 2019    


Enable Solo Mode for Destiny 2 and enjoy solo strikes, solo AFK forge farming, solo patrols, tower visits, etc.

Introduction



Solo mode allows you to load into patrol zones, strikes, black armory forges, and most traditionally matchmade activities as a fireteam of just one: you!

Notably, it does not work in Crucible or Gambit. There may be other modes that never load up as well, and you'll discover this if you're stuck in the matchmaking / "finding guardians" step for a very long time.

How It Works



  • This script configures Windows Firewall to block a handful of ports used to communicate with Destiny 2 servers. It blocks both inbound (to your computer) and outbound (from your computer) communications on both UDP and TCP protocols.
  • The behavior of this script can be replicated by configuring your home router to block the same ports. You can use this router-based blocking method if you feel uncomfortable running this script.
  • The behavior of this script is enabled by standard Windows 10 features, and there is no third-party code in use.

Creating and Running the Script



  1. Create new “text document” on your desktop titled destiny-solo.ps1. Make sure you remove the .txt file extension.
  2. Paste the script from the code box below into your new file.
  3. Alt-tab back into Destiny 2, or open the game if not already running.
  4. Ensure you are in orbit / not in an activity.
  5. Alt-tab, right click the script, and select Run with Powershell.
  6. The script may ask you to verify permissions; it needs to run as administrator. Press Y or A to accept.
  7. The script will run in a blue window and display 4 sets of ports that are now blocked.
  8. Pop back over to Destiny 2 and enjoy solo strikes, solo patrols, tower visits, etc.
  9. To disable solo mode and restore matchmaking, bring up the blue script window and click inside it. Once you’ve clicked in the window, press the Enter key a few times and wait. The script should clean up after itself and close.

<# This code requests administrator permissions so that the script can modify your Windows Firewall rules as needed #>
if (!([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole] "Administrator")) { Start-Process powershell.exe "-NoProfile -ExecutionPolicy Bypass -File `"$PSCommandPath`"" -Verb RunAs; exit }

<# These four commands create sets of blocked ports, both inbound and outbound #>
New-NetFirewallRule -DisplayName "Destiny2-Solo-1" -Direction Outbound -LocalPort 1935,3097,3478-3480 -Protocol TCP -Action Block
New-NetFirewallRule -DisplayName "Destiny2-Solo-2" -Direction Outbound -LocalPort 1935,3097,3478-3480 -Protocol UDP -Action Block
New-NetFirewallRule -DisplayName "Destiny2-Solo-3" -Direction Inbound -LocalPort 1935,3097,3478-3480 -Protocol TCP -Action Block
New-NetFirewallRule -DisplayName "Destiny2-Solo-4" -Direction Inbound -LocalPort 1935,3097,3478-3480 -Protocol UDP -Action Block

<# This writes a message and waits for user input to resume the script. In this way, the script pauses while ports are blocked #>
Write-Host "Destiny 2 Solo mode enabled. Click inside this window and press Enter multiple times to disable solo mode and resume matchmaking capabilities."
Read-Host

<# Once user input is detected, the script resumes and removes the port blocks, restoring things to how they were prior to running #>
Remove-NetFirewallRule -DisplayName "Destiny2-Solo-1"
Remove-NetFirewallRule -DisplayName "Destiny2-Solo-2"
Remove-NetFirewallRule -DisplayName "Destiny2-Solo-3"
Remove-NetFirewallRule -DisplayName "Destiny2-Solo-4"

Game:   Destiny 2
Written by smol gumball.