User Account Control or UAC
Show mapped network drives in elevated apps
- regedit
- HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System
- add DWORD EnableLinkedConnections with value 1
- restart your computer or the (Lanman) Workstation service
source:
Elevated app without UAC prompt
Add a task to the task scheduler, running a program/script with the highest privileges. Then create a shortcut that calls this task:
- Task Scheduler
- if desired, create a separate folder "NoUAC"
- Create New Task…
- General:
- fill in Name
- check Run with highest privileges
- in Configure for: choose Windows 10 (of Windows Server 2012 R2)
- Actions:
- New…: browse for the Program/script to be executed
- Conditions
- Uncheck Start the task only if the computer is on AC power
- Settings
- Uncheck Stop the task if it runs longer than:
- New > Shortcut
- Target: C:\Windows\System32\schtasks.exe /RUN /TN "NoUAC\TaskName"
source:
https://www.tenforums.com/tutorials/57690-create-elevated-shortcut-without-uac-prompt-windows-10-a.html