Jump to content

Recommended Posts

Posted

Don't get excited. Sadly there is no group policy available for this. I am hoping someone my have a workaround for this..

 

I have been able to ascertain that the registry entry for the colour scheme is stored in:

 

HKCU:\Software\Microsoft\Office\15.0\Common

Name: UITheme (DWORD)

 

Set to the following to get the theme you want:

 

0 - White

1 - Light Grey

2 - Dark Grey (only bearable one IMO)

 

All great right ? Unfortunately, the value of this key is overwritten when the user opens (e.g) word. This seems to occur where the user would be running through the 'first run' dialog boxes - regardless of whether this behaviour is controlled via GPO. You can actually see the theme get changed as word loads... :(

 

Interestingly, if you alter the theme via the gui, the change persists.

 

I have also altered the registry key with word open. If you then close word and re-open, you can see the change applied again... which makes me think that office must be storing this configuration elswhere - and re-applying the settings on launch...

 

Any ideas anyone. (Please don't say use 2010 :confused: )

Posted
I've not tried this, as I'm the only person using Office 2013 in our school atm, but I'd try making the change whilst having 2 instances of SpyMe Tools open. One monitoring files, and the other registry. That way you'll be able to trace any changes it's making.
  • 3 weeks later...
Posted
Any ideas anyone.

You need to create the following registry value to change the theme in Office 2013. The first set of digits of the hex value is the colour: 00 = White / 01 = Light Grey / 02 = Dark Grey

 

[HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\Common\Roaming\Identities\[color="#FF0000"]domain.internal[/color]_AD\Settings\1170\{00000000-0000-0000-0000-000000000000}\PendingChanges]
"Data"=hex:[color="#FF0000"]02[/color],00,00,00

 

The easiest way to deploy this setting is through Group Policy Preferences...

 

Under [b]User Configuration\Preferences\Registry[/b], create a new [b]Registry Item[/b]:

[b]Action[/b]:         Replace
[b]Hive[/b]:           HKEY_CURRENT_USER
[b]Key Path[/b]:       Software\Microsoft\Office\15.0\Common\Roaming\Identities\%LogonUser%@[color="#FF0000"]domain.internal[/color]_AD\Settings\1170\{00000000-0000-0000-0000-000000000000}\PendingChanges

Note that you can get these special GPP variables by pressing F3 while typing in this field. Also, replace '[color="#FF0000"]domain.internal[/color]' with your own domain.

[b]Value Name[/b]:     Data
[b]Value Type[/b]:     REG_BINARY
[b]Value Data[/b]:     [color="#FF0000"]02[/color]000000

 

* Credit goes to "Vincent Timmermans" on the TechNet forums for finding the above out: http://social.technet.microsoft.com/Forums/office/en-US/0fe6e78a-5f2d-47c8-9a68-db9fc067a05c/various-group-policy-issues-with-office-2013#bffad705-d282-43d2-bb66-74305c4a044c

 

http://i.imgur.com/W14NRrP.png

 

I also created the following PowerShell script that can change the colour.

 

Set-Office2013UIColour.ps1

<#
.SYNOPSIS
   Modifies the current users Microsoft Office 2013 theme.

.PARAMETER Colour
   White, Light Grey or Dark Grey
   
.EXAMPLE
   PS C:\> [b]Set-Office2013UIColour -Colour 'Dark Grey'[/b]
#>

function Set-Office2013UIColour
{
   param (
       [Parameter(Mandatory=$true,
           HelpMessage="Enter a valid colour: White, Light Grey or Dark Grey.")]
       [ValidateSet("White","Light Grey","Dark Grey")]
       [string] $Colour
   )

   $ErrorActionPreference = "SilentlyContinue"

   Push-Location
   Set-Location 'HKCU:\Software\Microsoft\Office\15.0\Common\Roaming\Identities'
   Set-Location (Join-Path * 'Settings\1170\{00000000-0000-0000-0000-000000000000}\PendingChanges' -Resolve)

   switch ($Colour) {
       "White"      { Set-ItemProperty -path . -name "Data" -Value ([byte[]](0x00,0x00,0x00,0x00)) -Force; Break; }
       "Light Grey" { Set-ItemProperty -path . -name "Data" -Value ([byte[]](0x01,0x00,0x00,0x00)) -Force; Break; }
       "Dark Grey"  { Set-ItemProperty -path . -name "Data" -Value ([byte[]](0x02,0x00,0x00,0x00)) -Force; Break; }
   }

   Pop-Location
}

  • Thanks 2
Posted (edited)

Just noticed that I forgot to include the username in the first registry key above. It should look like this... :o

 

[HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\Common\Roaming\Identities\[color="#FF0000"][email protected][/color]_AD\Settings\1170\{00000000-0000-0000-0000-000000000000}\PendingChanges]
"Data"=hex:[color="#FF0000"]02[/color],00,00,00

 

username@domain.internal = the username of the currently logged on user @ your Windows domain.

Edited by Arthur
  • 5 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...