Skip to main content

Launch Windows processes with domain credentials using /netonly authentication

Project description

runas_netonly

Windows utility to launch processes with domain credentials using /netonly authentication. Passwords are securely stored in Windows Credential Manager (DPAPI-encrypted) -- enter your password once, then never again.

Features

  • Launch any process with alternate domain credentials (netonly mode)
  • Credentials stored securely in Windows Credential Manager
  • GUI prompt for password entry (tkinter)
  • Pure Python, no external dependencies

Requirements

  • Windows 10/11
  • Python 3.10+ (for pip install method)
  • No external packages required

Installation

Option 1: Standalone .exe (no Python required)

Download runas-netonly.exe from the Releases page.

Option 2: pip install from GitHub

pip install git+https://github.com/sshtokal/runas_netonly.git

Option 3: pip install from wheel

pip install runas_netonly-1.0.0-py3-none-any.whl

Option 4: Development install

git clone https://github.com/sshtokal/runas_netonly.git
cd runas_netonly
pip install -e .

Usage

After installation, the runas-netonly command is available.

Launch a process

runas-netonly --domain CORP --user jsmith --exe "C:\Windows\System32\mmc.exe"

Store credentials (GUI prompt)

runas-netonly --domain CORP --user jsmith --init

Check stored credential

runas-netonly --domain CORP --user jsmith --check
runas-netonly --domain CORP --user jsmith --check --reveal

Update stored password

runas-netonly --domain CORP --user jsmith --reset

Delete stored credential

runas-netonly --domain CORP --user jsmith --delete

Keep window open after launch

runas-netonly --domain CORP --user jsmith --exe "ipconfig /all" --pause

Run as a Python module

python -m runas_netonly --domain CORP --user jsmith --exe "notepad.exe"

Building the standalone .exe

pip install pyinstaller
python build_exe.py

Output: dist/runas-netonly.exe

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

runas_netonly-1.1.1.tar.gz (8.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

runas_netonly-1.1.1-py3-none-any.whl (8.6 kB view details)

Uploaded Python 3

File details

Details for the file runas_netonly-1.1.1.tar.gz.

File metadata

  • Download URL: runas_netonly-1.1.1.tar.gz
  • Upload date:
  • Size: 8.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for runas_netonly-1.1.1.tar.gz
Algorithm Hash digest
SHA256 3b17eff24e71e3b7de97a0a76eda95d6faf035d2d26f8e97904697060e528278
MD5 af14ab21899088d7f6bf7a59e35f9001
BLAKE2b-256 94f365de64f39ed147d571d7c749351752a6ddef2ee63a938f7b3a125f875ee0

See more details on using hashes here.

Provenance

The following attestation bundles were made for runas_netonly-1.1.1.tar.gz:

Publisher: release.yml on serhiishtokal/runas_netonly

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file runas_netonly-1.1.1-py3-none-any.whl.

File metadata

  • Download URL: runas_netonly-1.1.1-py3-none-any.whl
  • Upload date:
  • Size: 8.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for runas_netonly-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 78d9a3f845a472a0a8ae6df012c13309a7b40247bc9f52a7a516437f6013b9d1
MD5 dc5ffcafce3c6452d8fdc66ddb0d4a91
BLAKE2b-256 133dafeca23f0ca41cac43c0a9b6f7cc22a45a3fd876da054153cb0aa45f3307

See more details on using hashes here.

Provenance

The following attestation bundles were made for runas_netonly-1.1.1-py3-none-any.whl:

Publisher: release.yml on serhiishtokal/runas_netonly

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page