Screen Sync For Windows Devices
This guide explains how to set up a Screen Sync server on Windows and connect multiple screens using NowSignage Screen Sync.
Note - This guide details screen sync set up for Windows devices. There are two methods for this. Below is the standard method, for the alternate method see the bottom ow this guide (this uses an external Android media player to act as the local WebSocket server).
Step 1 — Install Node.js
- Download the latest version of Node.js from:
https://nodejs.org/en - Run the installer and complete the installation using default settings.
- Verify Node.js installed correctly:
- Open Command Prompt
- Run:
- node -v
- If installed correctly, a version number will appear.
Step 2 — Download the Screen Sync Script
- Download the Screen Sync script:
https://drive.google.com/file/d/1iuzgBUb8sMIF6ENM40YvUuamFPFuy9lG/view - Save the file as:
screen_sync.js
Step 3 — Create Server Folder
- Create a new folder where the sync server will run from. Example:
C:\NowSignage
Copy screen_sync.js into this folder.
Step 4 — Start the Screen Sync Server
- Open Command Prompt
- Navigate to your folder:
cd C:\NowSignage
3. Initialize Node:
npm init -y
4. Install WebSocket dependency:
npm install ws
5. Start the sync server:
node screen_sync.js
Leave this Command Prompt window open. This PC is now acting as the Screen Sync Server.
Step 5 — Get the Server IP Address
You can see this in your network settings of the device, or alternatively,
- Open another Command Prompt window
- Run:
ipconfig
- Look for IPv4 Address, for example:
192.168.1.95
This is your Screen Sync server IP.
Step 6 — Configure Screen Sync in NowSignage
- Open NowSignage CMS
- Go to Screen Sync
- In WebSocket Server Address, enter:
<Server-IP>:5001
Example:
192.168.1.95:5001
- Click Update
Step 7 — Add Screens to Sync Group
- In your Screen Sync Group
- Add all screens you want synchronized:
- Use search OR navigation arrows
- Click the + icon next to each screen
- Click Update
Step 8 — Reboot Screens
- Reboot all screens in the sync group
- Wait 1–3 minutes
- Screens will connect and synchronize automatically
Important Notes
- The server PC must remain powered on
- Do not close the Command Prompt running the server
- All screens must be on the same network
- Port 5001 must be open on the server
Step 8 — If you need to reboot your device or have a daily reboot in place.
Startup Folder Method Setup
First, create a batch file to make it easy:
- Open Notepad and paste this:
@echo off
cd C:\NowSignage\
node screen_sync.js
Save it as start_screen_sync.bat in C:\NowSignage\screen-sync
- Press Win + R, type shell:startup, hit Enter
- Copy your start_screen_sync.bat file into that folder
This will launch the server automatically each time the device starts up. Note - Make sure that the need to login is disabled on the device as this will prevent it from running until the device is logged into.
Alternate Set up Method -
- Set up Android media player independently with only the NowSignage RDM installed and enable WebSocket server ticked - Download here - https://knowledgebase.nowsignage.com/android-remote-device-management-rdm
- Note the IP shown here in the RDM UI
- Create a sync group with only the screens set up with your Windows devices and add the IP noted earlier in the 'Websocket Server Address' field
- Reboot all devices and ensure they are all on the network. Note - Once actioned the above it can take least five minutes before the connection is successful.
You can monitor the NowSignage RDM as this shows when the websocket server begins broadcasting / sending the commands to the devices. See example below-
