Ochestrator Installation Issue - An unexpected error has Occured

First of all. did your server have all the requirements available? How far does the installation go before returning the error?

Try using the uipathOrchestrator.msi and install from commandline. You can output the information to a log file.
Go to url: https://cloud.uipath.com/
Check the resource center to download the latest Orchestrator verision.

run this command: UiPathOrchestrator.msi TELEMETRY_ENABLED=0 /l*vx log.txt
any error will be logged in the txt file.

edit: do you maybe have Microsoft Monitoring agent installed on your server? Then please check this: