---
title: "Discussion on \"Logging and Error Handling Best Practices for Automating Windows Update Installs (MSU) with wusa.exe (And For Logging Any Called Process)\" | Hashnode"
description: "Discussion on \"Logging and Error Handling Best Practices for Automating Windows Update Installs (MSU) with wusa.exe (And For Logging Any Called Process)\". Automation of Windows Updates is generally done by calling wusa.exe against a .MSU file. When wusa.exe experiences a failure the messages are typically obscure and hard to diagnose. The underlying error messages, however, are frequently easy to under..."
url: "https://hashnode.com/posts/logging-and-error-handling-best-practices-for-automating-windows-update-installs-msu-with-wusaexe-and-for-logging-any-called-process/62d2a40d1f070812ac2ac926"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Logging and Error Handling Best Practices for Automating Windows Update Installs (MSU) with wusa.exe (And For Logging Any Called Process)](https://missionimpossiblecode.io/logging-and-error-handling-best-practices-for-automating-windows-update-installs-msu-with-wusaexe-and-for-logging-any-called-process?utm_source=hashnode&utm_medium=feed)

Automation of Windows Updates is generally done by calling wusa.exe against a .MSU file. When wusa.exe experiences a failure the messages are typically obscure and hard to diagnose. The underlying error messages, however, are frequently easy to under...

Oct 16, 2017 · 16 min read · missionimpossiblecode.io  
Read the article

-   [#powershell](https://hashnode.com/tag/powershell)
-   [#automation](https://hashnode.com/tag/automation)
-   [#code](https://hashnode.com/tag/code)
-   [#deep-dive](https://hashnode.com/tag/deep-dive)
-   [#tools](https://hashnode.com/tag/tools)

## Written by

[Darwin Sanoy](https://hashnode.com/@DarwinJS)

@DarwinJS

  
[View profile](https://hashnode.com/@DarwinJS)

I Build.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
