deploying a bath file with SCCM


 I am trying to copy a software from C:\ ProgramData... to "%USERPROFILE%\Start Menu\Programs\Startup"

Here's is m bath file:

copy "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Cisco Jabber\Cisco Jabber.lnk" "%USERPROFILE%\Start Menu\Programs\Startup"

the bath file is working/ copying properly when double click on it which means manually.

now, I am trying to deploy it to all the system with SCCM hence, the software is installed on the SCCM but the file is not copied

see attached file 


any thoughts about why it's working properly and not working with the SCCM?


0 Comments   [ + ] Show comments

Answers (1)

Posted by: rileyz 11 months ago
Red Belt

You need the SCCM 'Application' to run as the User and not as the SYSTEM. This will allow the batch access to the users profile.

I dont have my lab up so I cant show you the dialog sorry. I cant remember if its during the creation of the SCCM application or during deployment, when the option shows up.

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login


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