Timeout Approving Updates in WSUS/ Approving updates takes long time in WSUS

ERROR Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding. DESCRIPTION The text of the message is: “Windows Server Update Services error — Web Page Dialog Windows Server Update Services encountered an error. Timeout expired.  The timeout period elapsed prior to completion of the operation or the server is not responding. [Show Details] [Close]” You see the following information in “Show Details”, : “System.Data.SqlClient.SqlException: Timeout expired.  The timeout period elapsed prior to completion of the operation or the server is not responding.    at Microsoft.UpdateServices.DatabaseAccess.DBConnection.DrainObsoleteConnectio­ns(SqlException e)    <snip> updateId, Int32 revisionNumber, Int32 … Continue reading Timeout Approving Updates in WSUS/ Approving updates takes long time in WSUS

Scripts to query installed Service Packs, Patches/updates and Hotfixes

There are many known scripts which use WMI class Win32_QuickFixEngineering to enumerate hotfixes installed on a computer. These scripts can give you a list of installed updates like; 1. This Script reports installed updates that are installed with Windows Update (v5) technology and the result will be written to %temp%\UpdateHistory.txt and then launched in Notepad. USAGE: Cscript //nologo WUhistory.vbs The output will look like; Report run at 4/23/2006 2:42:14 PM——————————————————————Title:   Security Update for Windows XP (KB908531)Description:  A security issue has been identified in Windows Explorer that could allow an attacker to compromise your Windows-based system and gain control over it. You can … Continue reading Scripts to query installed Service Packs, Patches/updates and Hotfixes

How can I check whether my installation was a fresh installation or was created via a Sysprep image?

Q. How can I check whether my installation was a fresh installation or was created via a Sysprep image? A. To determine whether an installation was created via a Sysprep disk image, perform these steps (on Windows NT 4.0 or later):    1. Start the registry editor (regedit.exe).    2. Go to the HKEY_LOCAL_MACHINE\SYSTEM\Setup registry subkey.    3. If the CloneTag subkey exists, your machine was created from a Sysprep image. The value of the CloneTag subkey is the date and time that the image was created.    4. You’ll also see a CmdLine subkey, which is the command that … Continue reading How can I check whether my installation was a fresh installation or was created via a Sysprep image?

Sample scripts for managing the client-side version of Windows Update

Earlier, we saw Tales from the script to manage Automatic Update Client (AU) & now there are some more Sample scripts for managing the client-side version of Windows Update that ships with Windows XP Service Pack 2.   See AU Client-Side Management Scripts.   Display the Settings Dialog Box   • Display the Software Update Service Wizard   • Install an Update   • List Client-Side Settings   • List Proxy Properties   • List Search Properties   • List Service Properties       • List System Information Properties   • List Update History   • Modify the Update … Continue reading Sample scripts for managing the client-side version of Windows Update

Automatic Updates Client (AU Client) Tales from the Script — By The Scripting Guys

If you are wondering how to manage Automatic Updates Client (AU Client) like; Determining Whether the Automatic Updates Service is Installed Determining Whether Automatic Updates is Enabled Enabling Automatic Updates Determining the Automatic Updates Schedule Modifying the Automatic Updates Schedule Determining whether a Computer Needs to be Rebooted Reviewing Updates on a Computer Searching for Updates Determining if a Particular Update has Been Installed or more, using simple Scripts, then you MUST check this article By The Scripting Guys on http://www.microsoft.com/technet/community/columns/scripts/sg0705.mspx For more information, see the Windows Update Agent API that enable system administrators and programmers to access Windows Update and … Continue reading Automatic Updates Client (AU Client) Tales from the Script — By The Scripting Guys