5/13/2011

This section includes the procedures for registering the device imaging component and restarting the Device Imaging service. You should restart the Device Imaging service after you register the device imaging component or make any changes to the device imaging component.

To register the component

  1. Copy the compiled DLL (and all referenced files) to a separate location on the server where Device Manager 2011 server is installed. For example:

    SamplePlugin\bin\Debug\SamplePlugin.dll

  2. Go to the C:\Windows\Microsoft.NET\Framework\v2.0.50727 folder and run the following command from the command line to register the sample device imaging component:

    RegAsm.exe /codebase C:\Sample\SamplePlugin.dll

    Note:
    You must always register the device imaging component CLSID and implement Device Imaging COM category membership. During device imaging component development, you must verify that your component works for local in-process, to make sure that non-DCOM configurations are valid.

To restart the Device Imaging service

  1. Open a Command Prompt window.

  2. At the command prompt, type:

    net stop "EDM Device Imaging Service"

  3. At the command prompt, type:

    net start "EDM Device Imaging Service"

See Also