-
Notifications
You must be signed in to change notification settings - Fork 7.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PowerShell Core is denied permission to SshdBroker service state #7358
Comments
Just an FYI In newer edition of Windows 10 (ie. 17713), the SshBroker Service is no longer used. Windows 10 OpenSsh client is enabled by default. But the OpenSsh Server will need to be installed in order to allow other system to remotely connect to Windows. |
Thank you @MaximoTrinidad for sharing the info. Is the |
Hi @LawrenceHwang, I got an scenario that on after the upgrade to newer Windows 10 Insider Build the sshbroker no longer work ("<Failed to Read Description. Error Code: 15100 > "). But, on a fresh newer build sshbrokeris no longer installed. I would suggest not to upgrade and do a fresh installation of the Windows 10 Insider edition. :) |
Thank you @MaximoTrinidad 👍 Given the case is specific and likely only have limited number of users impacted. I suggest closing this issue. The information you shared is sufficient for future PowerShell users run into this case. I also used
Cheers, Lawrence |
@LawrenceHwang I could not disagree more. Every PC I've looked at in our Organization, has been upgraded and every one has this issue: SshdBroker <Failed to Read Description. Error Code 15100> and it's RUNNING despite being set to MANUAL on all of them. And, If Microsoft thinks my Team and I are going to REINSTALL Windows fresh on over 1500 PC's they've got another thing coming!! |
You should not need to reinstall Windows to fix this issue. You just need to remove the service from the affected systems. Assuming they are domain joined, then one solution would be to create a startup script that checks to see if the broker service exists on the computer, and if so, removes it. Combine that with a WMI filter that only runs said script if and only if the broker service is on the system. After a few days, all hosts would be resolved, You could add a bit of telemetry to the script to report back each host on which the script was run to confirm the service removal. I wish I was better with WMI filters to tap one out. But you get the idea and no doubt Google can assist with the details. |
Noticed following permission denied errors on PowerShell Core
6.0.2
and6.1.0-preview.4
even when running in Administrative session of PowerShell Core.Client OS is Windows 10 1083 (Build 17134.167)
Thank you.
Steps to reproduce
Expected behavior
Actual behavior
Environment data
The text was updated successfully, but these errors were encountered: