Config_Mgr_noob Posted June 2, 2015 Report post Posted June 2, 2015 Hi all, I am having a very difficult time to setup a Software Update TS to actually install all available updates during OSD process. I have notice that it sometimes work but most of the time it does not install updates and TS just continues the rest of the process. I have looked online for ways to apply all updates and found the below cmd to add during my TS to scan for updates. However, I keep receiving the below error message when running this cmd. Any ideas as to why I am receiving the "Invalid Verb Switch" when running this cmd? I receive the same error message when I try to run it locally on the imaged PC. Also I have my Software Update Group deployed to "All Unknown Computers" collection; not sure if I have to deploy it to another collection to be available to known PCs that I want to re-image. Is this is not an ideal solution than can anyone advise what would be the best solution to apply software updates during OSD? I know about the offline service feature with the image but I would really like to know how to apply updates during OSD. I have also attached a screenshot of my TS. WMIC /namespace:\\root\ccm path sms_client CALL TriggerSchedule “{00000000-0000-0000-0000-000000000113}” /NOINTERACTIVE Quote Share this post Link to post Share on other sites More sharing options...
AntePante Posted October 29, 2015 Report post Posted October 29, 2015 Hi there! I ran in to the same problem. Could not run it in cmd-window on the client machine either. The syntax i s correct WMIC /namespace:\\root\ccm path sms_client CALL TriggerSchedule “{00000000-0000-0000-0000-000000000113}” /NOINTERACTIVE BUT you have to type " I also had copied the string from some forum. The quotation marks is invalid. The correct string is WMIC /namespace:\\root\ccm path sms_client CALL TriggerSchedule "{00000000-0000-0000-0000-000000000113}" /NOINTERACTIVE Now software update is running like a Dream. /Ante Quote Share this post Link to post Share on other sites More sharing options...
meglicl Posted October 30, 2015 Report post Posted October 30, 2015 Hi there, I have a strage problem with Software Update during OSD TS. I haven't changed anythig on server and the Software Update proces just gives me error over and over for about a week now. I've looked in to the 'WUAHandler.log', 'UpdatesHandler.log', 'UpdatesDeployment.log' and 'smsts.log' files and all give errors. --- WUAHandler.log: CWuaHandler::SetCategoriesForStateReportingExclusion called with E0789628-CE08-4437-BE74-2495B842F43B;E0789628-CE08-4437-BE74-2495B842F43B,A38C835C-2950-4E87-86CC-6911A52C34A3; for leaves and E0789628-CE08-4437-BE74-2495B842F43B,A38C835C-2950-4E87-86CC-6911A52C34A3; for bundles WUAHandler 30.10.2015 10:48:44 1500 (0x05DC)CWuaHandler::SetCategoriesForStateReportingExclusion called with E0789628-CE08-4437-BE74-2495B842F43B;E0789628-CE08-4437-BE74-2495B842F43B,A38C835C-2950-4E87-86CC-6911A52C34A3; for leaves and E0789628-CE08-4437-BE74-2495B842F43B,A38C835C-2950-4E87-86CC-6911A52C34A3; for bundles WUAHandler 30.10.2015 10:48:58 984 (0x03D8)Its a WSUS Update Source type ({034D07B7-872F-4051-8836-44F63B134357}), adding it. WUAHandler 30.10.2015 10:49:19 2980 (0x0BA4)Unable to read existing resultant WUA policy. Error = 0x80070002. WUAHandler 30.10.2015 10:49:19 2980 (0x0BA4)Enabling WUA Managed server policy to use server: http://SERVER.local:8530 WUAHandler 30.10.2015 10:49:19 2980 (0x0BA4)Waiting for 2 mins for Group Policy to notify of WUA policy change... WUAHandler 30.10.2015 10:49:19 2980 (0x0BA4)Timed out waiting for Group Policy notification. WUAHandler 30.10.2015 10:51:19 2980 (0x0BA4)Unable to read existing WUA resultant policy. Error = 0x80070002. WUAHandler 30.10.2015 10:51:19 2980 (0x0BA4)Seems Group Policy is not yet initialized because client is in provisioning mode, writing WSUS Server location in registry. WUAHandler 30.10.2015 10:51:19 2980 (0x0BA4)Restarting WU Agent service... WUAHandler 30.10.2015 10:51:19 2980 (0x0BA4)Stopped the service 'wuauserv' successfully WUAHandler 30.10.2015 10:51:25 2980 (0x0BA4)Waiting for 30 secs for policy to take effect on WU Agent. WUAHandler 30.10.2015 10:51:25 2980 (0x0BA4)Added Update Source ({034D07B7-872F-4051-8836-44F63B134357}) of content type: 2 WUAHandler 30.10.2015 10:51:55 2980 (0x0BA4)Scan results will include superseded updates only when they are superseded by service packs and definition updates. WUAHandler 30.10.2015 10:51:55 2980 (0x0BA4)Search Criteria is (DeploymentAction=* AND Type='Software') OR (DeploymentAction=* AND Type='Driver') WUAHandler 30.10.2015 10:51:55 2980 (0x0BA4)Async searching of updates using WUAgent started. WUAHandler 30.10.2015 10:51:55 2980 (0x0BA4)Async searching completed. WUAHandler 30.10.2015 10:53:29 2404 (0x0964)OnSearchComplete - Failed to end search job. Error = 0x80244010. WUAHandler 30.10.2015 10:53:29 984 (0x03D8)Scan failed with error = 0x80244010. WUAHandler 30.10.2015 10:53:29 984 (0x03D8)Removed Update Source ({034D07B7-872F-4051-8836-44F63B134357}) of content type: 2 WUAHandler 30.10.2015 11:01:52 436 (0x01B4)CWuaHandler::SetCategoriesForStateReportingExclusion called with E0789628-CE08-4437-BE74-2495B842F43B;E0789628-CE08-4437-BE74-2495B842F43B,A38C835C-2950-4E87-86CC-6911A52C34A3; for leaves and E0789628-CE08-4437-BE74-2495B842F43B,A38C835C-2950-4E87-86CC-6911A52C34A3; for bundles WUAHandler 30.10.2015 11:03:23 3124 (0x0C34)CWuaHandler::SetCategoriesForStateReportingExclusion called with E0789628-CE08-4437-BE74-2495B842F43B;E0789628-CE08-4437-BE74-2495B842F43B,A38C835C-2950-4E87-86CC-6911A52C34A3; for leaves and E0789628-CE08-4437-BE74-2495B842F43B,A38C835C-2950-4E87-86CC-6911A52C34A3; for bundles WUAHandler 30.10.2015 11:05:00 1868 (0x074C)Its a WSUS Update Source type ({034D07B7-872F-4051-8836-44F63B134357}), adding it. WUAHandler 30.10.2015 11:16:50 3996 (0x0F9C)Enabling WUA Managed server policy to use server: http://SERVER.local:8530 WUAHandler 30.10.2015 11:16:50 3996 (0x0F9C)Waiting for 2 mins for Group Policy to notify of WUA policy change... WUAHandler 30.10.2015 11:16:50 3996 (0x0F9C)Waiting for 30 secs for policy to take effect on WU Agent. WUAHandler 30.10.2015 11:16:53 3996 (0x0F9C)Added Update Source ({034D07B7-872F-4051-8836-44F63B134357}) of content type: 2 WUAHandler 30.10.2015 11:17:23 3996 (0x0F9C)Scan results will include superseded updates only when they are superseded by service packs and definition updates. WUAHandler 30.10.2015 11:17:23 3996 (0x0F9C)Search Criteria is (DeploymentAction=* AND Type='Software') OR (DeploymentAction=* AND Type='Driver') WUAHandler 30.10.2015 11:17:23 3996 (0x0F9C)Async searching of updates using WUAgent started. WUAHandler 30.10.2015 11:17:23 3996 (0x0F9C)Async searching completed. WUAHandler 30.10.2015 11:18:28 3180 (0x0C6C)Successfully completed scan. WUAHandler 30.10.2015 11:18:50 3644 (0x0E3C) --- Quote Share this post Link to post Share on other sites More sharing options...
kratos7 Posted December 16, 2015 Report post Posted December 16, 2015 Hi meglicl, I am having the same issues. Were you able to fix this issue? Quote Share this post Link to post Share on other sites More sharing options...
itrider Posted June 3, 2016 Report post Posted June 3, 2016 (edited) I had the exact same error... Hi there! I ran in to the same problem. Could not run it in cmd-window on the client machine either. The syntax i s correct WMIC /namespace:\\root\ccm path sms_client CALL TriggerSchedule “{00000000-0000-0000-0000-000000000113}” /NOINTERACTIVE BUT you have to type " I also had copied the string from some forum. The quotation marks is invalid. The correct string is WMIC /namespace:\\root\ccm path sms_client CALL TriggerSchedule "{00000000-0000-0000-0000-000000000113}" /NOINTERACTIVE Now software update is running like a Dream. /Ante This was my problem and manually deleting/retyping the quotation marks resolved my issue. Copy/Paste from external source resulted in the wrong quotation type being pasted. Thanks for the solution! Edited June 3, 2016 by itrider Quote Share this post Link to post Share on other sites More sharing options...