Unlock the reading pane in outlook 2016

0

How do you write a script to change a registry key? What I am trying to do is have a script I can run to unlock the reading pane in outlook 2016.

The path of the registry key is:

Computer\HKEY_CURRENT_USER\Software\Policies\Microsoft\office\16.0\outlook\options disablereadingpane REG_DWORD 0x00000001 (1)

And I need to change the 1 to a 0. In the 0x00000001

Any help getting started with this would be greatly appreciated.

powershell
cmd
outlook
registry
regedit
asked on Stack Overflow May 16, 2018 by David Brierton • edited May 16, 2018 by David Brierton

2 Answers

1

My comment was faulty it's add not edit.

reg.exe is the command line registry manipulation tool. See reg.exe /?

You may first check if the key exists and what value / data it has.

Reg Query "HKCU\Software\Policies\Microsoft\office\16.0\outlook\options"

To adda key/value/data pair

Reg add "HKCU\Software\Policies\Microsoft\office\16.0\outlook\options" /v disablereadingpane /t REG_DWORD /d 0x0

optionally you may add a /f force option to overwrte current content.

answered on Stack Overflow May 16, 2018 by LotPings
1

I think you're looking for something like this, if you're using powershell. It's pretty self explanatory

Set-ItemProperty -Path HKCU:\Software\Policies\Microsoft\office\16.0\outlook\options -Name disablereadingpane -Value 0
answered on Stack Overflow May 16, 2018 by cet51

User contributions licensed under CC BY-SA 3.0