Skip to content
TECHNOARTH IT for offices and small businesses.
Networking

VPN not connecting in Windows 11 or FortiClient: how to fix

Can't get onto the office VPN from home? Separate network, account and server problems, review the Windows 11 VPN profile and understand FortiClient errors -14 and -7200.

VPN not connecting in Windows 11 or FortiClient: how to fix

A VPN lets staff working from home open the shared folder, the accounting system or the PC on their desk. When it stops connecting, work out whether the fault is on the network of the person trying to connect, in the user’s account or in the office equipment; this guide follows that order.

In this article
  1. Before you start: which VPN does the office use?
  2. Step 1: does the remote user’s internet work?
  3. Step 2: switch networks to isolate the problem
  4. Step 3: confirm the server responds
  5. Step 4: account, MFA, date and time
  6. Step 5: Windows 11 built-in VPN
  7. Step 6: FortiClient
  8. Connected, but nothing opens
  9. What to send to whoever manages the firewall
  10. Frequently asked questions

Before you start: which VPN does the office use?

How people connectWhere the VPN livesWhere to look first
From the Windows network icon, with no extra appThe office router or server (L2TP/IPsec, SSTP or IKEv2)The VPN profile in Windows Settings
Through an app such as FortiClientThe office firewall (for example, a FortiGate)The app’s message and error code

Step 1: does the remote user’s internet work?

Disconnect the VPN and open a few websites. If pages are slow or keep failing, fix that first with the guide to internet that keeps dropping on PC. According to Microsoft’s L2TP/IPsec VPN troubleshooting documentation, without internet access the attempt hangs for about 60 seconds and ends with a vague “no response” type of error.

Step 2: switch networks to isolate the problem

Hotel, coworking and other companies’ networks often block VPNs. Connect the laptop to the internet through a phone (the phone’s hotspot feature) and try again:

  • It connects over the phone but not over the Wi-Fi: the network the person was on blocks the VPN. Use another network, or ask whoever manages the firewall for an option on port 443.
  • It doesn’t connect on any network: go on to steps 3 to 5.
  • Only one employee fails while the others get in: the problem is that person’s account or laptop, not the office.

Step 3: confirm the server responds

Open PowerShell and run the command below with your VPN’s address and the port it uses (443 is common on FortiGate and for SSTP; check with whoever set it up). The address in the example is made up:

Command
Test-NetConnection vpn.contabil-exemplo.com.br -Port 443
PowerShell showing Test-NetConnection results for the VPN server on port 443, with RemoteAddress and TcpTestSucceeded True highlighted
RemoteAddress (1) shows the server name was resolved; TcpTestSucceeded : True (2) shows the port answers from this network.

How to read the Test-NetConnection result:

  • Name resolution error, or no RemoteAddress: the address was typed wrong or DNS can’t resolve it. See DNS server not responding.
  • TcpTestSucceeded : False: the port doesn’t answer from this network. Either the network blocks it, or the office equipment is off, offline or has a different public IP. If everyone fails at the same time, start at the office: power, internet line and router.
  • TcpTestSucceeded : True: the path to the server is open; the problem is more likely the account, the profile or the client app.

Step 4: account, MFA, date and time

  1. Confirm the user name and password. If the VPN uses the network or Microsoft 365 password and it has expired, the VPN usually rejects the sign-in without saying why.
  2. If the VPN asks for two-factor authentication, keep the phone nearby: the notification expires, and if nobody approves it the attempt fails. If the person changed phones, the authenticator app has to be set up again with help from whoever manages the accounts.
  3. Check the date, time and time zone in Settings › Time & language › Date & time, with Set time automatically turned on. With the PC clock wrong, the VPN certificate may be rejected.

Step 5: Windows 11 built-in VPN

The path is Settings › Network & internet › VPN. To connect, select Connect next to the connection, or use the VPN button in quick settings on the taskbar (the network, volume and battery icon); with more than one VPN, use Manage VPN connections. When it works, Connected appears under the connection name, as described on Microsoft’s page Connect to a VPN in Windows.

Windows VPN settings with the company connection and VPN over metered networks highlighted
Connect from the list (1) and keep VPN over metered networks on (2), common with 4G/5G routers.

If the connection has never worked on this PC, check the profile: select the connection, then Advanced options and Edit, and compare it with the office setup:

Windows 11 Add a VPN connection window with the Windows (built-in) provider, the server address and the VPN type highlighted
The server address (1) and VPN type (2) must be exactly what the person who set up the office router or firewall gave you.
  • Server name or address: a single extra character breaks the connection. If the office has no static IP and uses a dynamic DNS name, confirm it still points to the current IP.
  • VPN type: Automatic makes Windows try protocols from the most secure to the least secure, according to the VPN connection types documentation. If the server accepts only one type, choosing that exact type avoids pointless attempts.
  • Type of sign-in info: must match the server’s method (password, certificate, smart card and so on).

For L2TP/IPsec, Microsoft lists a missing or misconfigured pre-shared key or certificate as a common failure: the connection then fails before asking for the password. If the password prompt appears and then fails, the account is the more likely culprit.

Step 6: FortiClient

MessageWhat it usually meansWhat to do
“VPN server may be unreachable” (-14)Wrong address or port, a network blocking it, an expired password, or the user not in the VPN group on the FortiGateRun the step 3 test; if it passes, check the account and group on the firewall
“Credential or SSLVPN configuration is wrong” (-7200)Wrong user name or password, or an incompatible SSL VPN setup on the FortiGateRetype the credentials; if others fail too, the problem is on the firewall
Certificate warningUntrusted server certificate, or the PC clock is wrongCheck date and time; only accept it once the firewall administrator confirms

One change catches a lot of offices out: Fortinet removed SSL VPN tunnel mode in FortiOS 7.6.3, replacing it with IPsec VPN. If the VPN stopped for everyone right after a FortiGate update, the FortiClient SSL VPN profile no longer exists on the firewall side and has to be rebuilt as IPsec. Fortinet’s own community has reports of error -7200 in this situation.

Keep FortiClient on the version recommended for your firewall, and disconnect any other open VPNs.

Connected, but nothing opens

If the VPN shows as connected but the folder or system won’t open, check whether the employee’s home network uses the same IP range as the office (for example, both on 192.168.0.x). The laptop then can’t tell whether an address is local or remote; the simplest fix is to change the range on the home router. Changing the office range fixes it for everyone, but means redoing the static IPs of printers and servers and the VPN settings on the router, so plan it with whoever looks after the network. To reach the desk PC over the VPN, also follow the guide to Remote Desktop not connecting.

What to send to whoever manages the firewall

Gather the exact error text, the network used, the time of the attempt, the step 3 result and the client version: with that, they can match it against the device’s logs.

Frequently asked questions

Can I use a free VPN to reach the office?

No. Consumer VPNs are for browsing the internet with a different IP; they don’t give access to the company network, and they route work traffic through a third-party service.

Do I need a VPN to use Microsoft 365 email and OneDrive from home?

No. They work over the internet with the company account. The VPN is only needed for things that live inside the office, such as shared folders, printers and systems installed on the local server.

Share

About the author

TECHNOARTH Editorial Team

The TECHNOARTH newsroom: technology tutorials, guides, comparisons and news produced with AI assistance and checked against manufacturers’ official sources.

Reviewed by Arth Moraes — Arth Moraes is the editorial pen name of the person responsible for TECHNOARTH, who sets the agenda, reviews and approves every tutorial before publication and is accountable for corrections.