Thursday, December 8, 2016

Fixed: Windows 10 Desktop Background Black Screen

My customer has 50,000 or so retail kiosks that they are rebuilding from Windows 7 to Windows 10.  An interesting problem popped up with these.  When we build a Windows 10 machine in the Windows 7 OU, the desktop background doesn't appear.  Instead, we get a black screen.

Odd.

A bunch of troubleshooting later, we discovered that this occurs because Windows 10 can't write to the Hkey_Current_User\Control panel\Desktop section of the registry.  There is a deny permissions entry that forbids it.

How on earth would this setting get there? 

Skip a bunch of troubleshooting, and ... we set it, unintentionally, via GPO.

This comes from a User side Group Policy setting:

Administrative Templates >> Control Panel >> Personalization >>  "Prevent changing desktop background"

This insidious setting creates a deny permissions entry in the registry.  Even worse, this is a tattooed setting.  Removing the GPO does NOT remove it.

(expletive)

Removing the GPO setting caused all of our new machine builds to work properly, but unfortunately does not fix the tattooed broken systems.

To fix the in-state systems we either rebuild them (For us, they are kiosks and this is easy.)  or ...

1. Remove the deny permission entry with a scheduled task script.
2. Change the desktop background to a new background to force it to refresh.

HTH.

Fixed: Office 2016 install hangs when running Setup on Windows 7

My customer is moving to the MSI version of Office 2016, and has hit a painful problem in one of their Windows 7 builds.

We've added the installer to the SCCM machine build task sequence, and it hangs while installing.  Two hours later the task sequence times out, tosses an error, and dies.

I discovered that the Office Installer was running this command:
"C:\WINDOWS\system32\wusa.exe" "hotfixes\Windows6.1-KB2999226-x64.msu"
... and that was causing the Windows update agent to peg a CPU core and do something it never finishes.

The fix for this is easy.  Before running the Office 2016 installer, stop the Windows Update service.  Don't disable it, just stop it.

The command to do this is
"sc stop wuauserv"

The service will automatically restarts on the next reboot, and after the installation I found no other issues with the system.  You can uninstall, reinstall, modify, and update Office normally.