My goal is to for a limited used to be able to run a netsh script that requires administrative privileges:
netsh wlan stop hostednetwork netsh wlan start hostednetwork
From my administrative account I created a task scheduler task that runs this script with elevated privileges and saved my admin password in it. It worked. But the task is not visible from the limited user account.
I tried creating the same task from the limited user task scheduler - did not happen, it told me the user has no rights to create the task.
Tried schtasks.exe from the limited user, it also does not show the task I want to run.
Is there a way to share the task I created from the administrative account with a limited user so he is able to run it on demand? Or give him privileges to create the task himself?