Using RD Gateway in Microsoft Remote Desktop to Remote from a Mac into your University owned Windows computer

This KB Article References:

Requirements

Set up the Remote Desktop Gateway

  1. Launch the Windows App
  2. From the MacOS menu bar, select Windows App, then select Settings
    Screenshot of the Windows App menu bar on macOS with the settings menu highlighted
  3. On the Preferences pane, select the Gateways tab
  4. To add a Remote Desktop gateway, select the + (plus) icon and enter the values below in the fields:
    1. Gateway Name: rdpgw-2fa.cc.stonybrook.edu
      i. User Account: Use PC User Account
      ii. Friendly name: RD Gateway
    2. User Account: Add Credentials
      i. Username: sunysb.edu\NETID
      ii. Password: NetID password
      Screenshot of the Gateways settings form with the Add (Plus) button highlighted
  5. click Add

Set up Desktop and Connect

  1. Have your default Duo enabled device convenient to approve login during the last step
  2. Set up Your Desktop:
    1. Windows App will open on the Devices tab. Select the plus (+) icon, then select the option Add PC
      Screenshot of the Windows App Add PC menu item
    2. Fill in the fields as follows:
      1. PC name: enter the name of the computer you're connecting to, followed by .campus.stonybrook.edu Example: mycomputer.campus.stonybrook.edu
      2. Credentials: Select the previously made account or enter your username as sunysb.edu\NetID (example:  sunysb.edu\bsmith) and password as your NetID Password.
  3. Fill in the fields as follows, and then click Add:
    1. Friendly Name: Work Computer (or a name for the computer you're connecting to)
    2. Group: Saved Desktops or Saved PCs
    3. Gateway: Select the RD Gateway you set up above
      Screenshot of the Add PC form with the PC name prompt, credentials input and gateway
  4. To use 2+ monitors on the computer you're physically sitting at, click the Display tab
    1. S​​​​​​elect ☑︎Use all monitors
    2. Click Save
      Screenshot of the display tab under Add PC form with selection to use all monitors
  5. To use Zoom and set to use the Microphone and Camera from the computer you're physically sitting at, click the Devices & Audio tab
    1. Select ☑︎Microphone and ☑︎Cameras
    2. Click Save
      Screenshot of the Devics and Audio tab under the Edit PC form with selection to include Printers, Smart Cards, Microphone and cameras
      1. Note: If running MacOS 15 and above, camera and microphone access will first need to be granted within System Settings
        1. Camera Access: System Settings > Privacy and Security > Camera > toggle on Windows App > Quit and Reopen
          Screenshot of the Security and Privacy preferences in macOS granting windows app permission to use the camera
        2. Microphone Access: System Settings > Privacy and Security > Microphone > toggle on Windows App > Quit and Reopen
          Screenshot of the Security and Privacy preferences in macOS granting windows app permission to use the microphone
  6. From the main Windows App, double click on the New Connection you just created, and a window will open showing Connecting ... (it may take several moments to connect)
  7. If prompted to log in, use the following
    User name: sunysb.edu\NetID (replacing NetID with your NetID, e.g., sunysb.edu\bsmith)
    Password: your NetID password
  8. Approve the Login Request on your default DUO enabled device (the DUO prompt will indicate that the login request is from RDPGW-2FA)
    Screenshot of the Duo approve login request
  9. If you receive a Verify Certificate prompt, click Continue
  10. Accept the certificate by selecting Continue
    Screenshot of the Accept certificate prompt that you'll need to accept to connect to the remote computer
This Content Last Updated:
01/29/2026

Supported By


Customer Engagement and Support

Need Help? The fastest way to get support is by submitting a request through our ticketing system.

Get Help With the RD Gateway
This KB Article References:
Estimated Read Time:
2 minutes
This Content Last Updated:
01/29/2026