Registry cannot be found, Outlook Security

noshairwan

New Member
Outlook version
Outlook 2019 64-bit
Email Account
Office 365 Exchange
I'm trying to access my outlook inbox message body via Python. However, it prompts me every time i make a call to it (to either allow to deny). The solution i found online was to edit the following registry.
HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\xx.0\Outlook\Security
I have outlook 2013 (so xx.0 should be 15.0). However, I am unable to find this key. There is no 15.0 under the Office key.
Is there somewhere else I should look? Or do you know another method by which I can access outlook message body via python?
I'm running windows 7 enterprise edition
NOTE: I don't have admin access on this computer as it is a work computer.
 

Diane Poremsky

Senior Member
Outlook version
Outlook 2016 32 bit
Email Account
Office 365 Exchange
If you have a valid and up-to-date antivirus, Outlook shouldn't bring up that dialog. File > Options > Trust Center - under Programmatic Access what does it say?

2019-11-19_07-57-07-0000.png



As for the key...
If the key does not exist, you need to add it - and since keys are not added to the policies path by default, you'll need to create the path.
However, your admin will need to make the change.
 

Lewis-H

Senior Member
Outlook version
Outlook 2016 64 bit
Email Account
Office 365 Exchange
First, consider that the key may not be there because it doesn't need to be there. You don't have any policies currently, so there's no need for the keys. In other words, you'll need to create them.
Second, use ProcMon to watch your Outlook process and see exactly where it's looking for keys like this. You might need a SysWow64 somewhere in that path. Procmon's the quickest way to find out.
Finally, you should clarify which API you're using here. Likely choices are either Simple MAPI or the Outlook Object Model. If the latter, then the proper way to avoid security prompts is to keep you Antivirus up to date since that's what Outlook checks before deciding to prompt. If you're using the OOM and getting prompts, you should check the Trust Center in Outlook to see if what it says about Programmatic Access.
Hope this information helps you!
Regards,
Lewis
 
Thread starter Similar threads Forum Replies Date
J Is it no longer possible to suppress Outlook 2019 Invalid Certificate name mismatch security alert via Registry? Using Outlook 1
O Backup Office settings - registry key Using Outlook 5
Bri the Tech Guy Registry Tweak to make "Run a Script" Action Available Outlook VBA and Custom Forms 2
B Contact Page 2 Combobox via Registry Outlook VBA and Custom Forms 6
D Updating Registry to force new task and note items to save in a particular folder Using Outlook 1
R Outlook Cache Mode Terminalserver disable through Registry Using Outlook 1
D Confirming Exchange account in registry Using Outlook 1
D Outlook 2010 registry hack - delete emails - Google Apps Using Outlook 0
R Change Outlook 2010 Exchange server address via registry or script Using Outlook 5
D Disable Junk Email in the Registry? Using Outlook 8
P outlook setup - embedding images - registry key Using Outlook 1
D Outlook 2003 Email Send/Receive error: The operation failed due a registry or registration problem Using Outlook 3
J How to Find Registry Key Command for Outlook 2010 Issue? Using Outlook 1
M Outlook 2010 cached mode registry entry Using Outlook 2
M Registry repair Using Outlook 1
M Fixing registry Using Outlook 1
M Has anyone had problems with Iphone back-up? Could this damage registry? Using Outlook 1
B Unable to delete registry key for e-mail in Outlook 2003. Using Outlook 2
R Unread mail count in registry not reseting to zero Using Outlook 1
D Trying to eliminate incoming email from being put into 'Large Mail' folder, even if it means editing registry to do so. Using Outlook 5
P Outlook PST Size & Registry Keys Using Outlook 2
M inquiries registry with Outlook Outlook VBA and Custom Forms 1
G Cannot Move Autocomplete File to New Computer Using Outlook 15
rubaboo The vew cannot be found Outlook VBA and Custom Forms 0
A Cannot copy this folder because it may contain private items Using Outlook 0
L Cannot open PST file for first session each day Using Outlook 6
David in Mississippi New (Feb 2020) install of Outlook 365 - Cannot specify PST for different accounts Using Outlook 0
Marc2019 Need help please! Cannot Setup my outlook email account on my Mac Outlook 2011 Using Outlook.com accounts in Outlook 2
Marc2019 Cannot input Vietnamese Characters on my MSOutlook 2016 in Windows 7 Using Outlook 0
T Cannot remove needless PST Using Outlook 1
Marc2019 Cannot setup Outlook Account on Mac Os 10.6.8 Using Outlook 3
N pst files are recreating automaticaly and cannot be deleted Using Outlook 6
Mark Foley Cannot enable add-in in outlook 2010 Using Outlook 0
T "cannot find the calendar folder for this item" - calendar items stuck in outbox Using Outlook 0
A Created a new user account and the local account cannot see email Using Outlook 3
iwshim outlook 2013 - I cannot see the "Manage Add-ins" Using Outlook 2
T Cannot connect to main BT email account, sub accts okay Using Outlook 0
O The page that you are trying to access cannot be loaded. Using Outlook 0
M Daily Task List Minimized Cannot Display Using Outlook 2
geofferyh Cannot get Macro to SAVE more than one message attachment??? Outlook VBA and Custom Forms 5
DariTrevino MIcrosoft Outlook PST file cannot repair Using Outlook 1
B One email cannot be sent or received (but leaves outbox!) Using Outlook 1
C Outlook 2016 cannot delete, email showing in root Exchange Server Administration 5
S Outlook.com cannot edit some contacts Using Outlook.com accounts in Outlook 5
B Search: Cannot find which Folder Contains a Message Using Outlook 3
C Outlook - cannot save subject line changes Using Outlook 2
M cannot change delivery folders with IMAP accounts Using Outlook 0
S Appointment-Cannot set Categories because ConversationID is not set Outlook VBA and Custom Forms 1
Fozzie Bear Cannot post "Sneaky URL"!! Using Outlook.com accounts in Outlook 2
Commodore Search cannot complete the indexing of your Outlook data Using Outlook 6
Similar threads


















































Top