René's URL Explorer Experiment


Title: PowerShell startup exits 70 when user PSModulePath lookup is denied under MXC · Issue #28415 · PowerShell/PowerShell · GitHub

Open Graph Title: PowerShell startup exits 70 when user PSModulePath lookup is denied under MXC · Issue #28415 · PowerShell/PowerShell

X Title: PowerShell startup exits 70 when user PSModulePath lookup is denied under MXC · Issue #28415 · PowerShell/PowerShell

Description: Steps to reproduce On Windows, run PowerShell 7.6.9 under an MXC profile that permits reading the PowerShell runtime and the working directory but denies the process access to the user environment registry key. Start PowerShell without u...

Open Graph Description: Steps to reproduce On Windows, run PowerShell 7.6.9 under an MXC profile that permits reading the PowerShell runtime and the working directory but denies the process access to the user environment ...

X Description: Steps to reproduce On Windows, run PowerShell 7.6.9 under an MXC profile that permits reading the PowerShell runtime and the working directory but denies the process access to the user environment ...

Opengraph URL: https://github.com/PowerShell/PowerShell/issues/28415

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"PowerShell startup exits 70 when user PSModulePath lookup is denied under MXC","articleBody":"## Steps to reproduce\n\nOn Windows, run PowerShell 7.6.9 under an MXC profile that permits reading the PowerShell runtime and the working directory but denies the process access to the user environment registry key. Start PowerShell without user profiles and run a trivial command.\n\n```text\npwsh.exe -NoLogo -NoProfile -NonInteractive -Command \"Write-Output ready\"\n```\n\n## Expected behavior\n\nPowerShell starts using the available module paths. A direct read of the restricted user environment remains denied.\n\n## Actual behavior\n\nPowerShell exits with code 70 during startup. Process Monitor showed ACCESS DENIED on HKCU\\Environment. A managed startup trace identified the optional user-level PSModulePath lookup in ModuleIntrinsics.GetModulePath.\n\n## Proposed fix and verification\n\nCatch System.Security.SecurityException only around the user-level PSModulePath lookup in ModuleIntrinsics.GetModulePath, and continue with the existing process-level module path. Keep the rest of module discovery and access checks as they are.\n\nUnder the same narrow MXC profile the bundled 7.6.9 binary exited 70, while a separate source build with this change started and read an allowed file. The standalone regression check also confirmed that direct access to the user environment and a file outside the allowed roots remained denied.\n\nRelated downstream report: https://github.com/openai/codex/issues/60344. That report was from a separate machine.\r\n","author":{"url":"https://github.com/theFlexOne","@type":"Person","name":"theFlexOne"},"datePublished":"2026-11-14T01:23:45Z","url":"https://github.com/PowerShell/PowerShell/issues/28415"}

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/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:5d9ca5e6-fd69-b380-0a44-3a2a3c7f83c1
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idBE2A:2C6631:2C3512:3A5ED8:6AFD16B9
html-safe-noncecbbb3992c6f9d6aac3f5c92fe84d1836955062d8f68cbc790652b2eb96a4fbc0
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRTJBOjJDNjYzMToyQzM1MTI6M0E1RUQ4OjZBRkQxNkI5IiwidmlzaXRvcl9pZCI6IjczMjc0Nzg2OTcxNTIwMjYyOTciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac75c9705550dc447154f96e8a66d14c175a54cc38f97561f993d6cd10686f63a6
hovercard-subject-tagissue:6383219396
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/PowerShell/PowerShell/28415/issue_layout
twitter:imagehttps://opengraph.githubassets.com/1b1ff446d378c333b1164469a46b913568c480e638cf3343aee90f6150e925bb/PowerShell/PowerShell/issues/28415
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/1b1ff446d378c333b1164469a46b913568c480e638cf3343aee90f6150e925bb/PowerShell/PowerShell/issues/28415
og:image:altSteps to reproduce On Windows, run PowerShell 7.6.9 under an MXC profile that permits reading the PowerShell runtime and the working directory but denies the process access to the user environment ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernametheFlexOne
hostnamegithub.com
expected-hostnamegithub.com
None065128366c233a9d57ff68ab6c96e25b99dd1b0ab70d23b70873d3dd6b5e4f19
turbo-cache-controlno-preview
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
release941021edf0c2ec58298f4a2c8f27ae507d129c92
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/PowerShell/PowerShell/issues/28415#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fissues%2F28415
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%2Fissues%2F28415
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%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=PowerShell%2FPowerShell
Reloadhttps://github.com/PowerShell/PowerShell/issues/28415
Reloadhttps://github.com/PowerShell/PowerShell/issues/28415
Reloadhttps://github.com/PowerShell/PowerShell/issues/28415
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 requests364 (364)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
New issuehttps://github.com/login?return_to=https://github.com/PowerShell/PowerShell/issues/28415
New issuehttps://github.com/login?return_to=https://github.com/PowerShell/PowerShell/issues/28415
PowerShell startup exits 70 when user PSModulePath lookup is denied under MXChttps://github.com/PowerShell/PowerShell/issues/28415#top
https://github.com/theFlexOne
Eric Hafvenstein (theFlexOne)https://github.com/theFlexOne
on Nov 14, 2026https://github.com/PowerShell/PowerShell/issues/28415#issue-6383219396
openai/codex#60344https://github.com/openai/codex/issues/60344
https://github.com/theFlexOne
Eric Hafvenstein (theFlexOne)https://github.com/theFlexOne
on Nov 14, 2026https://github.com/PowerShell/PowerShell/issues/28415#issuecomment-6869302929
Sign up for freehttps://github.com/signup?return_to=https://github.com/PowerShell/PowerShell/issues/28415
Sign in to commenthttps://github.com/login?return_to=https://github.com/PowerShell/PowerShell/issues/28415
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.