| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:2526d6e6-6e55-411c-4fa6-3e4a38a53c8c |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | E4F4:2CFBF7:113DD4E:185CA70:6AFCD5C5 |
| html-safe-nonce | 0d9df2f7fe4a4c4381d00f1c32b6ba489097f18714b42253b61315f66da2e0c6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNEY0OjJDRkJGNzoxMTNERDRFOjE4NUNBNzA6NkFGQ0Q1QzUiLCJ2aXNpdG9yX2lkIjoiMjI3NDgwNDc4MTMwNDA0Mjk0OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | b1254fa8f3869bbcb655bb8160640386256314da321d5e4d092d8824b2f2f874 |
| hovercard-subject-tag | pull_request:5195855488 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/PowerShell/PowerShell/28374/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/eccb53981eb4fa929535a20a14ac41fd4017870f66e425842b17af77d6609f5e/PowerShell/PowerShell/pull/28374 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/eccb53981eb4fa929535a20a14ac41fd4017870f66e425842b17af77d6609f5e/PowerShell/PowerShell/pull/28374 |
| og:image:alt | PR Summary
Fixes #28372.
On every start, SystemPolicy.GetSystemLockdownPolicy() finds the system-wide AppLocker policy by writing two __PSScriptPolicyTest_* files to %TEMP%, checking them with Safe... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | azchohfi |
| hostname | github.com |
| expected-hostname | github.com |
| None | b5b7bc7e41e0a604bbdb5035c7ed9620c2d28b9c8a18747182e2262a75abfd91 |
| turbo-cache-control | no-cache |
| go-import | github.com/PowerShell/PowerShell git https://github.com/PowerShell/PowerShell.git |
| octolytics-dimension-user_id | 11524380 |
| octolytics-dimension-user_login | PowerShell |
| octolytics-dimension-repository_id | 49609581 |
| octolytics-dimension-repository_nwo | PowerShell/PowerShell |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 49609581 |
| octolytics-dimension-repository_network_root_nwo | PowerShell/PowerShell |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | ff5022cc3aa767e6115451d9c322dd975506d40e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/PowerShell/PowerShell/pull/28374#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fpull%2F28374 |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fpull%2F28374 |
| Sign up | https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=PowerShell%2FPowerShell |
| Reload | https://github.com/PowerShell/PowerShell/pull/28374 |
| Reload | https://github.com/PowerShell/PowerShell/pull/28374 |
| Reload | https://github.com/PowerShell/PowerShell/pull/28374 |
| PowerShell | https://github.com/PowerShell |
| PowerShell | https://github.com/PowerShell/PowerShell |
| Code | https://github.com/PowerShell/PowerShell |
| Issues1.3k (1.3k) | https://github.com/PowerShell/PowerShell/issues |
| Pull requests363 (363) | https://github.com/PowerShell/PowerShell/pulls |
| Discussions | https://github.com/PowerShell/PowerShell/discussions |
| Actions | https://github.com/PowerShell/PowerShell/actions |
| Projects | https://github.com/PowerShell/PowerShell/projects |
| Security and quality3 (3) | https://github.com/PowerShell/PowerShell/security |
| Insights | https://github.com/PowerShell/PowerShell/insights |
| https://github.com/PowerShell/PowerShell |
| Alexandre Zollinger Chohfi (azchohfi) | https://github.com/azchohfi |
| PowerShell:master | https://github.com/PowerShell/PowerShell/tree/master |
| azchohfi:skip-applocker-probe-without-policy | https://github.com/azchohfi/PowerShell/tree/skip-applocker-probe-without-policy |
| Conversation | https://github.com/PowerShell/PowerShell/pull/28374 |
| Commits4 (4) | https://github.com/PowerShell/PowerShell/pull/28374/commits |
| Checks | https://github.com/PowerShell/PowerShell/pull/28374/checks |
| Files changed | https://github.com/PowerShell/PowerShell/pull/28374/files |
| Skip the AppLocker policy test files when no script policy is configured | https://github.com/PowerShell/PowerShell/pull/28374#top |
| Alexandre Zollinger Chohfi (azchohfi) | https://github.com/azchohfi |
| PowerShell:master | https://github.com/PowerShell/PowerShell/tree/master |
| azchohfi:skip-applocker-probe-without-policy | https://github.com/azchohfi/PowerShell/tree/skip-applocker-probe-without-policy |
|
| https://github.com/azchohfi |
| Alexandre Zollinger Chohfi (azchohfi) | https://github.com/azchohfi |
| Nov 6, 2026 | https://github.com/PowerShell/PowerShell/pull/28374#issue-6252090842 |
| #28372 | https://github.com/PowerShell/PowerShell/issues/28372 |
| 1aac7f5 | https://github.com/PowerShell/PowerShell/commit/1aac7f5e38679b3c1469b67071a4c07f50cc064b |
| PR has a meaningful title | https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission |
| Summarized changes | https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission |
| Make sure all .h, .cpp, .cs, .ps1 and .psm1 files have the correct copyright header | https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission |
| Draft Pull Request and mark it as Ready to Review when it is ready to merge | https://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests#draft-pull-requests |
| Breaking changes | https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#making-breaking-changes |
| Experimental feature(s) needed | https://github.com/MicrosoftDocs/PowerShell-Docs/blob/main/reference/7.5/Microsoft.PowerShell.Core/About/about_Experimental_Features.md |
| Documentation needed | https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission |
| Make sure you've added a new test if existing tests do not effectively test the code changed | https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#before-submitting |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/28374 |
|
| https://github.com/azchohfi |
|
| https://github.com/apps/github-copilot-cli |
| Skip the AppLocker policy test files when no script policy is configured | https://github.com/PowerShell/PowerShell/pull/28374/commits/10724a9b730c781e276b6bd9f1a5671684faeee8 |
| 10724a9 | https://github.com/PowerShell/PowerShell/pull/28374/commits/10724a9b730c781e276b6bd9f1a5671684faeee8 |
| https://github.com/azchohfi |
| Alexandre Zollinger Chohfi (azchohfi) | https://github.com/azchohfi |
| Patrick Meinecke (SeeminglyScience) | https://github.com/SeeminglyScience |
| Travis Plunk (TravisEz13) | https://github.com/TravisEz13 |
| code owners | https://github.com/PowerShell/PowerShell/blob/1aac7f5e38679b3c1469b67071a4c07f50cc064b/.github/CODEOWNERS#L7 |
| November 6, 2026 22:54 | https://github.com/PowerShell/PowerShell/pull/28374#event-35397651092 |
|
| https://github.com/apps/copilot-pull-request-reviewer |
| Copilot | https://github.com/apps/copilot-pull-request-reviewer |
| November 6, 2026 22:54 | https://github.com/PowerShell/PowerShell/pull/28374#event-35397652924 |
| https://github.com/apps/azure-pipelines |
| azure-pipelines | https://github.com/apps/azure-pipelines |
| Nov 6, 2026 | https://github.com/PowerShell/PowerShell/pull/28374#issuecomment-6697827993 |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/28374 |
| started reviewing | https://github.com/PowerShell/PowerShell/sessions/61ab87ad-6f4c-4f10-9e28-1357cab38051 |
| Alexandre Zollinger Chohfi (azchohfi) | https://github.com/azchohfi |
| November 6, 2026 22:54 | https://github.com/PowerShell/PowerShell/pull/28374#event-35397687498 |
|
View session
| https://github.com/PowerShell/PowerShell/sessions/61ab87ad-6f4c-4f10-9e28-1357cab38051 |
|
| https://github.com/apps/copilot-pull-request-reviewer |
| Copilot | https://github.com/apps/copilot-pull-request-reviewer |
|
Nov 6, 2026
| https://github.com/PowerShell/PowerShell/pull/28374#pullrequestreview-5808158609 |
|
View reviewed changes
| https://github.com/PowerShell/PowerShell/pull/28374/files/10724a9b730c781e276b6bd9f1a5671684faeee8 |
| Copilot | https://github.com/apps/copilot-pull-request-reviewer |
| https://github.com/PowerShell/PowerShell/pull/28374#pullrequestreview-5808158609 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Use the native AppLocker policy path under WOW64 | https://github.com/PowerShell/PowerShell/pull/28374#discussion_r4498516019 |
| Treat an existing empty AppLocker key as present | https://github.com/PowerShell/PowerShell/pull/28374#discussion_r4498516062 |
| Fail the test when the child process exits unsuccessfully | https://github.com/PowerShell/PowerShell/pull/28374#discussion_r4498516110 |
| Account for WLDP early return in the policy probe assertion | https://github.com/PowerShell/PowerShell/pull/28374#discussion_r4498516138 |
| Match File.Exists expectations to conservative error handling | https://github.com/PowerShell/PowerShell/pull/28374#discussion_r4498516174 |
| #28372 | https://github.com/PowerShell/PowerShell/issues/28372 |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/28374 |
| src/System.Management.Automation/security/wldpNativeMethods.cs | https://github.com/PowerShell/PowerShell/pull/28374/files/10724a9b730c781e276b6bd9f1a5671684faeee8#diff-632ce04a28d5e40ef10773988097129b334db9d5a4f67ee74507c456847fd13f |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/28374 |
| src/System.Management.Automation/security/wldpNativeMethods.cs | https://github.com/PowerShell/PowerShell/pull/28374/files/10724a9b730c781e276b6bd9f1a5671684faeee8#diff-632ce04a28d5e40ef10773988097129b334db9d5a4f67ee74507c456847fd13f |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/28374 |
| test/powershell/engine/Security/AppLockerProbe.Tests.ps1 | https://github.com/PowerShell/PowerShell/pull/28374/files/10724a9b730c781e276b6bd9f1a5671684faeee8#diff-a5b2f6f4b4c3a7c0b3cc1aabf8a41c10ae462bf58055e8facbb179943503199f |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/28374 |
| test/powershell/engine/Security/AppLockerProbe.Tests.ps1 | https://github.com/PowerShell/PowerShell/pull/28374/files/10724a9b730c781e276b6bd9f1a5671684faeee8#diff-a5b2f6f4b4c3a7c0b3cc1aabf8a41c10ae462bf58055e8facbb179943503199f |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/28374 |
| test/xUnit/csharp/test_SystemPolicy.cs | https://github.com/PowerShell/PowerShell/pull/28374/files/10724a9b730c781e276b6bd9f1a5671684faeee8#diff-44d8c5ea2ae6c3b46011c583c5ea65ca148af243db613c7bb471d8ce4fd93577 |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/28374 |
| Alexandre Zollinger Chohfi (azchohfi) | https://github.com/azchohfi |
| November 6, 2026 15:09 | https://github.com/PowerShell/PowerShell/pull/28374#commits-pushed-9b94905 |
|
| https://github.com/azchohfi |
|
| https://github.com/apps/github-copilot-cli |
| Address review feedback | https://github.com/PowerShell/PowerShell/pull/28374/commits/9b94905f01bb5563b53c2652fe00353c5f297508 |
| 9b94905 | https://github.com/PowerShell/PowerShell/pull/28374/commits/9b94905f01bb5563b53c2652fe00353c5f297508 |
|
| https://github.com/azchohfi |
| Merge branch 'master' into skip-applocker-probe-without-policy | https://github.com/PowerShell/PowerShell/pull/28374/commits/ea4ee304e349ae6fe688b55c1b783955daccae31 |
| ea4ee30 | https://github.com/PowerShell/PowerShell/pull/28374/commits/ea4ee304e349ae6fe688b55c1b783955daccae31 |
| https://github.com/SteveL-MSFT |
| Steve Lee (SteveL-MSFT) | https://github.com/SteveL-MSFT |
|
CL-Performance
| https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3ACL-Performance |
| Nov 13, 2026 | https://github.com/PowerShell/PowerShell/pull/28374#event-36063618428 |
| https://github.com/SteveL-MSFT |
| Steve Lee (SteveL-MSFT) | https://github.com/SteveL-MSFT |
| Dongbo Wang (daxian-dbw) | https://github.com/daxian-dbw |
| Nov 13, 2026 | https://github.com/PowerShell/PowerShell/pull/28374#event-36063690357 |
|
| https://github.com/azchohfi |
| Merge branch 'master' into skip-applocker-probe-without-policy | https://github.com/PowerShell/PowerShell/pull/28374/commits/92b8e87581b43941d94e7fe03f87bd28a50a5c07 |
| 92b8e87 | https://github.com/PowerShell/PowerShell/pull/28374/commits/92b8e87581b43941d94e7fe03f87bd28a50a5c07 |
| https://github.com/SteveL-MSFT |
| Steve Lee (SteveL-MSFT) | https://github.com/SteveL-MSFT |
|
WG-Security
| https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3AWG-Security |
| Nov 17, 2026 | https://github.com/PowerShell/PowerShell/pull/28374#event-36345508849 |
| https://github.co/hiddenchars |
| https://github.com/PowerShell/PowerShell/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fpull%2F28374 |
|
Copilot code review
| https://github.com/apps/copilot-pull-request-reviewer |
|
Copilot
| https://github.com/apps/copilot-pull-request-reviewer |
| Learn more about Copilot code review. | https://gh.io/copilot-code-review-docs |
|
| https://github.com/PowerShell/PowerShell/pull/28374/files/10724a9b730c781e276b6bd9f1a5671684faeee8 |
|
| https://github.com/TravisEz13 |
|
Travis Plunk (TravisEz13)
| https://github.com/TravisEz13 |
|
| https://github.com/SeeminglyScience |
|
Patrick Meinecke (SeeminglyScience)
| https://github.com/SeeminglyScience |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/28374 |
|
| https://github.com/daxian-dbw |
|
Dongbo Wang (daxian-dbw)
| https://github.com/daxian-dbw |
|
CL-Performance
| https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3ACL-Performance |
|
WG-Security
| https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3AWG-Security |
|
Startup: the AppLocker probe costs about 40 ms on every pwsh start, also when no AppLocker policy exists
| https://github.com/PowerShell/PowerShell/issues/28372 |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/28374 |
|
| https://github.com/azchohfi |
|
| https://github.com/apps/copilot-pull-request-reviewer |
|
| https://github.com/daxian-dbw |
|
| https://github.com/SteveL-MSFT |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |