what I want to do is to import scheduled task, that would have checked the "Run with highest privileges" checkbox in Task scheduler window, while installation. I successfully created custom action which runs a batch file with command which imports the scheduled task:
Code: Select all
schtasks /Create /XML TaskFileToImport.xml /TN NarozeninySvatky\NarozeninySvatkyCode: Select all
<RunLevel>HighestAvailable</RunLevel>Code: Select all
The trust relationship between this workstation and the primary domain failed.Thanks a lot for all advices.
George
FOLLOW US
Get the latest news in Application Packaging