Jump to content


peggyp

Established Members
  • Content Count

    3
  • Joined

  • Last visited

Community Reputation

0 Neutral

About peggyp

  • Rank
    Newbie
  1. quick question, I am logged in as 'admin' to sccm console. I have an approved client 'a' in sccm. it shows in the all systems collection. Then i add it to collection 'b' by right-clicking and clicking on add to collection. is there any entry in any of the logs that 'admin' has added 'a' into collection 'b'? TIA, peggy
  2. is there a reason why you don't want to use the exe?
  3. hi guys, so I've been playing around with SCCM because at work, we're moving to SCCM from Novell. So I have this one app, let's call it MSC. it has a silent install switch and i've scripted it like so: start /wait %~dp0marc\setup.exe /s /f1%~dp0marc\setup.iss Here is the process of how I get it on SCCM: 1. Created a package called MSC v1 2. Copied source file to DP 3. Created a program called 'Install' which basically runs the above script inside a batch file (installcommands.bat) 4. Set Program to be able to run 'Whether or not a user is logged on' 5. Selected 'Run with Administrator rights' 6. Selected 'Requires drive letter' 7. Create Advertisement for the above program 8. Assigned it to a collection that contains 1 PC 9. Set it so that it 'Run program from distribution point' When I try to run this advertisement manually from the PC, it fails with the following error in execmgr.log <![LOG[Raising event: [sMS_CodePage(850), SMS_LocaleID(3081)] instance of SoftDistProgramErrorEvent { AdvertisementId = "TST20078"; ClientID = "GUID:3A62485B-5486-4D5E-BC18-455363BB5FB1"; DateTime = "20110421004430.868000+000"; ExitCode = "-2147213312"; MachineName = "PEGGY_WS1"; PackageName = "TST0004A"; ProcessID = 2356; ProgramName = "Install"; SiteCode = "TST"; ThreadID = 2872; UserContext = "NT AUTHORITY\\SYSTEM"; }; ]LOG]!><time="10:44:30.868+-600" date="04-21-2011" component="execmgr" context="" type="1" thread="2872" file="event.cpp:525"> <![LOG[Raised Program Error Event for Ad:TST20078, Package:TST0004A, Program: Install]LOG]!><time="10:44:30.899+-600" date="04-21-2011" component="execmgr" context="" type="1" thread="2872" file="executioncontext.cpp:648"> <![LOG[Execution is complete for program Install. The exit code is -2147213312, the execution status is FailureNonRetry]LOG]!><time="10:44:30.915+-600" date="04-21-2011" component="execmgr" context="" type="1" thread="2872" file="execreqmgr.cpp:3908"> <![LOG[Policy is updated for Program: Install, Package: TST0004A, Advert: TST20078]LOG]!><time="10:49:29.795+-600" date="04-21-2011" component="execmgr" context="" type="1" thread="2888" file="execreqmgr.cpp:6711"> <![LOG[Mandatory execution requested for program Install and advertisement TST20078]LOG]!><time="10:52:57.159+-600" date="04-21-2011" component="execmgr" context="" type="1" thread="2716" file="execreqmgr.cpp:3317"> <![LOG[Creating mandatory request for advert TST20078, program Install, package TST0004A]LOG]!><time="10:52:57.159+-600" date="04-21-2011" component="execmgr" context="" type="1" thread="2716" file="execreqmgr.cpp:3440"> <![LOG[Policy is updated for Program: Install, Package: TST0004A, Advert: TST20078]LOG]!><time="10:52:57.190+-600" date="04-21-2011" component="execmgr" context="" type="1" thread="1404" file="execreqmgr.cpp:6711"> <![LOG[Requesting content from CAS for package TST0004A version 5]LOG]!><time="10:52:57.346+-600" date="04-21-2011" component="execmgr" context="" type="1" thread="2716" file="contentaccesshelper.cpp:138"> <![LOG[successfully created a content request handle {54F06623-5D28-4064-B87D-048A2ECB89C7} for the package TST0004A version 5]LOG]!><time="10:52:57.377+-600" date="04-21-2011" component="execmgr" context="" type="1" thread="2716" file="contentaccesshelper.cpp:216"> <![LOG[Raising event: [sMS_CodePage(850), SMS_LocaleID(3081)] instance of SoftDistWaitingContentEvent { AdvertisementId = "TST20078"; ClientID = "GUID:3A62485B-5486-4D5E-BC18-455363BB5FB1"; DateTime = "20110421005257.393000+000"; MachineName = "PEGGY_WS1"; PackageName = "TST0004A"; PackageVersion = "5"; ProcessID = 2356; ProgramName = "Install"; SiteCode = "TST"; ThreadID = 2716; }; ]LOG]!><time="10:52:57.409+-600" date="04-21-2011" component="execmgr" context="" type="1" thread="2716" file="event.cpp:525"> <![LOG[successfully raised SoftDistWaitingContentEvent event for program Install]LOG]!><time="10:52:57.409+-600" date="04-21-2011" component="execmgr" context="" type="1" thread="2716" file="executionrequest.cpp:2623"> <![LOG[Execution Request for package TST0004A program Install state change from NotExist to WaitingContent]LOG]!><time="10:52:57.409+-600" date="04-21-2011" component="execmgr" context="" type="1" thread="2716" file="executionrequest.cpp:488"> <![LOG[Execution Request for package TST0004A program Install state change from WaitingContent to WaitingContent]LOG]!><time="10:52:57.424+-600" date="04-21-2011" component="execmgr" context="" type="1" thread="1404" file="executionrequest.cpp:488"> <![LOG[Content is available for program Install.]LOG]!><time="10:52:57.440+-600" date="04-21-2011" component="execmgr" context="" type="1" thread="2716" file="executionrequest.cpp:4921"> <![LOG[CExecutionRequest::Service Windows Manager has allowed us to run.]LOG]!><time="10:52:57.487+-600" date="04-21-2011" component="execmgr" context="" type="1" thread="2716" file="executionrequest.cpp:3071"> <![LOG[Execution Request for package TST0004A program Install state change from WaitingContent to NotifyExecution]LOG]!><time="10:52:57.487+-600" date="04-21-2011" component="execmgr" context="" type="1" thread="2716" file="executionrequest.cpp:488"> <![LOG[Notify user mandatory program Install is about to run]LOG]!><time="10:52:57.487+-600" date="04-21-2011" component="execmgr" context="" type="1" thread="2716" file="executionrequest.cpp:3112"> <![LOG[Executing program installcommands.bat in Admin context]LOG]!><time="10:53:06.285+-600" date="04-21-2011" component="execmgr" context="" type="1" thread="1404" file="executionrequest.cpp:3277"> <![LOG[Execution Manager timer has been fired.]LOG]!><time="10:53:06.301+-600" date="04-21-2011" component="execmgr" context="" type="1" thread="3196" file="execreqmgr.cpp:5188"> <![LOG[Execution Request for package TST0004A program Install state change from Running to NotifyExecution]LOG]!><time="10:53:06.301+-600" date="04-21-2011" component="execmgr" context="" type="1" thread="1404" file="executionrequest.cpp:488"> <![LOG[Checking content location \\SCCM\SMSPKGD$\TST0004A\ for use]LOG]!><time="10:53:06.301+-600" date="04-21-2011" component="execmgr" context="" type="1" thread="1404" file="executioncontext.cpp:1635"> <![LOG[successfully selected content location \\SCCM\SMSPKGD$\TST0004A]LOG]!><time="10:53:06.316+-600" date="04-21-2011" component="execmgr" context="" type="1" thread="1404" file="executioncontext.cpp:1703"> <![LOG[GetFileVersionInfoSize failed for file \\SCCM\SMSPKGD$\TST0004A\installcommands.bat, error 1812]LOG]!><time="10:53:06.332+-600" date="04-21-2011" component="execmgr" context="" type="2" thread="1404" file="executioncontext.cpp:119"> <![LOG[Executing program as a script]LOG]!><time="10:53:06.332+-600" date="04-21-2011" component="execmgr" context="" type="1" thread="1404" file="executionengine.cpp:103"> <![LOG[successfully prepared command line "Z:\TST0004A\installCommands.bat"]LOG]!><time="10:53:06.332+-600" date="04-21-2011" component="execmgr" context="" type="1" thread="1404" file="scriptexecution.cpp:523"> <![LOG[Command line = "Z:\TST0004A\installCommands.bat", Working Directory = Z:\TST0004A\]LOG]!><time="10:53:06.332+-600" date="04-21-2011" component="execmgr" context="" type="1" thread="1404" file="scriptexecution.cpp:284"> <![LOG[Created Process for the passed command line]LOG]!><time="10:53:06.347+-600" date="04-21-2011" component="execmgr" context="" type="1" thread="1404" file="scriptexecution.cpp:407"> <![LOG[Raising event: [sMS_CodePage(850), SMS_LocaleID(3081)] instance of SoftDistProgramStartedEvent { AdvertisementId = "TST20078"; ClientID = "GUID:3A62485B-5486-4D5E-BC18-455363BB5FB1"; CommandLine = "\"Z:\\TST0004A\\installCommands.bat\""; DateTime = "20110421005306.347000+000"; MachineName = "PEGGY_WS1"; PackageName = "TST0004A"; ProcessID = 2356; ProgramName = "Install"; SiteCode = "TST"; ThreadID = 1404; UserContext = "NT AUTHORITY\\SYSTEM"; WorkingDirectory = "Z:\\TST0004A\\"; }; ]LOG]!><time="10:53:06.347+-600" date="04-21-2011" component="execmgr" context="" type="1" thread="1404" file="event.cpp:525"> <![LOG[Raised Program Started Event for Ad:TST20078, Package:TST0004A, Program: Install]LOG]!><time="10:53:06.363+-600" date="04-21-2011" component="execmgr" context="" type="1" thread="1404" file="executioncontext.cpp:523"> <![LOG[Program exit code -2147213312]LOG]!><time="10:53:11.761+-600" date="04-21-2011" component="execmgr" context="" type="1" thread="3196" file="scriptexecution.cpp:547"> <![LOG[Looking for MIF file to get program status]LOG]!><time="10:53:11.792+-600" date="04-21-2011" component="execmgr" context="" type="1" thread="3196" file="executionstatus.cpp:282"> <![LOG[script for Package:TST0004A, Program: Install failed with exit code 2147753984]LOG]!><time="10:53:11.792+-600" date="04-21-2011" component="execmgr" context="" type="3" thread="3196" file="executionstatus.cpp:249"> <![LOG[Raising event: [sMS_CodePage(850), SMS_LocaleID(3081)] instance of SoftDistProgramErrorEvent { AdvertisementId = "TST20078"; ClientID = "GUID:3A62485B-5486-4D5E-BC18-455363BB5FB1"; DateTime = "20110421005311.792000+000"; ExitCode = "-2147213312"; MachineName = "PEGGY_WS1"; PackageName = "TST0004A"; ProcessID = 2356; ProgramName = "Install"; SiteCode = "TST"; ThreadID = 3196; UserContext = "NT AUTHORITY\\SYSTEM"; }; ]LOG]!><time="10:53:11.792+-600" date="04-21-2011" component="execmgr" context="" type="1" thread="3196" file="event.cpp:525"> <![LOG[Raised Program Error Event for Ad:TST20078, Package:TST0004A, Program: Install]LOG]!><time="10:53:11.792+-600" date="04-21-2011" component="execmgr" context="" type="1" thread="3196" file="executioncontext.cpp:648"> <![LOG[Execution is complete for program Install. The exit code is -2147213312, the execution status is FailureNonRetry]LOG]!><time="10:53:11.807+-600" date="04-21-2011" component="execmgr" context="" type="1" thread="2716" file="execreqmgr.cpp:3908"> Can anyone shed some light as to why it is not working? If run the script manually via UNC or manually mapped a drive (ie Z) on the targeted machine, it works fine..... TIA!
×
×
  • Create New...