How to push Office365 group policy administrative templates (admx) from domain controller to domain computers without adding them locally on every PC?

Félix 21 Reputation points
2022-11-24T17:30:45.713+00:00

I am trying to setup a group policy which prevents Microsoft Teams from launching after installation (user policy). To do this, I had to download the admx files provided by microsoft for Office365 as these are not included by default on Windows 10. How can I push these admx files automatically to all domain computers remotely from our domain controller?

Our domain controller is Windows Server 2008 R2
Our domain computers are on Windows 10 Pro Education 1903

Thanks for your help!

Windows
Windows
A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.
4,740 questions
Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
9,056 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,113 questions
Office Management
Office Management
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Management: The act or process of organizing, handling, directing or controlling something.
2,000 questions
{count} votes

Accepted answer
  1. Wesley Li-MSFT 4,376 Reputation points Microsoft Vendor
    2022-11-25T08:51:25.037+00:00

    Hello

    You can push these admx files through xcopy batch processing, the specific operation method is as follows:

    1. Create a new folder and put these admx files
    2. Share the folder and add everyone access rights
    3. Create a new txt document
    4. Enter xcopy <shared folder path> <target folder path>(c:\windows\PolicyDefinitions) /s
    5. Rename txt to bat
    6. Create a new folder and put the bat file into it
    7. Share this folder and add everyone permissions
    8. Configure Group Policy > Computer Configuration > Policies > Windows Settings > Scripts (Startup/Shutdown) > Startup > Add a shared folder path containing batch files > OK
    9. Automatically push the admx file to the c:\windows\PolicyDefinitions folder after the domain client starts

    Best Regards,
    Wesley Li

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful