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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
929a28c56a623d11c1a9b2dbaf0ba393c702813c9c4e370bf777e94461f1dc4c
|
|
| MD5 |
42a5d296f69f4e7e5558c40bac11b209
|
|
| BLAKE2b-256 |
d73296d79df45093497d9536d2a0230e02050528456aa13b6af867be4e78c5e3
|
Provenance
The following attestation bundles were made for runas_netonly-1.1.2.tar.gz:
Publisher:
release.yml on serhiishtokal/runas_netonly
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
runas_netonly-1.1.2.tar.gz -
Subject digest:
929a28c56a623d11c1a9b2dbaf0ba393c702813c9c4e370bf777e94461f1dc4c - Sigstore transparency entry: 1273572349
- Sigstore integration time:
-
Permalink:
serhiishtokal/runas_netonly@2474caabe4c3c82162606f03b684cc1c7d84dd72 -
Branch / Tag:
refs/tags/v1.1.2 - Owner: https://github.com/serhiishtokal
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@2474caabe4c3c82162606f03b684cc1c7d84dd72 -
Trigger Event:
push
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6805166fbdc3af2a01d5fbcb6da6b9d98f5e0fe6dc75552a421f30f6ead124fc
|
|
| MD5 |
0799ee51dcfacd8bc68d68ca50df4196
|
|
| BLAKE2b-256 |
d661752f711e36aa1d4b803a6223f417c9dcedbedf81b36e2c33c73e4094e223
|
Provenance
The following attestation bundles were made for runas_netonly-1.1.2-py3-none-any.whl:
Publisher:
release.yml on serhiishtokal/runas_netonly
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
runas_netonly-1.1.2-py3-none-any.whl -
Subject digest:
6805166fbdc3af2a01d5fbcb6da6b9d98f5e0fe6dc75552a421f30f6ead124fc - Sigstore transparency entry: 1273572439
- Sigstore integration time:
-
Permalink:
serhiishtokal/runas_netonly@2474caabe4c3c82162606f03b684cc1c7d84dd72 -
Branch / Tag:
refs/tags/v1.1.2 - Owner: https://github.com/serhiishtokal
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@2474caabe4c3c82162606f03b684cc1c7d84dd72 -
Trigger Event:
push
-
Statement type: