The computer-specific MOF file for computer 16srv03 does not exist in the curren

This topic contains 1 reply, has 2 voices, and was last updated by Profile photo of Jeremy Murrah Jeremy Murrah 1 year, 4 months ago.

  • Author
  • #36237
    Profile photo of Asif India
    Asif India

    My goal is to install webserver on 16SRV03
    My pull server – > 16Srv52 (I have mof and checksum file)
    All servers are 2016 Server
    I am running the below on 16SRV02 and i get error

    "The computer-specific MOF file for computer 16srv03 does not exist in the current"

    if I remove computer name run like this

    "Set-DscLocalConfigurationManager -path C:\DSC -Verbose"

    it installs the webserver on 16SRV02 but I want to install webserver on 16SRV03. What am I doing wrong

    Configuration SampleRegistrationMetaConfig
    RefreshFrequencyMins = 30;
    RefreshMode = "PULL";
    ConfigurationMode = "ApplyAndAutoCorrect";
    AllowModuleOverwrite = $true
    RebootNodeIfNeeded = $true
    ConfigurationModeFrequencyMins = 60;

    ConfigurationRepositoryWeb ConfigurationManager
    ServerURL = "http://16SRV52:8080/PSDSCPullServer.svc"
    RegistrationKey = "acf8a52e-47d6-49c8-9486-7262def4c2fd"
    ConfigurationNames = @("InstallWebServer")
    AllowUnsecureConnection = $true


    SampleRegistrationMetaConfig -OutputPath C:\DSC
    Set-DscLocalConfigurationManager -Computer 16srv03 -path C:\DSC -Verbose

  • #36240
    Profile photo of Jeremy Murrah
    Jeremy Murrah

    check your output folder, but I think that config is creating a localhost.meta.mof file. Because you're specifying a remote computer to run that config, it's looking for computername.meta.mof. You can either rename your localhost.meta.mof file, or add the nodename to your configuration

You must be logged in to reply to this topic.