have a simple bat file that copies an .exe file to "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup\" on a Windows 7 PC. in the smsts-XXXXXX-XXXXXX.log file I am receiving this error message. Below is the bat file that I am using. When I push this out to a PC that is already imaged and on the network, it is working fine. But when I build this application in UDI and then run my TS it errors out.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.
have a simple bat file that copies an .exe file to "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup\" on a Windows 7 PC. in the smsts-XXXXXX-XXXXXX.log file I am receiving this error message. Below is the bat file that I am using. When I push this out to a PC that is already imaged and on the network, it is working fine. But when I build this application in UDI and then run my TS it errors out.
@echo off
xcopy Printkey2000.exe "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup\" /Y
exit
Installation failed with error (0x80070004) InstallSoftware 2/23/2011 12:39:50 PM 2796 (0x0AEC)
Install Dynamic software action failed to install packageID: 'ABC00087', programID: 'Printkey 2000'. Error Code 0x80070004
I am fairly new to SCCM and any help would be greatly appreciated.
Thanks.
Share this post
Link to post
Share on other sites