C++ service that runs .bat scripts with administrator rights
I have a WIN32 program that does not have administrator rights.
At a certain point, I need to run a third-party service that requests administrator rights before launching (UAC). Then the main program passes a list of files (file path; .bat script) to this service. The service must execute them on behalf of the administrator.
Main app -> Run service -> UAC dialog -> Ask service to run scripts
The solution should include:
1. Service (.exe)
2. Communication mechanism with the main program (integration description)
3. Consultation on launching
Please let me know if you have ever done something similar, your price, and an approximate time estimate.
I will be waiting for your proposals!
-
Good day. I will implement it within a few hours. Please contact me personally for details.
-
Have you encountered issues running programs with limited permissions? I am ready to help create a C++ service that will allow .bat scripts to run as an administrator without unnecessary hassle. With my experience in developing WIN32 applications, I will be able to design an effective communication mechanism between the main program and the service, ensuring seamless integration. I have previously worked on similar solutions with UAC, so I have a clear understanding of potential challenges. I would be happy to share my methods and knowledge for the successful launch of your project.
-
260 Hello.
I have implemented similar solutions for WIN32 without admin rights, followed by launching processes/scripts through UAC.
I am ready to discuss the details and start working.
My GitHub profile: https://github.com/pydevtop
-
333 1 0 I am ready to help you, contact me for further cooperation.
-
247 Good day.
I have over 25 years of experience in software development. I will gladly help you develop the necessary service.
-
172 1 1 Good day! I am ready to complete this project as I have extensive experience in application development.
-
2381 156 5 Contact me, I will do it in the shortest time and with the best quality. I have extensive experience in creating services and drivers.
-
1754 34 3 Good day, I am ready to develop the service, write to me. There is a ready solution, you just need to look at your bat and add it to the service.
-
2248 18 3 Hello. I am implementing a solution in C++ (WinAPI). This will ensure a minimal file size and the absence of any external dependencies (no need to install .NET or other libraries).
Technical implementation:
Service: Native application. Elevation of rights (UAC) is implemented through an embedded manifest (requestedExecutionLevel level="requireAdministrator").
IPC (Communication): For command transmission, I will use Named Pipes. This is the standard and most reliable mechanism in Windows for data exchange between processes, which works faster and more securely than sockets or files.
Execution: The service listens to the channel and upon receiving a command, it launches a script via CreateProcess or ShellExecute in an already privileged context.
…
I will provide the finished binary file and source code (Visual Studio Solution). Write to me, we will discuss and I will start working on it.
-
513 3 0 Hello, I have extensive experience in C++ development, including on Windows. I know two approaches that can solve your problem.
-
Здравствуйте!
Есть вопрос по программе.
Сервис (пункт 1) - это имеется ввиду Windows service который можно запустить / остановить в окне Services или же это просто отдельная программа которая единоразово (в отличии от сервиса который постоянно запущен) запускается с правами Администратора и в свою очередь запускает другие указанные ей программы, после чего завершает работу? -
Ще актуально ?
-
Current freelance projects in the category C & C++
Reverse engineering of console utilities for querying SSD controllers (Flash ID)1. Purpose of the work Extraction of the application programming interface (API) for interaction with SSD/NVMe controllers from the provided set of console utilities (Phison, Silicon Motion, Realtek, Maxiotek, Marvell, JMicron, etc.). The result should be working code in C/C++… C & C++, Desktop Apps ∙ 5 days 5 hours back ∙ 5 proposals |
Development of a Minecraft Java Seed Map / Seed Viewer for the websiteDevelopment of Minecraft Java Seed Map / Seed Viewer for the websiteProject Description A browser-based tool Minecraft Java Seed Map / Seed Viewer needs to be developed, which will work on our website and allow the user to enter a seed from Minecraft Java Edition and view an… C & C++, HTML & CSS ∙ 5 days 11 hours back ∙ 14 proposals |
Comparative analysis of the effectiveness of custom software (v2.2-field) and reference software (Meshtastic v2.x)
22 USD
Comparative analysis of the effectiveness of custom software (v2.2-field) and reference software (Meshtastic v2.x) on the identical hardware platform (ESP32 + SX1268, 2W) based on the criteria of range, throughput, link stability, and power consumption. Conduct tests with… C & C++, C# ∙ 9 days 19 hours back ∙ 2 proposals |
Consultation and audit of the current project on Odoo 19 Community EditionWe are looking for an Odoo Developer — a solo developer with experience in Odoo 19 Community Edition, including using Claude Code. We need a specialist who has successfully implemented projects in Odoo and practical experience in development using Claude Code. Important: we only… C & C++, Javascript and Typescript ∙ 12 days 20 hours back ∙ 8 proposals |
Software development for Arduino (RF modules 3–7.5 GHz, automatic frequency scanning)It is necessary to develop a system on Arduino for the automatic search of active analog video signals and the automatic tuning of the transmitter to the detected frequency.It is planned to use three separate transceiver modules: 3000–4200 MHz; 4900–6000 MHz; 6100–7500… C & C++, Embedded Systems & Microcontrollers ∙ 13 days 20 hours back ∙ 5 proposals |