Examples

Register a service

A service is registered to start manually with Logon as local system account:

PrinterService.exe -Service

Register a service to start automatically

A service is registered to start automatically with Logon as local system account:

PrinterService.exe -Service -Auto

Register a service to start automatically with Logon Account of local user Administrator with password qwerty

A service is registered to start automatically with Logon as local administrator:

PrinterService.exe -Service -Auto –Account .\ Administrator -Pwd qwerty

Register a service to start automatically with Logon Account of user Alex from domain Corpdom with password 123456

A service is registered to start automatically with Logon as Domain\Alex:

PrinterService.exe -Service -Auto -Account Domain\Alex -Pwd 123456

Unregister a service

PrinterService.exe -UnregServer

Set the session profiles directory to C:\Working Directory\MFProfiles

PrinterService.exe –Profiles ”C:\Working Directory\ MFProfiles”

Register a service to start automatically with Logon Account of user Alex from domain Domain with password 123456 and set the profile directory C:\Working Directory\ MFProfiles

PrinterService.exe -Service -Auto -Account Domain\Alex -Pwd 123456 -Profiles ”C:\Working Directory\ MFProfiles”