You install the Windows Deployment Service before adding boot files to the PXE server.
Ensure that you have administrator privileges for Microsoft PowerShell.
Run the ServerManagerCmd -install WDS cmdlet in Microsoft PowerShell.
The Windows Deployment Service is installed.
What to do next
Add the boot files to the PXE server.