Quote:
is there any way that i can prompt user to give two inputs
Prompting the user for input when starting a bit against the principles of a Windows Service: running in the background without user-visible windows.
You can do this instead: write another program for configuration. This config program is not a service and shows a window where the user can specify configuration. This configuration can get saved to a file, and your service reads this configuration file when it starts.