Deploy Microsoft 365 with Group Policy Without Local Admin Rights
Question details
An administrator wants to deploy Microsoft 365 to computers without giving users local administrator rights or asking them to run an elevated command.

- Product
- Microsoft 365 Apps and Office Deployment Tool
- Device & OS
- not provided
- Scenario
- Deploy Microsoft 365 Apps to domain-managed computers through Group Policy without requiring an interactive user sign-in.
- Observed behavior
- The desired deployment runs with system permissions at computer startup rather than relying on a user's administrator permissions.
Prepare the Office Deployment Tool and a configuration XML for the Microsoft 365 Apps edition, language, and update settings you need. Ensure target computers are in scope for the Group Policy and that their computer accounts can read the deployment files and installation source.
Deploy Microsoft 365 with a Group Policy startup script
Use a computer startup script to run the Office Deployment Tool under the local system account, without requiring users to sign in or have administrator rights.
Place the Office Deployment Tool setup.exe and your configuration.xml in a network share. If the XML points to a local installation source, place the Office installation files there too; otherwise, ensure the computers can reach the configured download source.
In the share and NTFS permissions, grant the target computer accounts, or an appropriate group such as Domain Computers, read access to the deployment files and any network installation source.
Create a .cmd file containing a command such as "\\server\share\Office\setup.exe" /configure "\\server\share\Office\configuration.xml". Replace both paths with the locations of your deployment files.
In Group Policy Management, create or edit a GPO linked to the organizational unit containing the target computers. Go to Computer Configuration > Policies > Windows Settings > Scripts (Startup/Shutdown) > Startup, select Add, and specify the .cmd script.
Restart a test computer after the policy applies. Check that Microsoft 365 Apps is installed and review the startup script and Office deployment logs if installation does not complete.

Use WPS Office as an alternative to Microsoft 365 Apps
WPS Office is a free, lightweight alternative with a familiar interface for working on Office documents. Its format compatibility can help users move existing files without starting over, though it does not deploy or manage Microsoft 365 Apps.

Frequently Asked Questions
Do users need to log in for the startup script to run?
No. A script assigned under Computer Configuration > Policies > Windows Settings > Scripts (Startup/Shutdown) runs at computer startup under the local system account.
Why can't the startup script access the network share?
Check that the computer accounts have read access in both the share and NTFS permissions and that the network is available when the script runs. The script does not use the signed-in user's permissions.
Where do I choose which Microsoft 365 Apps to install?
Define the products, languages, update settings, and other deployment options in the Office Deployment Tool configuration XML, then pass that file to setup.exe with the /configure command.
Does installation automatically activate Microsoft 365 Apps?
Not necessarily. Activation depends on your organization's licensing and configuration; users may need to sign in with an account that has an eligible license.




