Skip to content

How to Set up UCC on workstation + server

EARLY PORT

After each consultation in a UCC - The Doctors / Admin staff are required to connect. To make this happen you will need to follow the instructions below, either following the or


Semi-automated process


Run the compiled .bat script below on each client machine.

DANGER

Once completed you need to open port 8001 on the server. Do this through PDQ

batch
@echo off
REM Run as Administrator
if "%1"=="goto" goto :main
powershell -Command "Start-Process -Verb RunAs -FilePath '%0' -ArgumentList 'goto'"
exit /b

:main
REM Update the hosts file
set hostsPath=%SystemRoot%\System32\drivers\etc\hosts
set entry=192.168.1.10 ucs.pencs.com.au

REM Check if the entry already exists in the hosts file
findstr /C:"%entry%" "%hostsPath%" >nul
if %errorlevel% neq 0 (
    echo %entry%>>%hostsPath%
    echo Entry added to hosts file.
) else (
    echo Entry already exists in hosts file.
)

REM Create a shortcut on the desktop
set desktopPath=%USERPROFILE%\Desktop
set shortcutPath=%desktopPath%\UCC_Module.url
set websiteUrl=https://medicareuccmodule.pencs.com.au/

REM Create the shortcut file
echo [InternetShortcut] > "%shortcutPath%"
echo URL=%websiteUrl% >> "%shortcutPath%"

echo Shortcut created on desktop.
exit /b

Manual Installtion

Manual Installation


1

<Add server IP> ucs.pencs.com.au to %SystemRoot%\System32\drivers\etc\hosts on each client machine

TIP

e.g. 192.168.1.10 ucs.pencs.com.au

2

3

Open port 8001 on the server through PDQ's UCC Port Open package