Git Product home page Git Product logo

enableallmacrosoffice365's Introduction

๐Ÿ–ฅ๏ธ Enable all macros within Office 365

What is this?

This script is used to easily configure the enabled state of macros within the Office 365 environment. By default, it reconfigures Outlook, Word, and Excel. It can be easily modified to support other Office 365 applications, or to disable macros instead of enabling them.

It will only configure the currently logged in user. It does not lock the variable in this state, meaning the user can just turn it back off if they want.

๐Ÿš€ How do I use?

Run the script, enablemacros.ps1 as System to reconfigure the current user's registry keys to enable Excel/Word macros automatically.

If you want to disable macros, run disablemacros.ps1 as System. Works same as above, but just disables macros instead, w/o notifying.

It is best used with an RMM (Remote monitoring and management) tool that supports Powershell scripting.

๐Ÿ”“ What are the security implications?

This script is not for regular users; you should only ever implement this in a specific environment where you are using an outdated application that requires macros always on.

๐Ÿ“– Read more about how macros are dangerous.

Of course, you can use the alternate script to disable all macros regardless.

Will this work for ___?

  1. Navigate to "Computer\HKEY_CURRENT_USER\Software\Microsoft\Office" within regedit.
  2. Check Word, Excel, and Outlook for what versions are present on your machine.
  3. If you see "Computer\HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Word\Security" then yes.

You can modify the script to support other versions of Office by changing the "16.0" to whatever version you need. It's super easy.

As of 6/16/2023, the scripts do work for the Office 365 suite.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.