I need to launch a programm as admin in a standard user account Windows 8 session without UAC or pasword prompt. I don't want to disable UAC.
I found that procedure on the web :
I created a scheduled task (With max rights and for Windows 8) which launch cmd (%windir%\System32\cmd.exe) with that argument :
/c start "Task_Name" "Full_Path_of_Program"
I finally created a shortcut for launch the task on demand :
C:\Windows\System32\schtasks.exe /run /tn "scheduled_task_name"
I can't create the scheduled task from the standard user session, I have to launch taskschd as admin, This way, the task (with the shortcut for example) don't work with standard user (I can see the cmd launch but nothing happens after), I have to run it as admin and fill the password...
When I want to create the task from standard user session with max rights for Windows 8, I select the admin or standard user and when the task is configured I click on OK. Then I have to fill the password for the admin account and receive an error message that tell me that the account name specified is not valid... (the same error message appear if I set the standard user and password) The password are correct and I use it every days.
What do I do wrong ? Any idea ?