I don't know why you're trying to do this, but the Vagrant source which generates the scheduled task is here: https://github.com/mitchellh/vagrant/blob/master/plugins/communicators/winrm/scripts/elevated_shell.ps1.erb
You can also _not_ use a scheduled task with the shell provision by setting elevated => false. On Thursday, July 31, 2014 6:00:56 AM UTC-7, Clément Sezettre wrote: > > Is it the "vagrant-elevated-shell.ps1" in C:\Temp that create the > scheduled task ? > Because when i change something in the code of the ps1 file. Nothing > happened in the Task scheduler. > In the task "WinRM_Elevated_Shell", "Run whether user is logged on or > not" is checked and because the other choice is not checked "Run only when > user is logged on" the script start in background. I'd like to find a way > to modify the code that create the task in order to check the other choice. > > If anyone has a idea, i'm completly lost. > -- You received this message because you are subscribed to the Google Groups "Vagrant" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
