{"id":29744083,"url":"https://github.com/asitdikovs/set-lockscreen-image-win11","last_synced_at":"2026-05-18T15:33:08.579Z","repository":{"id":305659492,"uuid":"1023510086","full_name":"asitdikovs/set-lockscreen-image-win11","owner":"asitdikovs","description":null,"archived":false,"fork":false,"pushed_at":"2025-07-21T09:40:06.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-21T11:35:20.430Z","etag":null,"topics":["automation","lockscreen","personalization","powershell","sysadmin","windows11"],"latest_commit_sha":null,"homepage":"","language":"PowerShell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/asitdikovs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-07-21T09:13:23.000Z","updated_at":"2025-07-21T10:45:41.000Z","dependencies_parsed_at":"2025-07-21T11:35:30.513Z","dependency_job_id":null,"html_url":"https://github.com/asitdikovs/set-lockscreen-image-win11","commit_stats":null,"previous_names":["asitdikovs/set-lockscreen-image-win11"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/asitdikovs/set-lockscreen-image-win11","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asitdikovs%2Fset-lockscreen-image-win11","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asitdikovs%2Fset-lockscreen-image-win11/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asitdikovs%2Fset-lockscreen-image-win11/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asitdikovs%2Fset-lockscreen-image-win11/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/asitdikovs","download_url":"https://codeload.github.com/asitdikovs/set-lockscreen-image-win11/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asitdikovs%2Fset-lockscreen-image-win11/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33182816,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-18T09:27:30.708Z","status":"ssl_error","status_checked_at":"2026-05-18T09:27:28.300Z","response_time":71,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["automation","lockscreen","personalization","powershell","sysadmin","windows11"],"created_at":"2025-07-26T04:11:12.448Z","updated_at":"2026-05-18T15:33:08.552Z","avatar_url":"https://github.com/asitdikovs.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# set-lockscreen-image-win11\n\nThis repository provides PowerShell scripts to configure a custom lock screen image on Windows 10/11 devices using Microsoft Intune Remediation. The built-in OMA-URI setting `./Vendor/MSFT/Personalization/DesktopImageUrl` only works on Windows Enterprise editions, so these scripts provide a workaround for other editions.\n\n## How it works\n\n- [`Detection_lockscreen.ps1`](Detection_lockscreen.ps1) checks if the lock screen image and required registry values are set correctly.\n- [`Remediation_set_lockscreen.ps1`](Remediation_set_lockscreen.ps1) downloads the image from a public URL, saves it locally, and sets the required registry values.\n\n## Prerequisites\n\n- The lock screen image must be hosted at a public URL (e.g., Azure Blob Storage, SharePoint, or other accessible storage).\n- Update the `$ImageUrl` variable in [`Remediation_set_lockscreen.ps1`](Remediation_set_lockscreen.ps1) with the direct link to your image.\n\n## Deployment Steps\n\n1. **Upload your lock screen image to a public location.**\n\n   - Ensure the image is accessible without authentication.\n\n2. **Edit the remediation script:**\n\n   - Open [`Remediation_set_lockscreen.ps1`](Remediation_set_lockscreen.ps1).\n   - Set the `$ImageUrl` variable to your image's public URL:\n     ```powershell\n     $ImageUrl = \"https://yourstorageaccount.blob.core.windows.net/images/CompanyLockScreen.jpg\"\n     ```\n\n3. **Create an Intune Remediation:**\n\n   - In the Microsoft Intune admin center, go to **Devices \u003e Remediations**.\n   - Click **Create script package**.\n   - Upload [`Detection_lockscreen.ps1`](Detection_lockscreen.ps1) as the detection script.\n   - Upload your edited [`Remediation_set_lockscreen.ps1`](Remediation_set_lockscreen.ps1) as the remediation script.\n   - Assign the remediation to the desired device group(s).\n\n4. **Configure remediation script settings as follows:**\n\n   - **Run this script using the logged-on credentials:** No\n   - **Enforce script signature check:** No\n   - **Run script in 64-bit PowerShell:** Yes\n\n5. **Monitor deployment:**\n   - Check Intune reports to ensure the remediation runs successfully and devices receive the custom lock screen.\n\n## Notes\n\n- The scripts write logs to `C:\\ProgramData\\Microsoft\\IntuneManagementExtension\\Logs\\LockScreen_Image_Setup.log`.\n- The lock screen image is saved to `C:\\Windows\\Web\\Screen\\CompanyLockScreen.jpg`.\n- The registry keys are set under `HKLM:\\Software\\Microsoft\\Windows\\CurrentVersion\\PersonalizationCSP`.\n\n## Troubleshooting\n\n- Ensure the image URL is accessible from the target devices.\n- Review the log file for errors if the remediation fails.\n\n---\n\n**Scripts:**\n\n- [Detection_lockscreen.ps1](Detection_lockscreen.ps1)\n- [Remediation_set_lockscreen.ps1](Remediation_set_lockscreen.ps1)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasitdikovs%2Fset-lockscreen-image-win11","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fasitdikovs%2Fset-lockscreen-image-win11","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasitdikovs%2Fset-lockscreen-image-win11/lists"}