# antonioCoco/RunasCs

RunasCs - Csharp and open version of windows builtin runas.exe

Repository: https://github.com/antonioCoco/RunasCs
Canonical: https://ross.abutalabs.com/products/runascs
Language: C#
License: GPL-3.0
License Family: copyleft
Last push: 2024-07-12T23:31:35+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 2582, "days_push": 782, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1424, forks 161 (observed 2026-08-28T04:04:41.291199+00:00)

## What it is
RunasCs is an open-source C# utility for running processes with explicit credentials on Windows, serving as an improved alternative to the built-in runas.exe. It supports multiple CreateProcess functions, various logon types, UAC bypass, and stdin/stdout/stderr redirection to remote hosts.

## Use cases
- run a process as another user with explicit credentials from a command line
- spawn processes from service contexts where runas.exe fails
- bypass UAC when an administrator password is known
- redirect process input and output to a remote host
- execute commands with NetworkCleartext logon type to avoid UAC limitations
- automatically select the best process creation function based on current token privileges

## When to choose
- you need to run processes under different user accounts with explicit credentials on Windows
- the built-in runas.exe fails due to service contexts, DACL issues, or UAC restrictions
- you are performing penetration testing or red team operations requiring flexible process execution
- you need stdin/stdout/stderr redirection to a remote host

## When to avoid
- you need a cross-platform credential execution tool (Windows only)
- you require a GUI-based tool for switching users
- your use case is unrelated to Windows process creation with alternate credentials

## Facets
- artifact type: cli-tool
- maturity: stable
- function: security, cli
- domain: security, penetration-testing, windows
- platform: windows, cli
- tags: credential-based-process-execution, runas, uac-bypass, red-team, process-creation, csharp, command-line

## Member repositories
- antonioCoco/RunasCs (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:41.291199+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:37:34.190486+00:00, confidence not recorded.
  - readme: https://github.com/antonioCoco/RunasCs (fetched 2026-08-28T04:04:41.291199+00:00, sha fa3196ef8da7)
- Data as of 2026-08-30T08:39:29.467469+00:00.
