?
Solved

Failed Task Sequence Notifies User in System Tray

Posted on 2016-08-10
3
Medium Priority
?
95 Views
Last Modified: 2016-08-12
I have created a task sequence in SCCM 2012 to uninstall KB3161608 Windows Update.  The command line used is C:\Windows\System32\wusa.exe /uninstall /kb:3161608 /quiet /norestart /log

If KB3161608 is installed on the machine that I deploy this to, there are no issues.  If the machine doesn't have the KB installed, the user is notified in the system tray "Installation failed", "The software installation was not successful. Click to view the details."

Is there a way to check to see if the Windows KB update is installed before executing the command?  If not, is there a way to not notify the user that the installation failed?
0
Comment
Question by:Firstcom
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 18

Accepted Solution

by:
Mike T earned 2000 total points
ID: 41751876
Hi,

Yes there is, especially if you are using a TS. Set the options to filter condition that only triggers if the patch is installed in the first place.

You can test before-hand with WMIC:

WMIC QFE get caption,hotfixID,installedon

Open in new window


which, after a long, long pause, will show *all* hotfixes with those columns.
Then to home in on the hotfix use:
WMIC QFE where hotfixid="KB3161608"

For the TS filter, the syntax is slightly different so will look like this:

select * from win32_QuickfixEngineering where HotfixID Like 'KB3161608'

Open in new window


So, click on the TS, click options, click Add then chose WMI and type that in.

Mike
0
 
LVL 1

Author Closing Comment

by:Firstcom
ID: 41753799
Thank you for your assistance.  This resolved my issue.
0
 
LVL 18

Expert Comment

by:Mike T
ID: 41754055
You're welcome
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Troubleshooting common task sequence error codes
Configuring Remote Assistance for use with SCCM
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question