QuestionQ107

Tools/Systems/Programs

Emily, a system administrator, must automate deployment of a custom service to a group of Windows servers in her organization. She has written a script to add the new service to every server. The service will run a custom executable that supplies specific functionality for internal applications. To make sure the service is created correctly, Emily needs to identify the SrvMan command used to deploy the service to the system. Which of the following SrvMan commands should Emily use to create the new service?

  • A srvman.exe add [service name] [display name] [/type:][/start:] [/interactive:no] [/overwrite:yes]
  • B srvman.exe delete
  • C srvman.exe stop [/nowait] [/delay:]
  • D srvman.exe run [service name] [/copy:yes] [/overwrite:no] [/stopafter:]
Explanation

SrvMan creates a service with the add command. Its full syntax begins with srvman.exe add followed by the executable file and optional service settings; delete removes a service, stop controls an existing service, and run is intended for testing a legacy driver. SrvMan Command Line Options

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!