Skip to content

Instantly share code, notes, and snippets.

@anthonybaldwin
Last active February 1, 2025 15:56
Show Gist options
  • Save anthonybaldwin/58099822ce787557d54b100df9eb50ab to your computer and use it in GitHub Desktop.
Save anthonybaldwin/58099822ce787557d54b100df9eb50ab to your computer and use it in GitHub Desktop.
Enable/Disable Marvel Rivals UAC Prompt

Enable/Disable UAC Prompt for Marvel Rivals

Yeah, no. I'd rather play Overwatch.

image

Caution

Everything appears to work fine, and the anti-cheat system at least starts. However, I am not responsible for any bans or suspensions that may occur. Proceed at your own risk.

Tip

Might be best to uninstall the game before toggling on or off.

Methods

Steam Launch Command (source)

  1. Add this as Steam launch command: cmd /min /C "set __COMPAT_LAYER=RUNASINVOKER && start "" %command%"
  2. Launch the game
  3. Remove the launch command later if needed

Registry (source)

Caution

Always backup your registry before making changes. Proceed at your own risk.

  1. Figure out your game executable path

    e.g., C:\Program Files (x86)\Steam\steamapps\common\MarvelRivals\MarvelRivals_Launcher.exe

  2. Manually escape the backslashes (add another one...), or use this:

    e.g., C:\\Program Files (x86)\\Steam\\steamapps\\common\\MarvelRivals\\MarvelRivals_Launcher.exe

  3. Replace your path below, and save/run disable-uac.reg or enable-uac.reg as needed:

    • disable-uac.reg:
     Windows Registry Editor Version 5.00
    
     [HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers]
     "C:\\Program Files (x86)\\Steam\\steamapps\\common\\MarvelRivals\\MarvelRivals_Launcher.exe"="RUNASINVOKER"
    
    • enable-uac.reg:
     Windows Registry Editor Version 5.00
    
     [HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers]
     "C:\\Program Files (x86)\\Steam\\steamapps\\common\\MarvelRivals\\MarvelRivals_Launcher.exe"=-
    
  4. Launch the game

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment