Technical Anshu
Tutorials Blog
Admin Rights Guide

Run Converted EXE as Administrator UAC Manifest Options Explained

Half of all “the tool does not work” complaints are just missing admin rights. The converter’s administrator manifest fixes that with one tick - here is exactly what it does and when to use it.

By Technical AnshuWindows 10 / 117 minute read
Watch the full video - the complete BAT to EXE conversion process shown live, step by step

Your script works perfectly on your PC, but on the office machine it collapses with Access is denied halfway through the job. The usual cause is not a bug - the script needs administrator rights and never got them. The converter’s Administrator Manifest option exists precisely for this: it makes Windows ask for elevation up front, cleanly, every time. This page explains what the manifest is, what it is not, and how to decide.

What the user sees when a converted EXE has the admin manifest (example)
User Account Control Do you want to allow this app to make changes to your device? Program name: CleanupTool.exe Verified publisher: Unknown publisher [ Yes ] [ No ]
No manifest - the same script instead dies halfway with Access is denied errors
The manifest turns a mid-script failure into one clean question at the start. Verified publisher shows Unknown until the EXE is code-signed - another reason signing matters.
1

Why Scripts Fail Without Admin Rights

Batch scripts happily written on your own PC - where you are the administrator - meet a different world on a standard user account. The moment the script tries to write into C:\Program Files, change a system registry key, stop a service or install a driver, Windows answers Access is denied and the script either limps on broken or stops. The script itself is fine; it simply never had the rights its commands need.

Your script can test for rights at the start with the classic check net session >nul 2>&1 - if the error level is not zero, it is not running as administrator. But a test only tells you there is a problem. The manifest solves it.

2

What the Administrator Manifest Actually Is

A manifest is a small block of XML embedded in the EXE that tells Windows, before a single command runs: this program requires administrator rights. With the F2KO converter it is one tick - the Administrator Manifest option. From then on, every launch shows the standard UAC prompt; the user clicks Yes and the whole script runs elevated, or clicks No and nothing runs at all. Both outcomes are clean, which is more than can be said for failing halfway through a half-finished job.

Note what the manifest is not: it is not a way to bypass UAC, skip the prompt, or gain rights the user does not have. On a standard account, the prompt will ask for an administrator’s credentials, exactly as Windows intends.

3

When To Tick It and When To Leave It Off

  1. Tick it for installers, driver tools, system repairs, anything writing outside the user profile
  2. Tick it when a half-run script leaves the machine in a worse state than not running at all
  3. Leave it off for reports, file organisers, launchers and anything that lives happily inside the user’s own folders
  4. Leave it off for tools given to office staff - an unnecessary UAC prompt trains people to click Yes blindly, which undoes the protection UAC exists for
4

Manifest Versus Right-Click Run as Administrator

Users can always right-click any EXE and choose Run as administrator manually, so why bake it in? Because people forget, instructions get skipped, and your support chat fills with screenshots of access denied errors. The manifest makes the correct behaviour the default behaviour. The reverse problem also exists: a script converted without the manifest that a user runs elevated anyway may behave oddly, because elevated processes start in C:\Windows\System32 as their working folder - one more reason relative paths in scripts should be written defensively with %~dp0.

Watch the Complete Process in the Video

The video shows where the administrator manifest option sits in the converter - tick it with this page’s rules in mind and your system tools will behave on every PC.

Watch Full Video
Frequently Asked Questions

Does the administrator manifest bypass UAC

No. It does the opposite - it formally requests elevation through the normal UAC prompt. The user, or an administrator whose credentials are entered, must approve. If they decline, the program does not run at all.

My script only sometimes needs admin rights. What should I do

Split the work: keep the everyday tool unprivileged, and convert the part that touches system areas as a separate small EXE with the manifest. Users then see the UAC prompt only for the step that genuinely needs it.

Why does my elevated script suddenly look in System32 for files

Elevated processes start with C Windows System32 as the working folder, whatever folder the EXE lives in. Write file paths in your script relative to %~dp0, the script’s own location, instead of assuming the current folder.

This guide is based on the Technical Anshu video linked above - Stuck on a step? Ask in the video comments - you will get an answer