简体   繁体   中英

Setting custom shell with admin privileges

I am able to set an application to launch on boot-up using custom shell in Windows 10(Powershell script) to achieve Kiosk mode.

I want it to run as 'Admin', for that I disabled UAC and made it elevated in application manifest file. When I start the system a black screen pops up and the application is not visible in task manager as well(it seems application not started).

If I set it not to run as 'Admin' then it is working fine but it will not be running as elevated.

Does anybody have any idea how to launch application in admin mode using custom shell?

Thanks, Soma

I've had the same problem with ShellLauncher on Windows 10. The solution however is the same. Turn off User Account Control (UAC). Then, create a VBScript file with the following content, named as, say, 'launcher.vbs':

set shell = CreateObject("wscript.shell")
cmd = "{Path to your Exe}\App.exe"
shell.run cmd,,true

And set the shell as "wscript.exe {path to your launcher}.vbs"

Were you able to resolve this problem? I am facing the same issue and not able to find any solution for this. Any help would be appreciated.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM