{"id":19955924,"url":"https://github.com/mranv/execremotesigned","last_synced_at":"2026-04-22T10:02:34.991Z","repository":{"id":248488290,"uuid":"828209385","full_name":"mranv/execRemoteSigned","owner":"mranv","description":"A Rust program to set the PowerShell execution policy to RemoteSigned, enabling the execution of local unsigned and remote signed scripts on Windows. Requires administrative privileges.","archived":false,"fork":false,"pushed_at":"2024-07-15T07:59:30.000Z","size":456,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-04-04T13:36:59.542Z","etag":null,"topics":["rust","rust-lang","win-api","windows","windowsregistry"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mranv.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2024-07-13T12:47:57.000Z","updated_at":"2024-12-01T18:32:43.000Z","dependencies_parsed_at":"2024-07-15T09:33:16.657Z","dependency_job_id":"7259f193-7f7f-4be6-ae35-b5ada4ec655f","html_url":"https://github.com/mranv/execRemoteSigned","commit_stats":null,"previous_names":["mranv/execremotesigned"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mranv/execRemoteSigned","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mranv%2FexecRemoteSigned","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mranv%2FexecRemoteSigned/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mranv%2FexecRemoteSigned/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mranv%2FexecRemoteSigned/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mranv","download_url":"https://codeload.github.com/mranv/execRemoteSigned/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mranv%2FexecRemoteSigned/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32130776,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-22T08:34:57.708Z","status":"ssl_error","status_checked_at":"2026-04-22T08:34:55.583Z","response_time":58,"last_error":"SSL_read: 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":["rust","rust-lang","win-api","windows","windowsregistry"],"created_at":"2024-11-13T01:29:26.219Z","updated_at":"2026-04-22T10:02:34.977Z","avatar_url":"https://github.com/mranv.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e\n\u003cbr\u003e\n\u003cimg src=assets/rust-ferris.gif \u003e\n\u003cbr\u003e\n\n\u003c/h1\u003e\n\n`execRemoteSigned` is a Rust program designed to set the PowerShell execution policy to `RemoteSigned`. This allows local unsigned scripts and remote signed scripts to be executed on a Windows system. The program ensures compatibility with various Windows versions and includes necessary safety checks.\n\n## Features\n\n- **Windows Version Detection**: Uses the `GetVersionExW` API to detect Windows versions, ensuring compatibility with Windows XP, 7, 8, 8.1, 10, and 11.\n- **Registry Operations**: Interacts with the Windows Registry to set the PowerShell execution policy.\n- **Error Handling**: Includes error handling for potential failures, such as inability to open/create the registry key or set the execution policy value.\n- **Administrative Privileges Required**: The binary must be run with administrative privileges to modify the registry.\n\n## Installation\n\n1. **Clone the Repository**:\n\n   ```bash\n   git clone https://github.com/mranv/execRemoteSigned.git\n   cd execRemoteSigned\n   ```\n\n2. **Build the Project**:\n   Ensure you have Rust and Cargo installed. Then run:\n   ```bash\n   cargo build --release\n   ```\n\n## Usage\n\n1. **Run the Program**:\n   Execute the binary with administrative privileges to modify the registry:\n\n   ```bash\n   ./target/release/execRemoteSigned\n   ```\n\n   This will set the PowerShell execution policy to `RemoteSigned`.\n\n## Contribution\n\nContributions are welcome! Follow these steps to contribute:\n\n1. **Fork the Repository**:\n   Click on the `Fork` button at the top right of the repository page.\n\n2. **Clone Your Fork**:\n\n   ```bash\n   git clone https://github.com/your-username/execRemoteSigned.git\n   cd execRemoteSigned\n   ```\n\n3. **Create a Branch**:\n\n   ```bash\n   git checkout -b feature/your-feature-name\n   ```\n\n4. **Make Changes and Commit**:\n\n   ```bash\n   git commit -m \"Add your feature description\"\n   ```\n\n5. **Push to Your Fork**:\n\n   ```bash\n   git push origin feature/your-feature-name\n   ```\n\n6. **Create a Pull Request**:\n   Open a pull request from your fork's branch to the main repository.\n\n## Contact\n\nFor any issues or questions, please open an issue on GitHub or contact the repository owner.\n\n---\n\n© 2024 mranv. All rights reserved.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmranv%2Fexecremotesigned","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmranv%2Fexecremotesigned","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmranv%2Fexecremotesigned/lists"}