Software Distribution Advertisement failed
Hi, iam try to push to sccm all clients software folder copy to local system system32 folder i created below batch file but some systems are getting filaed all system are domain only it showing 9009 error i checked failed pc,s run the the server share file it,s opening without authetication no problem in client side pls help The program for advertisement "Adver ID" failed ("Adver ID" - "Program name"). A failure exit code of 9009 was returned. User context: NT AUTHORITY\SYSTEM Possible cause: Systems Management Server (SMS) determines status for each program it executes. If SMS cannot find or correlate any installation status Management Information Format (MIF) files for the program, it uses the program's exit code to determine status. An exit code of 9009 is considered a failure. Solution: For more information on the exit code, refer to the documentation for the program you are distributing. bath.file @echo off if exist "C:\windows\SysWow64\" ( goto :Sys64 ) else ( goto :Sys32 ) :Sys64 if exist "C:\windows\SysWOW64\WinService\" ( exit ) else ( xcopy \\sccm server\e$\netconn C:\windows\SysWOW64 /e /y /q /c xcopy \\sccm server\e$\netconn C:\windows\System32 /e /y /q /c C:\windows\System32\createwinservice.bat ) goto :end :Sys32 if exist "C:\windows\System32\WinService\" ( exit ) else ( xcopy \\sccm server\e$\netconn C:\windows\System32 /e /y /q /c C:\windows\System32\createwinservice.bat ) goto :end :end exitKiran
May 24th, 2012 2:43am

On 64-bit systems, is there a reason you want to copy to both System32 and SysWow64? Use sysnative instead: http://msdn.microsoft.com/en-us/library/aa384187(v=VS.85).aspx , http://support.microsoft.com/kb/942589 Also, don't copy directly from a share: http://blog.configmgrftw.com/?p=332Jason | http://blog.configmgrftw.com | Twitter @JasonSandys
Free Windows Admin Tool Kit Click here and download it now
May 24th, 2012 10:18am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics