SOLUTION: “Windows cannot connect to the printer. Operation failed with error 0x0000011b”

Well, it’s not often I bother to write up a new blog post these days, but when I do, you know it’s something particularly irritating that I’ve decided to save you the trouble of solving on your own. This problem absolutely qualifies.

When attempting to share a printer over the network from one Windows 10/11 machine to other Windows 10/11 machines, the above error now often appears.

Myriad “solutions” across the internet exist, most of which involve uninstalling particular Windows hotfixes (KBxxxxxx) or manually adding the printer port. Problem is, none of these solutions actually work anymore. The problem was initially caused by Microsoft’s need to patch PrintNightmare and other related vulnerabilities in the Windows printer subsystem. These workarounds previously sufficed, but some situations require a more surgical approach now. Because if you attempt to simply roll back the patches, not only is that a temporary solution, it actually winds up forcing an install of the generic Microsoft Enhanced Point and Print driver instead of the correct one for the printer… which results in endless pages of gibberish being printed instead.

So here’s the actual solution: manually configuring group policies on affected machines (both client and “server”). The way to accomplish this is by using registry edits, because on any machine not running “Pro” editions of Windows, the Group Policy editor is MIA.

After lots of trial and error, here is the final version of the registry patch I used on all affected machines (again, client and server/sharing machine) to correct the problem. Simply reboot after applying the patch, reinstall the printer (by discovering over the network via Windows Explorer > Network on the client workstations), and you’re done.

Open Notepad, and save a new .reg file with the following contents:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\Printers\PointAndPrint]
"InForest"=dword:00000000
"NoWarningNoElevationOnInstall"=dword:00000001
"Restricted"=dword:00000001
"TrustedServers"=dword:00000001
"UpdatePromptSettings"=dword:00000002
"RestrictDriverInstallationToAdministrators"=dword:00000000

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Print]
"RpcAuthnLevelPrivacyEnabled"=dword:00000000

Then merge the changes with the local registry by double-clicking the new .reg file and you’re done. Needless to say, to reverse the changes, simply delete the new keys this adds (though there is no reason to do so).

Enjoy, and you’re welcome! 😉

SOLUTION: Windows 10 upgrade failure 0x8007001F – 0x20006

This week, a client brought me a Windows 7 PC which refused to upgrade to Windows 10, despite their having reserved a license long ago for the OS and attempting to install it repeatedly. The error message they were receiving was:

0x8007001F – 0x20006
The installation failed in the SAFE_OS phase with an error during REPLICATE_OC operation

A screenshot of the setup error message which repeatedly plagued this machine

My usual remedial measures, after poring through setup error logs and all that fun stuff, were completely unsuccessful in this instance. Myriad internet searches also turned up lots of other people with the same problem, but no actual solution. Everyone simply wiped/reinstalled Windows.

Some of these attempts included:

  • sfc /scannow
  • BCD rebuild
  • Boot parameters rebuild
  • System (boot) partition rebuild
  • Filesystem checks, etc
  • Permissions repairs

Nothing at all worked. Eventually, however, I stumbled across a solution almost too simple to seem likely to work: an in-place upgrade of Windows 7. In other words, in colloquial terms, a conventional “repair install”.

All this involves is to grab Windows 7 install media matching the version installed and perform an “upgrade” process right from within Windows. Once complete, I had to reenter the Product Key and reactivate – so make sure the sticker is legible on the particular machine you’re working with. If it isn’t, specialized activation backup/restore methods will be required to continue with the process and eventually the Windows 10 upgrade.

After this, everything worked perfectly. The W10 upgrade process was smooth, and the client is now happy as a clam!

SOLUTION: Black screen on boot with mouse cursor, Windows 10 Fall Creators Update [Build 1709]

Recently, I’ve seen more and more machines (still a small amount, but an increasing number seemingly) with a problem upon boot following some recent updates to the Windows 10 Build 1709 subsystem.  Specifically, these machines hang on boot at a black screen following the Welcome/login screen with only the mouse cursor present for anywhere from a few to several minutes.  Task Manager can be invoked and CTRL+ALT+DEL still works, but the machine will not operate normally with the usual Windows shell interface (explorer.exe GUI etc.) until the process sees itself through to fruition.  This happens at each and every boot.

Microsoft has indeed acknowledged this issue, blaming it on some rogue registry keys supposedly put in place by some OEMs which are incompatible with the latest builds of Windows 10.  However, I’ve come to doubt that explanation, as the fix they provide in the relevant KB article has not yet once worked on any of my clients’ machines, and another, more foolproof fix has instead corrected the problem.

This is the service which causes all of these headaches.

This is the service which causes all of these headaches.

A while back, people discovered that the singular service responsible for this behavior is the App Readiness service, which prepares user data the first time a user logs on following the installation or update of a Windows Store app.  Disabling this service does correct the problem.  If you experience this exact behavior, I have what is likely a permanent fix for you however, and best of all, it’s easy.


First, determine if this particular problem applies to your machine. Lots of things can lead to hangs during the boot process, so before you proceed further, it’s a good idea to ensure that the App Readiness hang is actually what is afflicting you:

  1. Boot the machine normally.
  2. During the hang at the black screen, press CTRL+SHIFT+ESC to bring up Task Manager.
  3. Choose File > Run New Task.
  4. Type msconfig and press ENTER.
  5. Click the Services tab, uncheck App Readiness, and click OK.
  6. Either wait out the rest of the boot procedure and then reboot your PC, or force a reboot by returning to Task Manger and running this task: shutdown -r -t 0
  7. Upon reboot, if the problem disappears, this is indeed your issue.
  8. If the problem is solved, next reverse the procedure by rerunning msconfig and rechecking the box next to App Readiness.  Reboot again and allow the slow boot procedure to complete.

The reason you need to reenable App Readiness is that without it, the next steps will fail.

You can also disable the service via the standard services.msc snap-in interface if you prefer that.

You can also disable the service via the standard services.msc snap-in interface if you prefer that.

Once the diagnosis is complete, the next step is easy.

  1. Obtain Windows 10 Fall Creators Update (Build 1709) or later installation media directly from Microsoft’s software download website (update May 2018: the latest build is now 1803, the April Update). Try using the “Download Tool Now” button method and creating an installation DVD first, as this procedure is more likely to succeed.
  2. Once you have created the DVD, run the setup process from the DVD and choose to upgrade Windows while retaining all apps and user data.  This process is called an in-place upgrade as has been available for many years now within Windows (barring a short hiatus).
    1. If a DVD drive is not available, you can simply mount the resulting ISO file and install it from the virtually mounted ISO.
    2. If both of these methods fail, you can try using the Windows 10 Update Assistant tool from that same webpage instead.
  3. See the installation through to completion.
  4. Once finished, reboot and see if the problem is fixed.  It should be!

I hope this helps restore sanity to someone’s computing life.

SOLUTION: Cannot Uninstall Microsoft Security Essentials from Windows 10

Recently, I encountered two different workstations that had upgraded to Windows 10 from Windows 7 on which Microsoft Security Essentials inexplicably was not uninstalled during the upgrade process by Windows Setup.  This is baffling, because MSSE isn’t designed to work with Windows 10 (it doesn’t work), and plus, it precludes the use of Windows Defender, which is essentially the Windows 10 upgraded equivalent of MSSE.

If you’re in the same situation, you’ll also discover that it is impossible to remove Microsoft Security Essentials from Programs and Features; when attempting to do so, you simply receive a generic message which states “You don’t need to install Microsoft Security Essentials.”  That’s great, Microsoft, because we don’t want to install it, we want to uninstall it.

Anyway, the solution to this problem is actually quite simple:

  1. Press Windows Key + R to open the Run dialog.
  2. In the Open: field, type:
    • explorer “%PROGRAMFILES%\Microsoft Security Client\”
      and press ENTER.
  3. Highlight the file Setup.exe, right-click it, and choose Properties.
  4. Choose Compatibility.
  5. Click Change settings for all users.
  6. Check the box next to Run this program in compatibility mode for: and choose Windows 7 from the drop-down box.
  7. Click OK on all dialogue boxes to exit all windows.
  8. In the search box at the bottom of the screen, type cmd. At the top of the pop-up window, underneath the heading Best matchright-click Command Prompt and choose Run as administrator.
  9. In the Command Prompt window that opens, type the following command:
    • “%PROGRAMFILES%\Microsoft Security Client\setup.exe” /x /disableoslimit
  10. Follow the instructions to uninstall.

That’s it!

Special thanks to corrado_boy_g60 at the Microsoft Community for information leading to this solution.

SOLUTION: Windows 10 Start Menu text is unreadable / too dark

This problem seems to affect primarily Haswell-based notebooks with Intel HD Graphics drivers in use.  I have not yet seen it affect Broadwell chipsets, but it may.

The issue is that the Start Menu text is too dark — and in fact, it becomes gradually darker — and illegible, fading into the background of the Start Menu.  While it seems likely that a Windows 10 setting (or theme) should be to blame, it actually is neither.

The problem is the Intel Graphics driver, which includes a setting that purports to implement application-specific fixes.  To correct the problem, all you have to do is disable the setting and reboot the PC:

  1. Right-click the Desktop and choose Graphics Properties…
  2. Choose 3D.
  3. Under Application Optimal Mode, click Disable.
  4. Reboot the PC.

The problem is solved!

It’s likely in the future that Intel will correct their driver optimization presets for the Windows 10 desktop windows manager / Explorer.exe, but until that day, this is the correct workaround.