I 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.
xcopy Printkey2000.exe "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup\" /Y
Microsoft is conducting an online survey to understand your opinion of the Technet Web site. If you choose to participate, the online survey will be presented to you when you leave the Technet Web site.