Running MDT Server as a Windows Service

You can install the Service shell as a Windows service that runs automatically when you start the computer.

Procedure

  1. In the path\Bin\vc12\Win32\Release folder, where path is the directory where the MDT Server is installed, double click TpSCM.exe.
    The Trapeze Service Control Manager window appears.


  2. Click New.
    The Add New Service dialog box appears.

  3. In the Name field, type a name for the service.
  4. Click the ellipsis (...) button beside the Target field.
    The Open dialog box appears.
  5. In the Bin folder, navigate to the directory where the MDT Server is installed, click MSrv41.exe, and then click Open.
    The path and file name appear in the Target field.
  6. In the Log On As area, select the Local System Account option.
  7. In the Startup area, select the Automatic option.
  8. In the Parameters field, type the following string:

    -config profileName.profile -id=Server

    Where:

    profileName is the name of the profile that you want to use.

    Server is the server specified in the profile (i.e., Primary or Secondary).

  9. In the Add New Service dialog box, click OK.
  10. In the Trapeze6 Service Control Manager window, click Start.
  11. Click Close.