Welcome to our new Microsoft Q&A Platform.
You can try the commands below:
wdsutil /Uninitialize-Server
wdsutil /Initialize-Server /REMINST:"F:\RemoteInstall"
Or you can remove your original WDS Server, re-add and configure a WDS Server in the Windows Deployment Services console. When configuring a new WDS Server, you can point a location to save the remote installation folder. By default, it is C:\RemoteInstall.