{"id":25125715,"url":"https://github.com/sjellipses/lockscreencmd","last_synced_at":"2026-05-06T08:32:32.008Z","repository":{"id":276342618,"uuid":"928999886","full_name":"SJEllipses/LockScreenCMD","owner":"SJEllipses","description":"Invoke a command line on the Windows lock screen.","archived":false,"fork":false,"pushed_at":"2025-05-18T11:41:15.000Z","size":2559,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-18T12:31:03.109Z","etag":null,"topics":["batch","cpp","csharp","shell-scripts"],"latest_commit_sha":null,"homepage":"","language":"Batchfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SJEllipses.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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-02-07T16:16:41.000Z","updated_at":"2025-05-18T11:41:19.000Z","dependencies_parsed_at":"2025-05-18T12:36:12.935Z","dependency_job_id":null,"html_url":"https://github.com/SJEllipses/LockScreenCMD","commit_stats":null,"previous_names":["sjellipses/lockscreencmd"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/SJEllipses/LockScreenCMD","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SJEllipses%2FLockScreenCMD","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SJEllipses%2FLockScreenCMD/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SJEllipses%2FLockScreenCMD/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SJEllipses%2FLockScreenCMD/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SJEllipses","download_url":"https://codeload.github.com/SJEllipses/LockScreenCMD/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SJEllipses%2FLockScreenCMD/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261906853,"owners_count":23228357,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["batch","cpp","csharp","shell-scripts"],"created_at":"2025-02-08T09:15:13.370Z","updated_at":"2026-05-06T08:32:32.002Z","avatar_url":"https://github.com/SJEllipses.png","language":"Batchfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"![demo](./readme/demo.gif)\n\n# Lock Screen CMD\n\nInvoke a **command line** with SYSTEM privileges by clicking the \"**Accessibility**\" button on the lock screen.\n\n## How it works?\n\nBy replacing **Utilman.exe** in the system32 directory with **cmd.exe**.\n\n## How to use?\n\nDouble-click on **ENABLE.bat** to enable, and double-click on **DISABLE.bat** to disable.\n\n## Tools\n\n**run_as_admin**: Request administrator privileges and run command.\n\n**extract_one_file**: Unzip one of the files in the archive.\n\n**sfpcopy**: A tool that allows copying a protected system file.\n\n## About sfpcopy\n\nThe sfpcopy tool is included in the Windows 10 IoT Core Packages, and as far as I know it's not open source, it's available from this [Microsoft website](https://www.microsoft.com/en-us/download/details.aspx?id=53898).\n\nIt is located in the following directory:\n\n`14393.67.160804-2231.rs1_release_amd64fre_IOTCORE_PACKAGES.iso\\Windows_10_IoT_Core_X64_Packages.msi\\fil4cfed34a04a06069f08b7eca0e5b1f17\\amd64_microsoft-windows-sfpcopy_31bf3856ad364e35_10.0.14393.67_none_0e3eefda7177f36e`\n\nYou can manually copy sfpcopy.exe to the tools directory after the download is complete before running ENABLE.bat, otherwise the script will automatically download it via Invoke-WebRequest and extract it via extract_one_file.\n\n\n## Build Requirements\n\n1. [.NET Framework SDK 4.7.2](https://dotnet.microsoft.com/zh-cn/download/dotnet-framework/net472) (for building run_as_admin)\n2. [Bit7z](https://github.com/rikyoz/bit7z) (for building extract_one_file)\n3. [7z.dll](https://www.7-zip.org/) (for running extract_one_file)\n\n## How to build?\n\n1. Open tools\\LockScreenCMDTools.sln \n2. Configure the Bit7z lib.\n3. Build.\n4. Copy the ouput extract_one_file.exe and run_as_admin.exe to the **tools** directory.\n5. Copy your 7z.dll to the **tools** directory.\n\n## Additional\n\nYou can recover lost system files with the `sfc /scannow` command.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsjellipses%2Flockscreencmd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsjellipses%2Flockscreencmd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsjellipses%2Flockscreencmd/lists"}