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
@dpaulson45 is already working on this.
Since May 14, 2025.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.