Link to home
Start Free TrialLog in
Avatar of spiga83
spiga83

asked on

Change Outlook options via script

Hi everyone,

I am trying to write a script that changes the programmatic access options in outlook 2013 & 2016.
If you don't know what I am talking about see screenshot attached.
I would like to change it to "Never warn me about suspicious activity (not recommended)"

I don't have administrator rights, so I cannot change it myself.
I was wondering if a script would be able to do this without admin rights.

I have tried the below solution (renamed a .txt file as .reg), but It did not work as it does not allow me to change the registry.


Windows Registry Editor Version 5.00


[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\16.0\Outlook\Security]
"ObjectModelGuard"=dword:00000002

[HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Outlook\Security]
"PromptOOMSend"=dword:00000002
"AdminSecurityMode"=dword:00000003
"promptoomaddressinformationaccess"=dword:00000002
"promptoomaddressbookaccess"=dword:00000002


Please help!
Avatar of Sean
Sean
Flag of United States of America image

What do you mean it doesn't allow you to change the registry? Are you not an admin on the computer?

Seems like this would be a good use for a group policy rather than a script.
In order to be able to modify the HKEY_LOCAL_MACHINE subkeys, you need to have administrator's rights (import *.reg using the elevated command prompt).
Avatar of spiga83
spiga83

ASKER

I don't have admin rights since it's a company's computer and it is locked down... But I thought vbscript could find a back door to the registry and update the value of that option. Just a guess... I don't actually know if that's possible.
No back doors here, sorry.
ASKER CERTIFIED SOLUTION
Avatar of Sean
Sean
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial