Hello All.
I am getting error elevated privileges required while doing development
I tried below steps but still it is not working
- Opened UiPath as Administrator.
Step-by-Step: Create and Run .reg File
Step 1: Open Notepad
- Press Win + R
- Type:
notepad - Press Enter
Step 2: Copy & Paste This Exactly
Paste this inside Notepad:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\*\shell\forcerunasinvoker]
@="Run without privilege elevation"
[HKEY_CLASSES_ROOT\*\shell\forcerunasinvoker\command]
@="cmd /min /C \"set __COMPAT_LAYER=RUNASINVOKER && start \"\" \"%1\"\""
Make sure there are no extra spaces before the first line.
Step 3: Save as .reg File (Very Important)
- Click File → Save As
- Choose location: Desktop (easy to find)
- File name:
run_without_admin.reg
- Change Save as type → select All Files
- Click Save
If you don’t choose “All Files”, it will save as .txt and won’t work.
Step 4: Add to Registry
- Go to Desktop
- Double-click
run_without_admin.reg - Click Yes
- Click OK
