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.2.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.2-py3-none-any.whl (8.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: runas_netonly-1.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 929a28c56a623d11c1a9b2dbaf0ba393c702813c9c4e370bf777e94461f1dc4c
MD5 42a5d296f69f4e7e5558c40bac11b209
BLAKE2b-256 d73296d79df45093497d9536d2a0230e02050528456aa13b6af867be4e78c5e3

See more details on using hashes here.

Provenance

The following attestation bundles were made for runas_netonly-1.1.2.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.2-py3-none-any.whl.

File metadata

  • Download URL: runas_netonly-1.1.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6805166fbdc3af2a01d5fbcb6da6b9d98f5e0fe6dc75552a421f30f6ead124fc
MD5 0799ee51dcfacd8bc68d68ca50df4196
BLAKE2b-256 d661752f711e36aa1d4b803a6223f417c9dcedbedf81b36e2c33c73e4094e223

See more details on using hashes here.

Provenance

The following attestation bundles were made for runas_netonly-1.1.2-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