Missing service that does exist

Welcome Forums DSC (Desired State Configuration) Missing service that does exist

This topic contains 1 reply, has 2 voices, and was last updated by

1 year, 11 months ago.

  • Author
  • #72209

    Topics: 1
    Replies: 0
    Points: 1
    Rank: Member

    I've got some services like this in my config:

    Service OneContentAgent {
       Name = "OneContentControlCenterAgent"
       State = "Running"
    Service BDI_Centricity {
       Name = "BDI_Centricity"
       State = "Running"

    It gives me this error when I start my DSC configuration. "PowerShell DSC resource MSFT_ServiceResource failed to execute Set-TargetResource functionality with error message: The service 'BDI_Centricity' does not exist. Specify the path to the executable to create a new service"

    The service does exist! I've made sure the name is exactly the same. I've even copied and pasted in my script from the server I'm trying to configure, as well as typed it multiple times. The other service, "OneContentControlCenterAgent" works fine in my config.
    Any ideas why this keeps failing to find the service?

  • #72419

    Topics: 13
    Replies: 4872
    Points: 1,811
    Helping HandTeam Member
    Rank: Community Hero

    If you run Get-Service on the node, does BDI_Centricity show up in the Name column?

The topic ‘Missing service that does exist’ is closed to new replies.

denizli escort samsun escort muğla escort ataşehir escort kuşadası escort