Friday, September 16, 2016

Solution - Windows Update Can't check for Updates, Update hangs

Problem - Windows Can't check for Updates; Update hangs. 

Article updated for Windows 10 and other versions.

Windows update System Tray icon reports "Windows can't check for updates"
Windows Update hangs for hours at 0%, 44%, 90% and other percentages
Windows update "Checking for updates" status bar / progress bar does not move
The Windows Update Status indicator runs, but shows no activity or
The Windows Update Control Panel Page shows a Red-shield icon and warns you should run an update regularly, but it does not actually run the update.

Windows Update may be corrupted.  Microsoft has a utility that can test and fix this problem.  Corruption can especially happen if an older computer is brought online after a long period without updates.

You can run these steps even if you are not sure the symptoms match your problem.  There is no harm, other than taking the time.

These steps resolved the problem on my computer, but expect
to take an hour or more to run -- plus the time it takes to catch-up
on the Windows updates. 

Important Prerequisites:

A.  Confirm the PC's Date and Time are correct.  (Click the time in the lower-right System Tray).  Windows update panics if this is too-far out-of-norm.

B.  If you have not already done so, reboot the PC.

Reason:  Sometimes Windows update needs to update itself before it can update other things and this often requires a reboot.

C.  Check the Windows Update status again, giving it 20 or 30 60 minutes to see if the status changes.  Some updates, such as the Windows 10 Anniversary update, are slow at updating the status.

Windows 10 Update can be found in "Settings", under Updates and Security.  Or use Cortana, searching for "Windows Update", finding "Check for Updates".  For Windows 7, see the Control Panel, Windows Update

D.  If still hung, continue with these steps, which depend on which version of Windows is running.

Decision: What specific version of Windows are you running. 

Launch Windows Explorer (File Explorer, not IE).

In the tree-side, locate "This PC", "My Computer" (or "Computer").
Other-mouse-click "This PC" and choose "Properties" from the context menu. 

Note which Operating System is installed, which Service Pack, and whether it is 32 or 64-bit.

For example:
Windows 10 Home / 64-bit Operating System, x64-based processor - Typical
Windows 7 64-bit
Windows 8 64-bit  SP1

Windows 10,
Windows 8.x,
Windows Server 2012

1.  Run the CMD Prompt as "Administrator"

From the Windows tile-menu (or from Cortana search, search for "CMD"), locate the Command Prompt icon, but do not click to open.
(In Windows 8, open the main Start tile screen and begin typing "CMD")

2.  Other-mouse-click the Command Prompt icon, choose "Run as Administrator". 
DOS runs as an "elevated command."

3.  Type these two commands, pressing Enter after each.  You must be running in Administrator mode.

DISM.exe /Online /Cleanup-image /Scanhealth
DISM.exe /Online /Cleanup-image /Restorehealth

The routines may have hesitations while running and may take several minutes before displaying an ASCII status bar.  Wait for "operation completed successfully".
The hard drive light will show activity even if the status bar does not move. 

 the /ScanHealth step should report something along the lines, 'Repair possible'

4.  When done, close the DOS Command Prompt window "X" or type "exit"

5.  Reboot (more than recommended)

On reboot, Windows may apply an update.

6.  Open the Windows "Settings" menu, run Update & Security manually; click "Check for Updates". 

Windows 7.x,
Vista, or
Server 2008

1.  Using Internet Explorer (it must be IE), go to this site:

2.  Scroll to the Windows (7) section.

3.  Download and run the correct version (noting which version of Windows, 32 or 64-bit, etc.).

Installng and running will take up to an hour and may have long hesitations on the status bar -- allow it to complete; note the hard drive light will be busy even if the status bar does not move.  Microsoft notes this tool, the "Windows Update Standalone Installer" is updated regularly and you should always use the most current version, as downloaded.

4.  Open the Control Panel and run Windows Update again.  The problem should be resolved.  As always, wait a respectable amount of time to give slower-updates time to update the status indicator.

If you are still having problems:

This low-risk solution has been reported to help, although I have not needed this in my experience.

a.  Start an elevated Command Prompt:  (From the Start-menu, 'other-mouse-click' the Command Prompt icon, choose "Run as Administrator")

b.  Type this command and press Enter. 

netsh winhttp reset proxy

c.  Attempt Windows Update again.

d.  Consider stopping Netflix and other streaming services while running large updates and patches.

Related articles: 
Windows 8.1 Upgrade not in Windows Store
Delete Windows.old after upgrading to Windows 8.1

Thursday, September 1, 2016

Disable Third-Party Cookies in all Browsers

How-to: Disable 3rd party cookies in all browsers.

Do these steps to help mitigate advertising and tracking cookies.  This is recommended for all computer users.

Steps vary by browser:

FireFox Version 40+

1.  Click the Hamburger menu, "Options"
2.  In Privacy

     [X] Accept Cookies from sites
     Accept third-party cookies:  Never
     Keep until: "I close Firefox"

Third-party cookies default to "Always".  If you chose to keep this value, at the very least, "Keep until I close Firefox"


By default, Chrome is set properly, per my recommendations.  Confirm with these steps:

1. Click the Hamburger menu, "Settings"
2.  Click the "Advanced Settings" link, bottom of page

3.  In the Privacy section, click "Content settings..."
4.  Set these options

Select [X] Allow local data to be set (recommended) - The default
Select [X] Block third-party cookies and site data  (default)

Microsoft Edge  (Windows 10)

1.  Click the ellipsis, upper-right, "Settings"
2.  In Settings, scroll down and click "View advanced settings"
3.  Set "Block only third-party cookies"

Internet Explorer (Windows 10)

1.  Click the Gear icon (Settings)
2.  In the [Privacy] tab, click "Advanced"
3.  In Third-party Cookies, select "Block"