locked
Trying to make a configuration DSC to disjoin server from domain but getting error RRS feed

  • Question

  • Failed to unjoin computer 'xx' from domain 'xxxxx' with the following error message: Access is 
    denied.
        + CategoryInfo          : OperationStopped: (xx:) [], CimException
        + FullyQualifiedErrorId : FailToUnjoinDomain,Microsoft.PowerShell.Commands.AddComputerCommand
        + PSComputerName        : pwelanws01
     
    VERBOSE: [PWELANWS01]: LCM:  [ End    Set      ]  [[xComputer]NewNameAndWorkgroup]  in 1.2810 seconds.
    The PowerShell DSC resource MSFT_xComputer threw one or more non-terminating errors while running the 
    Set-TargetResource functionality. These errors are logged to the ETW channel called 
    Microsoft-Windows-DSC/Operational. Refer to this channel for more details.
        + CategoryInfo          : InvalidOperation: (:) [], CimException
        + FullyQualifiedErrorId : NonTerminatingErrorFromProvider
        + PSComputerName        : xx
    The SendConfigurationApply function did not succeed.
        + CategoryInfo          : NotSpecified: (root/Microsoft/...gurationManager:String) [], CimException
        + FullyQualifiedErrorId : MI RESULT 1
        + PSComputerName        :xx
    Thursday, March 22, 2018 12:47 AM

All replies

  • Hi,

    Based on the current situation, I would like to collect more details to narrow down this issue:
    1. What is the OS of the server that needs to perform DSC configuration?
    2. Which mode of DSC are you using? Push model or Pull model?
    3. What does the configuration file look like? If possible, please post it in the forum directly so that we can do further analysis.

    If you have any updates, please feel free to let me know.

    Best Regards,
    Albert

    Please remember to mark the replies as an answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com

    Friday, March 23, 2018 6:37 AM
  • Hi,

    Just want to confirm the current situations. Please let us know if you would like further assistance.

    Best Regards,
    Albert

    Please remember to mark the replies as an answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com

    Tuesday, March 27, 2018 2:52 AM
  • The project is stalled for something, when we will start again from the scratch will start the thrad. Thanks for your help
    Tuesday, April 10, 2018 4:02 AM