Skip to main content
Participant
February 15, 2024
Answered

Enable "allow scripts to write file and access network" via script or with installation

  • February 15, 2024
  • 1 reply
  • 1851 views

Hello,

 

is there a way to enable "allow scripts to write file and access network" via a script (.bat or something) or checked as default? I need to install a Plug-in on multiple clients that have no administration rights... is there a way i can solve this problem?

This topic has been closed for replies.
Correct answer Alex White

You need to find the following file:

macOS:

/Users/admin/Library/Preferences/Adobe/After Effects/24.0/Adobe After Effects 24.0 Prefs.txt

Windows:

C:\Users\admin\AppData\Roaming\Adobe\After Effects\24.0\Adobe After Effects 24.0 Prefs.txt

 

And under the ["Main Pref Section v2"] section set the"Pref_SCRIPTING_FILE_NETWORK_SECURITY" prop to "1":

 

So it would be :

"Pref_SCRIPTING_FILE_NETWORK_SECURITY" = "1"

 

Note that you need to do that with After Effects closed because otherwise After Effects would overwrite the settings on close with loaded settings.

 

1 reply

Alex White
Legend
February 15, 2024

You can try to write a .vbs or .bat file to do that, but it will also require admin rights to modify the settings. 

Participant
February 15, 2024

understood but how can i adress the option to check the radiobutton via script? like where do i find the name oder the ID of this option?

Alex White
Alex WhiteCorrect answer
Legend
February 15, 2024

You need to find the following file:

macOS:

/Users/admin/Library/Preferences/Adobe/After Effects/24.0/Adobe After Effects 24.0 Prefs.txt

Windows:

C:\Users\admin\AppData\Roaming\Adobe\After Effects\24.0\Adobe After Effects 24.0 Prefs.txt

 

And under the ["Main Pref Section v2"] section set the"Pref_SCRIPTING_FILE_NETWORK_SECURITY" prop to "1":

 

So it would be :

"Pref_SCRIPTING_FILE_NETWORK_SECURITY" = "1"

 

Note that you need to do that with After Effects closed because otherwise After Effects would overwrite the settings on close with loaded settings.