Skip to content

Commit 1346baf

Browse files
Add cmd.exe execution check for PAD browser extension
Added instructions to check and enable cmd.exe execution for Power Automate Desktop.
1 parent 7f250a8 commit 1346baf

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

support/power-platform/power-automate/desktop-flows/browser-automation/web-extensions-policies.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,28 @@ Follow these steps:
259259

260260
- MSIX Windows 10: `AppData\Local\Packages\Microsoft.PowerAutomateDesktop_8wekyb3d8bbwe\TempState\webextensions\PAD.ChromiumManifest.json`
261261

262+
263+
### Check whether cmd.exe execution is disabled
264+
265+
Power Automate Desktop (PAD) relies on the browser extension to communicate with the native messaging host. If execution of cmd.exe is blocked by Group Policy, Intune, or registry restrictions, the browser cannot launch the native messaging host, which may cause the PAD browser extension to fail.
266+
267+
How to resolve the issue:
268+
1. Re-enable command prompt via Group Policy
269+
- Press Win + R, type gpedit.msc, and press Enter.
270+
- Navigate to: User Configuration → Administrative Templates → System
271+
- Open Prevent access to the command prompt.
272+
- Set the policy to Disabled or Not configured.
273+
- Select OK to save the changes.
274+
2. Re-enable cmd.exe via Registry Editor
275+
- Open regedit.
276+
- Navigate to: HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\System
277+
- Find the DisableCMD value and:
278+
- Set it to 0, or
279+
- Delete the value entirely.
280+
281+
Restoring access to cmd.exe ensures that the browser can correctly launch the native messaging host required by the PAD browser extension.
282+
283+
262284
### Check for the ComSpec variable
263285

264286
Check whether the `ComSpec` variable exists in **Environment variable** under **System variables**. If it doesn't exist, add it, and then try again:

0 commit comments

Comments
 (0)