Security Camera Software for Windows

How to Connect an ONVIF Camera to Your Windows PC, Step by Step

Connect any ONVIF IP camera to a Windows PC: enable ONVIF, create an ONVIF user, find the camera, add it to a viewer and fix common connection errors.

By ZenByte Apps team Published Updated 4 min read
SecureView Edit Camera screen for an ONVIF camera showing connection status and settings

To connect an ONVIF camera to a Windows PC, enable ONVIF in the camera's web settings (creating an ONVIF user if required), put the PC on the same network, then add the camera in an ONVIF-compatible app such as SecureView using auto-discovery or its IP address, ONVIF port and login.

What is ONVIF and why does it matter?

ONVIF is an open industry standard that describes how IP cameras, recorders and software talk to each other. Because it is shared across manufacturers, an ONVIF camera from one brand can be used with a viewer such as SecureView from another. ONVIF handles discovery, configuration and PTZ control, while the video itself is normally delivered over RTSP.

Before you start

Checklist
CameraPowered on, connected to your network and set up with its maker's app
Admin loginThe camera's administrator username and password
PCA Windows 11 PC on the same network (same router or switch)
SoftwareSecureView or another ONVIF-compatible viewer

Step-by-step: connect an ONVIF camera to Windows

  1. Open the camera's web interface

    Type the camera's IP address into a web browser on your PC and sign in with the admin account.

  2. Enable ONVIF

    Find the ONVIF setting (often under Network, Advanced, Integration or Platform access) and switch it on. Note the ONVIF port shown there.

  3. Create an ONVIF user if required

    Some cameras use separate ONVIF accounts. Add a user with a strong password and at least operator or viewer rights.

  4. Sync the camera clock

    Set the camera to use NTP or match the PC's time. ONVIF authentication can fail when the camera and PC clocks differ by more than a few minutes.

  5. Add the camera in SecureView

    In SecureView choose Add camera. Select the camera from the discovered list, or type its IP address and ONVIF port, then enter the ONVIF username and password.

  6. Test the stream and save

    Confirm the live preview appears, choose the stream quality, and save the camera. Repeat for up to 8 cameras.

Troubleshooting ONVIF connection problems

Common ONVIF problems and fixes
SymptomLikely causeFix
Camera not found by discoveryDifferent network or subnet, Public network profile, or ONVIF disabledPut the PC on the same network, set the profile to Private, enable ONVIF, or add the camera manually
"Authentication failed"Wrong account, separate ONVIF user needed, or clock mismatchCreate an ONVIF user and sync the camera time with NTP
Connects but no videoRTSP port blocked or wrong stream selectedAllow the viewer through Windows Firewall on Private networks and check the RTSP port (often 554)
Video stutters or freezesWeak Wi-Fi or too high a bitrateUse Ethernet, lower resolution or frame rate, or use the camera's sub-stream for live view
Stopped working after a power cutCamera got a new IP address from the routerReserve a fixed IP for the camera in your router

How do you keep your cameras secure?

  • Change default passwords on every camera and use a unique password for the ONVIF user.
  • Update camera firmware from the manufacturer's site.
  • Avoid port forwarding camera ports to the internet. Use a VPN into your home network if you need remote access.
  • Keep credentials safe on the PC. SecureView stores camera logins in Windows Credential Manager, so they are encrypted and tied to your Windows account.

What to do next

With the camera connected, set up motion detection and recording. See How to Record Security Camera Footage to Your PC Without a Subscription for storage planning, or How to View IP Cameras on Windows 11 for Free (No Cloud Needed) for multi-camera viewing tips.

Frequently asked questions

How do I know if my camera supports ONVIF?

Check the product page, datasheet or manual for "ONVIF" and a profile such as Profile S or Profile T. If the camera's web interface has an ONVIF setting, it supports it.

What is the default ONVIF port?

There is no single default. Many cameras use port 80 (the web port), while others use 8000, 8080 or 8899. The correct port is shown in the camera's ONVIF or network settings.

Why does my ONVIF camera say authentication failed?

Usually the wrong account is being used (some brands need a separate ONVIF user), the password contains characters the camera rejects, or the camera's clock is out of sync with the PC.

Can I connect an ONVIF camera over Wi-Fi?

Yes, as long as the camera and PC are on the same network. A wired Ethernet connection is more reliable for continuous recording.

Do I need ONVIF if I already have the RTSP URL?

Not necessarily. RTSP alone is enough to view the video. ONVIF adds automatic discovery, PTZ control and easier setup across brands.