GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - mranv/execRemoteSigned: 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.

BranchesTags
Open more actions menu

Latest commit

 

History

3 Commits
3 Commits

Folders and files

NameName
Last commit message
Last commit date
assets
assets
 
 
src
src
 
 
.gitignore
.gitignore
 
 
Cargo.toml
Cargo.toml
 
 
README.md
README.md
 
 

Repository files navigation



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.

Features

  • Windows Version Detection: Uses the GetVersionExW API to detect Windows versions, ensuring compatibility with Windows XP, 7, 8, 8.1, 10, and 11.
  • Registry Operations: Interacts with the Windows Registry to set the PowerShell execution policy.
  • Error Handling: Includes error handling for potential failures, such as inability to open/create the registry key or set the execution policy value.
  • Administrative Privileges Required: The binary must be run with administrative privileges to modify the registry.

Installation

  1. Clone the Repository:

    git clone https://github.com/mranv/execRemoteSigned.git
    cd execRemoteSigned
  2. Build the Project: Ensure you have Rust and Cargo installed. Then run:

    cargo build --release

Usage

  1. Run the Program: Execute the binary with administrative privileges to modify the registry:

    ./target/release/execRemoteSigned

    This will set the PowerShell execution policy to RemoteSigned.

Contribution

Contributions are welcome! Follow these steps to contribute:

  1. Fork the Repository: Click on the Fork button at the top right of the repository page.

  2. Clone Your Fork:

    git clone https://github.com/your-username/execRemoteSigned.git
    cd execRemoteSigned
  3. Create a Branch:

    git checkout -b feature/your-feature-name
  4. Make Changes and Commit:

    git commit -m "Add your feature description"
  5. Push to Your Fork:

    git push origin feature/your-feature-name
  6. Create a Pull Request: Open a pull request from your fork's branch to the main repository.

Contact

For any issues or questions, please open an issue on GitHub or contact the repository owner.


© 2024 mranv. All rights reserved.

About

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.

Topics

rustrust-langwin-apiwindowswindowsregistry

Resources

Readme
Activity

Stars

2 stars

Watchers

1 watching

Forks

0 forks
Report repository

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.