Skip to content

HendrikKoelbel/RunAsAdmin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

141 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub release (latest by date) GitHub Releases .NET Platform

RunAsAdmin

A powerful Windows utility that enables administrators to start applications with elevated privileges while logged in as a standard user. Perfect for IT professionals managing workstations in enterprise environments.

Features

  • 🔐 Secure Credential Storage: Passwords are encrypted using Windows DPAPI (Data Protection API)
  • 👥 User Management:
    • Supports both local and Active Directory users
    • Automatic discovery of cached AD users from local profiles
    • Works seamlessly in non-AD environments
  • 🌐 Multi-Domain Support: Automatically detects and lists available domains
  • 🚀 UAC Integration: Leverages Windows UAC for secure privilege elevation
  • 📝 Comprehensive Logging: Detailed logging with Serilog and LiteDB for troubleshooting
  • 🎨 Modern UI: Built with MahApps.Metro for a sleek, modern interface
  • 🔄 Auto-Update: Automatic update checks via GitHub releases
  • 🖥️ Single-File Deployment: Optimized for single-file publishing

Getting Started

You can easily download and run the program here

Prerequisites

Required:

  • .NET 8.0 Desktop Runtime (LTS)
  • Windows Operating System

Download .NET 8.0 Runtime:

Architecture Download Link
x64 (most common) Download
x86 (32-bit) Download
ARM64 Download

Installation

  1. Download the latest release from Releases
  2. Extract the ZIP file to your desired location
  3. Run RunAsAdmin.exe

Note: The application must be run from a local drive (not from a network share).

How It Works

  1. Launch the Application: Start RunAsAdmin.exe with administrator privileges
  2. Select Credentials: Choose or enter domain/username and password
  3. Select Program: Click "Start Program with Admin Rights" and select the executable
  4. Automatic Elevation: The selected program runs with elevated privileges using the specified credentials

Built With

Core Dependencies

UI & Presentation

Utilities

Windows Integration

  • System.DirectoryServices - Active Directory integration
  • System.DirectoryServices.AccountManagement - User and group management
  • System.Configuration.ConfigurationManager - Configuration file management
  • System.IO.FileSystem.AccessControl - File system security management

Versioning

For the versions available, see the tags on this repository.

Authors

See also the list of contributors who participated in this project.

License

This project is licensed under the Apache License 2.0 - see the LICENSE file for details

About

A tool to start programs with admin rights.

Topics

Resources

License

Stars

Watchers

Forks

Contributors 3

  •  
  •  
  •  

Languages