Deactivate OpenOffice Basic macros and VBS scripts

Issues with installing under all versions of MS Windows
Post Reply
Jam09
Posts: 1
Joined: Thu Oct 17, 2024 1:24 pm

Deactivate OpenOffice Basic macros and VBS scripts

Post by Jam09 »

Hello everyone,
I am currently working on deactivating the execution and editing of macros and VBS scripts system-wide on our terminal server farm.
So far I have tried the following:

1) In the soffice.ini under “*\Programs\OpenOffice\program\soffice.ini” to add the following block:

Code: Select all

[Security]
VbscriptingEnabled=false
JavascriptingEnabled=false
PythonscriptingEnabled=false
ScriptProtectionMode=true
BeansEnabled=false
2) In OpenOffice itself “Tools > Options > Security > Macrosecurity > Very high”.

However, it is still possible for me to go to Tools > Macros > Manage macros ... > OpenOffice Basic ... to write and execute scripts.

I have also noticed that the setting under “Macrossecurity” can be changed independently by each user.

Is there a way to deactivate this editing and execution machine-wide?

We use OpenOffice 4.1.15 and Microsoft Server 2016 / 2019.
OpenOffice 4.1.15
Microsoft Windows Server 2016/Windows Server 2019
User avatar
Zizi64
Volunteer
Posts: 11495
Joined: Wed May 26, 2010 7:55 am
Location: Budapest, Hungary

Re: Deactivate OpenOffice Basic macros and VBS scripts

Post by Zizi64 »

2) In OpenOffice itself “Tools > Options > Security > Macrosecurity > Very high”.
This option is for disable running the macros located in the document, called from the document.

Why you want restrict the rights of the actual User?

Maybe it is simplier to choose an another application for write texts, or calculate tables what have NOT macro feature...
Tibor Kovacs, Hungary; LO7.5.8 /Win7-10 x64Prof.
PortableApps/winPenPack: LO3.3.0-7.6.2;AOO4.1.14
Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.
Post Reply