You should use SERVICE_INTERACTIVE_PROCESS in dwServiceType while creating the service (In CreateService()). (You can use also do this manually by going to services window and changing to property of the service and checking "Allow service to interact with desktop" under Log On As group. Praveen