1. On the server, start a command prompt and type the following
command

wdsutil /uninitialize-server

2. Run risetup (or start menu -> administrative tools -> Windows
Deployment Services Legacy) and add a Windows image (for example
Windows Server 2003)

Note: Remote Installation Folder should be set to D:\RemoteInstall

3. In the command prompt, type the following command

wdsutil /initialize-server /reminst:”D:\RemoteInstall”