5/13/2011

The device imaging solution simulator simulates a real device imaging solution, but does not actually deploy operating system images onto devices. The Visual Studio project for the device imaging solution simulator is stored in the DeviceImagingSimulator folder.

The simulator accepts device imaging requests and cancelation requests from the sample device imaging component. All device imaging deployments to devices are shown, and a user can easily change the state of each device. The list of servers is retrieved by the device imaging component, and it is shown in the New Image Deployment Wizard.

With the New Image Deployment Wizard, you can add information about a new deployment and set a time for the deployment to begin. When a new device imaging deployment is created, the default start time for a deployment is set to two minutes later than the current system clock. You can also set a time for the new image deployment to expire. By default, this is set to six months later than the current system calendar date.

If the deployment start time is set to a time earlier than the current system time, the deployment will begin on the next scheduled task evaluation cycle.

After you close the wizard, the device imaging request for the sample device imaging component is waiting in the queue to be executed by the scheduler. After the scheduler calls the sample device imaging component, the device imaging interface communicates with the device imaging solution simulator, and a list of devices will appear in the simulator. You can change the states of the devices in the simulator by right-clicking the device. You can also view the device imaging status changes in the Configuration Manager console.

To test the sample component

  1. Follow the procedure in the Configuring the Default Scheduler Interval for the Device Imaging Servicetopic to configure the Device Imaging service scheduler interval to 1 minute.

    Note:
    A schedule interval of 1 minute should only be used for testing purposes.
  2. Start the device imaging solution simulator from Visual Studio.

    Note:
    You must start the device imaging solution simulator before using the sample device imaging component. Otherwise, all devices will report a status of Failed.
  3. In the Configuration Manager console, expand Computer Management, expand Embedded Device Management, and then expand Device Imaging.

  4. Right-click Deployments, and then select New Image Deployment.

  5. In the New Image Deployment Wizard, click the Device Imaging Componentlist box, and then select Imaging Simulator.

  6. In the Deployment Namebox, type the name of the deployment.

  7. In the Imagebox, type a name of the image, or click Select, and then select an image.

  8. In the Collectionbox, click Select, and then select a collection.

    Note:
    The collection that you select must include devices. Otherwise, nothing will appear in the simulator.
  9. Click Next.

  10. On the Schedulepage, select the start date and time, and the expiration date and time (optional), and then click Finishto accept your selections.

  11. On the Summarypage, click Next, and then click Close.

    Note:
    The devices will appear in the simulator according to the schedule interval value set in ServiceDelayMinutesin Step 1.

    Also, any device records that are duplicates of other records in the collection will be filtered out and not appear in the simulator.

See Also