Jump to content

Recommended Posts

Posted (edited)

So i install Office 365 by downloading it then updating the MDT Folder which has the setup, Office files which downloaded and config file

 

then the MDT Task with "setup.exe /configure configuration-Office365-x64.XML"

 

Yesterday all of sudden this has stopped working, nothing has changed GPO wise, tried in a empty Blocked GPO just to check, All other apps are installing ok, i just get it hanging with a Office folder created in program files and some times a download fold with other folders, sometimes has files in exes, dlls, etc, within the downloads folders. Tired a new version of the setup file and new downloaded files. also tried editing the config file to say to use a source folder but never have in the past. also added a restart task before office install to check something wasn't getting stuck, and also different images also the same just hangs on installing office.

Edited by andy_nic
  • 3 weeks later...
Posted

try starting the windows installer service first - TrustedInstaller. it will stop itself randomly as well so we created a 'check if stopped' bit of script.

 

# Start service

$StartServiceJob = {

While (1) {

If((Get-Service -Name TrustedInstaller).Status -ne 'Running') {

Write-Host "$((get-date).ToLongTimeString()) - Starting Trusted Installer service as it was not running. "

Start-Service -Name TrustedInstaller

Get-Service -Name TrustedInstaller

} else {

Write-Host "$((get-date).ToLongTimeString()) - Service already running..."

}

Start-Sleep 10

}

}

 

# Start-Job starts a background job on the local computer that runs a command without interacting with the current session.

Start-Job $StartServiceJob

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...