Scripting Question

Copying a file to a Public OneDrive folder

04/30/2019 537 views

Hi Guys,

I am trying to create a bat file that will save a file in a specific file server then from that file server it will copy the file then it will save to a public or shared OneDrive folder. The script is working 100% if I tested it manually, but if I deploy it to SCCM, it only works on saving the file in the file server but not working on copying the file in the OneDrive. Can someone help me how to do it?

Thank you guys!

0 Comments   [ + ] Show comments


All Answers


Could be any of the following reason:

1. user context of launch. ( Sccm run application with system context)
2. Permission to user to copy file to onedrive.

Answered 05/06/2019 by: rock_star
4th Degree Black Belt

This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ