CompTIA Server+ (SK0-005) — Question 94

Which of the following commands would MOST likely be used to register a new service on a Windows OS?

Answer options

Correct answer: C

Explanation

The correct answer is C, as the 'sc' command is specifically designed for service control management in Windows, allowing users to create, delete, start, stop, and configure services. Option A, 'set-service', is not a valid command for registering services. Option B, 'net', can manage services but is more general, while option D, 'services.msc', is a graphical interface for managing services and does not register services directly.