Summary

In this lab you have improved the performance and security of a Windows service to become a better citizen of the operating system. You used the trigger-start service mechanism to launch the service only when there is actual work for it to perform, and you have minimized the service’s attack surface by removing unnecessary privileges from its process’ token.

You can find a full demo of the USB copy service and the Weather Updater service as part of this Windows 7 course’s code samples.