microsoft / microsoft/CSS-Exchange

[Issue] Scripts run into "Failed to open the registry" and "The network path was not found" when Remote Registry is not running

Open
#2,325 0 comments 0 reactions 1 assignee View on GitHub

@dpaulson45 is already working on this.

Since May 14, 2025.

Issue
Dominant language
PowerShell
Stars
1.3k
Forks
395
Avg merge
14h 7m
Merged PRs (30d)
5

Description

Describe the issue
The issue is not clear to the admin running the script to know that the problem is related to Remote Registry not running on the server. This causes various issues with both Health Checker and Exchange Extended Protection Management script plus I am sure all other scripts that use this function.

Expected behavior
Have a better handling of this error that will bubble up the correct information to the client to provide what is wrong.

Additional context
Repro Steps:
Stop the Remote Registry Service. Health Checker only appears to be affected when running remotely. Otherwise, the other script shows a problem when running locally as well.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.