Hello.
Is there a way to auto-start a script in non-elevated mode, when you load it from an elevated command prompt or file manager?
I know how to make it auto-start in admin mode, but I cant find anything for the opposite way.
Auto-start script in non-elevated mode?
Re: Auto-start script in non-elevated mode?
You could call psexec (https://docs.microsoft.com/en-gb/sysinternals/downloads/psexec), for example:
or use Task Scheduler and specify a non-privileged user account to use.
Code: Select all
Run, psexec.exe -l -d non-admin.exe
Re: Auto-start script in non-elevated mode?
Try this. Cheers.
Reloading: Admin to Non-Admin - AutoHotkey Community
https://autohotkey.com/boards/viewtopic.php?f=5&t=7752
Reloading: Admin to Non-Admin - AutoHotkey Community
https://autohotkey.com/boards/viewtopic.php?f=5&t=7752
homepage | tutorials | wish list | fun threads | donate
WARNING: copy your posts/messages before hitting Submit as you may lose them due to CAPTCHA
WARNING: copy your posts/messages before hitting Submit as you may lose them due to CAPTCHA
Who is online
Users browsing this forum: Google [Bot], wpulford and 405 guests