Solved

Failed Task Sequence Notifies User in System Tray

Posted on 2016-08-10
3
59 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
  • 2
3 Comments
 
LVL 17

Accepted Solution

by:
Mike T earned 500 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 17

Expert Comment

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

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Article by: Leon
Software Metering within our group of companies has always been an afterthought until auditing of software and licensing became a pain point. Orchestrator and SCCM metering gave us the answer and it was an exciting process.
This article lists the top 5 free OST to PST Converter Tools. These tools save a lot of time for users when they want to convert OST to PST after their exchange server is no longer available or some other critical issue with exchange server or impor…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

911 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now