I am installing 22.214.171.124 UF Agent but I am receiving above error...
In Windows server 2012 R2 64 bit Universal forwarder setup wizard ended prematurely because of an error. Your system has not been modified. To install this program at a later time, run Setup wizard again. Click the finish button to exit the setup Wizard
I'm afraid we'll need logs to troubleshoot further. You can enable logging like so: msiexec /l*vx msiexec.log /i <splunk.msi>
If you then search for return value 3 in that log, what happened immediately beforehand is the culprit.