2/12/2023 0 Comments Microsoft schedulertask which is for the copying of the file on to the remote folder is run as this user which has Local Admin rights on both the machine it is running on and the remote server as well.Start in : C:\Windows\System32\WindowsPowerShell\v1.0\.Actions -> Edit -> Program/Script : I invoke Powershell and pass the ps1 file as the argument.When I run the script manually as Admin with Powershell, it works fine in both cases, but when attached to the Task Scheduler task, it comes up with the 0x1 error. RAR file and transfers(MOVE - CUT PASTE) across to another server with UNC path reference. This process with RAR commandline also ensuresĭeletion of all the files added to the archive.Īnother task scheduled at a later stage picks the created. I have the same issue where I have a Task which runs the Powershell script to Compress a whole bunch of bak
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |