René's URL Explorer Experiment


Title: Skip the AppLocker policy test files when no script policy is configured by azchohfi · Pull Request #28374 · PowerShell/PowerShell · GitHub

Open Graph Title: Skip the AppLocker policy test files when no script policy is configured by azchohfi · Pull Request #28374 · PowerShell/PowerShell

X Title: Skip the AppLocker policy test files when no script policy is configured by azchohfi · Pull Request #28374 · PowerShell/PowerShell

Description: PowerShell for every system! Contribute to PowerShell/PowerShell development by creating an account on GitHub.

Open Graph Description: 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...

X Description: 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...

Opengraph URL: https://github.com/PowerShell/PowerShell/pull/28374

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,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-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:2526d6e6-6e55-411c-4fa6-3e4a38a53c8c
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE4F4:2CFBF7:113DD4E:185CA70:6AFCD5C5
html-safe-nonce0d9df2f7fe4a4c4381d00f1c32b6ba489097f18714b42253b61315f66da2e0c6
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNEY0OjJDRkJGNzoxMTNERDRFOjE4NUNBNzA6NkFGQ0Q1QzUiLCJ2aXNpdG9yX2lkIjoiMjI3NDgwNDc4MTMwNDA0Mjk0OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacb1254fa8f3869bbcb655bb8160640386256314da321d5e4d092d8824b2f2f874
hovercard-subject-tagpull_request:5195855488
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/PowerShell/PowerShell/28374/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/eccb53981eb4fa929535a20a14ac41fd4017870f66e425842b17af77d6609f5e/PowerShell/PowerShell/pull/28374
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/eccb53981eb4fa929535a20a14ac41fd4017870f66e425842b17af77d6609f5e/PowerShell/PowerShell/pull/28374
og:image:altPR 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:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameazchohfi
hostnamegithub.com
expected-hostnamegithub.com
Noneb5b7bc7e41e0a604bbdb5035c7ed9620c2d28b9c8a18747182e2262a75abfd91
turbo-cache-controlno-cache
go-importgithub.com/PowerShell/PowerShell git https://github.com/PowerShell/PowerShell.git
octolytics-dimension-user_id11524380
octolytics-dimension-user_loginPowerShell
octolytics-dimension-repository_id49609581
octolytics-dimension-repository_nwoPowerShell/PowerShell
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id49609581
octolytics-dimension-repository_network_root_nwoPowerShell/PowerShell
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releaseff5022cc3aa767e6115451d9c322dd975506d40e
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/PowerShell/PowerShell/pull/28374#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fpull%2F28374
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fpull%2F28374
Sign uphttps://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
Reloadhttps://github.com/PowerShell/PowerShell/pull/28374
Reloadhttps://github.com/PowerShell/PowerShell/pull/28374
Reloadhttps://github.com/PowerShell/PowerShell/pull/28374
PowerShellhttps://github.com/PowerShell
PowerShellhttps://github.com/PowerShell/PowerShell
Codehttps://github.com/PowerShell/PowerShell
Issues1.3k (1.3k)https://github.com/PowerShell/PowerShell/issues
Pull requests363 (363)https://github.com/PowerShell/PowerShell/pulls
Discussionshttps://github.com/PowerShell/PowerShell/discussions
Actionshttps://github.com/PowerShell/PowerShell/actions
Projectshttps://github.com/PowerShell/PowerShell/projects
Security and quality3 (3)https://github.com/PowerShell/PowerShell/security
Insightshttps://github.com/PowerShell/PowerShell/insights
https://github.com/PowerShell/PowerShell
Alexandre Zollinger Chohfi (azchohfi)https://github.com/azchohfi
PowerShell:masterhttps://github.com/PowerShell/PowerShell/tree/master
azchohfi:skip-applocker-probe-without-policyhttps://github.com/azchohfi/PowerShell/tree/skip-applocker-probe-without-policy
Conversationhttps://github.com/PowerShell/PowerShell/pull/28374
Commits4 (4)https://github.com/PowerShell/PowerShell/pull/28374/commits
Checkshttps://github.com/PowerShell/PowerShell/pull/28374/checks
Files changedhttps://github.com/PowerShell/PowerShell/pull/28374/files
Skip the AppLocker policy test files when no script policy is configuredhttps://github.com/PowerShell/PowerShell/pull/28374#top
Alexandre Zollinger Chohfi (azchohfi)https://github.com/azchohfi
PowerShell:masterhttps://github.com/PowerShell/PowerShell/tree/master
azchohfi:skip-applocker-probe-without-policyhttps://github.com/azchohfi/PowerShell/tree/skip-applocker-probe-without-policy
https://github.com/azchohfi
Alexandre Zollinger Chohfi (azchohfi)https://github.com/azchohfi
Nov 6, 2026https://github.com/PowerShell/PowerShell/pull/28374#issue-6252090842
#28372https://github.com/PowerShell/PowerShell/issues/28372
1aac7f5https://github.com/PowerShell/PowerShell/commit/1aac7f5e38679b3c1469b67071a4c07f50cc064b
PR has a meaningful titlehttps://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission
Summarized changeshttps://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 headerhttps://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 mergehttps://docs.github.com/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests#draft-pull-requests
Breaking changeshttps://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#making-breaking-changes
Experimental feature(s) neededhttps://github.com/MicrosoftDocs/PowerShell-Docs/blob/main/reference/7.5/Microsoft.PowerShell.Core/About/about_Experimental_Features.md
Documentation neededhttps://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 changedhttps://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#before-submitting
Please reload this pagehttps://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 configuredhttps://github.com/PowerShell/PowerShell/pull/28374/commits/10724a9b730c781e276b6bd9f1a5671684faeee8
10724a9https://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 ownershttps://github.com/PowerShell/PowerShell/blob/1aac7f5e38679b3c1469b67071a4c07f50cc064b/.github/CODEOWNERS#L7
November 6, 2026 22:54https://github.com/PowerShell/PowerShell/pull/28374#event-35397651092
https://github.com/apps/copilot-pull-request-reviewer
Copilothttps://github.com/apps/copilot-pull-request-reviewer
November 6, 2026 22:54https://github.com/PowerShell/PowerShell/pull/28374#event-35397652924
https://github.com/apps/azure-pipelines
azure-pipelineshttps://github.com/apps/azure-pipelines
Nov 6, 2026https://github.com/PowerShell/PowerShell/pull/28374#issuecomment-6697827993
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/28374
started reviewinghttps://github.com/PowerShell/PowerShell/sessions/61ab87ad-6f4c-4f10-9e28-1357cab38051
Alexandre Zollinger Chohfi (azchohfi)https://github.com/azchohfi
November 6, 2026 22:54https://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
Copilothttps://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
Copilothttps://github.com/apps/copilot-pull-request-reviewer
https://github.com/PowerShell/PowerShell/pull/28374#pullrequestreview-5808158609
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Use the native AppLocker policy path under WOW64https://github.com/PowerShell/PowerShell/pull/28374#discussion_r4498516019
Treat an existing empty AppLocker key as presenthttps://github.com/PowerShell/PowerShell/pull/28374#discussion_r4498516062
Fail the test when the child process exits unsuccessfullyhttps://github.com/PowerShell/PowerShell/pull/28374#discussion_r4498516110
Account for WLDP early return in the policy probe assertionhttps://github.com/PowerShell/PowerShell/pull/28374#discussion_r4498516138
Match File.Exists expectations to conservative error handlinghttps://github.com/PowerShell/PowerShell/pull/28374#discussion_r4498516174
#28372https://github.com/PowerShell/PowerShell/issues/28372
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/28374
src/System.Management.Automation/security/wldpNativeMethods.cshttps://github.com/PowerShell/PowerShell/pull/28374/files/10724a9b730c781e276b6bd9f1a5671684faeee8#diff-632ce04a28d5e40ef10773988097129b334db9d5a4f67ee74507c456847fd13f
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/28374
src/System.Management.Automation/security/wldpNativeMethods.cshttps://github.com/PowerShell/PowerShell/pull/28374/files/10724a9b730c781e276b6bd9f1a5671684faeee8#diff-632ce04a28d5e40ef10773988097129b334db9d5a4f67ee74507c456847fd13f
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/28374
test/powershell/engine/Security/AppLockerProbe.Tests.ps1https://github.com/PowerShell/PowerShell/pull/28374/files/10724a9b730c781e276b6bd9f1a5671684faeee8#diff-a5b2f6f4b4c3a7c0b3cc1aabf8a41c10ae462bf58055e8facbb179943503199f
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/28374
test/powershell/engine/Security/AppLockerProbe.Tests.ps1https://github.com/PowerShell/PowerShell/pull/28374/files/10724a9b730c781e276b6bd9f1a5671684faeee8#diff-a5b2f6f4b4c3a7c0b3cc1aabf8a41c10ae462bf58055e8facbb179943503199f
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/28374
test/xUnit/csharp/test_SystemPolicy.cshttps://github.com/PowerShell/PowerShell/pull/28374/files/10724a9b730c781e276b6bd9f1a5671684faeee8#diff-44d8c5ea2ae6c3b46011c583c5ea65ca148af243db613c7bb471d8ce4fd93577
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/28374
Alexandre Zollinger Chohfi (azchohfi)https://github.com/azchohfi
November 6, 2026 15:09https://github.com/PowerShell/PowerShell/pull/28374#commits-pushed-9b94905
https://github.com/azchohfi
https://github.com/apps/github-copilot-cli
Address review feedbackhttps://github.com/PowerShell/PowerShell/pull/28374/commits/9b94905f01bb5563b53c2652fe00353c5f297508
9b94905https://github.com/PowerShell/PowerShell/pull/28374/commits/9b94905f01bb5563b53c2652fe00353c5f297508
https://github.com/azchohfi
Merge branch 'master' into skip-applocker-probe-without-policyhttps://github.com/PowerShell/PowerShell/pull/28374/commits/ea4ee304e349ae6fe688b55c1b783955daccae31
ea4ee30https://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, 2026https://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, 2026https://github.com/PowerShell/PowerShell/pull/28374#event-36063690357
https://github.com/azchohfi
Merge branch 'master' into skip-applocker-probe-without-policyhttps://github.com/PowerShell/PowerShell/pull/28374/commits/92b8e87581b43941d94e7fe03f87bd28a50a5c07
92b8e87https://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, 2026https://github.com/PowerShell/PowerShell/pull/28374#event-36345508849
https://github.co/hiddenchars
https://github.com/PowerShell/PowerShell/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://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 pagehttps://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 pagehttps://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
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.