# \[UBA\]\[Windows\] -unattended時にHorde server URLの取得が失敗する 

**URL:** <https://forums.unrealengine.com/t/uba-windows-unattended-horde-server-url/2731568>\
**Category:** Pipeline & Plugins\
**Tags:** Epic-Pro-Support, unreal-engine, question\
**Created:** [April 28, 2026, 7:55am UTC](https://forums.unrealengine.com/t/uba-windows-unattended-horde-server-url/2731568 "2026-04-28T07:55:15Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![itho](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/itho/32/1130265_2.png) [@itho](https://forums.unrealengine.com/u/itho)\
**Post date:** [May 20, 2026, 12:50pm UTC](https://forums.unrealengine.com/t/uba-windows-unattended-horde-server-url/2731568/7 "2026-05-20T12:50:35Z")

</div>

詳細をご提供いただきありがとうございます。調査の結果、このコマンドレットは `-unattended` フラグを指定して実行した場合、Desktop Platform モジュールをロードしないことが判明しました。Horde はこのコンテキストで URL を取得し、その後のログインを実行するために、このモジュールに依存しています。

Horde ビルドマシン上で `-unattended` フラグを使用して実行される当社の World Partition Build ジョブでは、分散コンパイルに UBA が正常に使用されていることを確認しました。

お客様もCI/CDにHordeをご利用されていることを踏まえ、これらの自動化された（非対話型）実行にはHordeを使用し、ローカルで実行する際は`-unattended`フラグを省略することをお勧めします。

事前に取得したトークンやサービスアカウントを使用した非対話型操作に関する当初のご質問についてですが、トークンやサービスアカウントを生成する方法はいくつかあります。

サービスアカウントの生成には `/api/v1/serviceaccounts` エンドポイントを、トークンの生成には `/api/v1/admin/token` エンドポイントを使用できます。

これらのエンドポイントの詳細については、https://\<HORDE\_URL\>/swagger/index.html をご覧ください。

また、サービスアカウントのフローに関する情報については、こちらのフォーラム投稿もご参照ください。[Horde system user authentication (ServiceAccounts)](https://forums.unrealengine.com/t/horde%5C-system%5C-user%5C-authentication%5C-serviceaccounts/2676773)

---

Thank you for providing these details. After some investigation, it appears that this commandlet does not load the Desktop Platform module when run with the `-unattended` flag, which Horde relies on to fetch the URL in this context and to perform subsequent login.

I have confirmed that our World Partition Build jobs, which run on Horde build machines and use the `-unattended` flag, are successfully using UBA for distributed compilation.

Given that you are also using Horde for CI/CD, we recommend using Horde for these automated (non-interactive) runs and omit the `-unattended` flag when running locally.

Regarding your original question about performing non-interactive operations with pre-obtained tokens or service accounts, we have several methods for generating tokens and service accounts.

You can use the `/api/v1/serviceaccounts` endpoint to generate service accounts, and the `/api/v1/admin/token` endpoint for tokens.

Please see https://\<HORDE\_URL\>/swagger/index.html for more information on these endpoints.

Please also see this forum post for information on the service account flow. [Horde system user authentication (ServiceAccounts)](https://forums.unrealengine.com/t/horde%5C-system%5C-user%5C-authentication%5C-serviceaccounts/2676773)

[Attachment Removed]

---

_[View the full topic](https://forums.unrealengine.com/t/uba-windows-unattended-horde-server-url/2731568)._
