Share via

Teams install hell

Anonymous
2018-08-16T07:49:00+00:00

Hey

I have been trying to install Teams on my work machine (I have admin rights). Added all the possibilites to Group Policy but it still fails, see below, sorry it is so long!:

2018-08-16 08:06:33> Program: Starting Squirrel Updater: --install . --rerunningWithoutUAC

2018-08-16 08:06:33> Program: Starting install, writing to C:\Users\admn0835\AppData\Local\SquirrelTemp

2018-08-16 08:06:33> UpdateManager: using rootAppDirecotry: C:\Users\admn0835\AppData\Local\Microsoft\Teams

2018-08-16 08:06:33> Program: About to install to: C:\Users\admn0835\AppData\Local\Microsoft\Teams

2018-08-16 08:06:34> CheckForUpdateImpl: Couldn't write out staging user ID, this user probably shouldn't get beta anything: System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\admn0835\AppData\Local\Microsoft\Teams\packages.betaId'.

   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)

   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)

   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)

   at System.IO.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost)

   at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost)

   at System.IO.File.InternalWriteAllText(String path, String contents, Encoding encoding, Boolean checkHost)

   at System.IO.File.WriteAllText(String path, String contents, Encoding encoding)

   at Squirrel.UpdateManager.CheckForUpdateImpl.getOrCreateStagedUserId()

2018-08-16 08:06:34> CheckForUpdateImpl: Failed to load local releases, starting from scratch: System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\admn0835\AppData\Local\Microsoft\Teams\packages\RELEASES'.

   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)

   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)

   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)

   at Squirrel.Utility.LoadLocalReleases(String localReleaseFile)

   at Squirrel.UpdateManager.CheckForUpdateImpl.<CheckForUpdate>d__43.MoveNext()

2018-08-16 08:06:34> CheckForUpdateImpl: Reading RELEASES file from C:\Users\admn0835\AppData\Local\SquirrelTemp

2018-08-16 08:06:34> CheckForUpdateImpl: First run or local directory is corrupt, starting from scratch

2018-08-16 08:06:34> ApplyReleasesImpl: getting squirrel aware apps failed with exception Could not find a part of the path 'C:\Users\admn0835\AppData\Local\Microsoft\Teams\current'.

2018-08-16 08:06:34> ApplyReleasesImpl: Writing files to app directory: C:\Users\admn0835\AppData\Local\Microsoft\Teams\current

2018-08-16 08:06:36> ApplyReleasesImpl: Squirrel Enabled Apps: [C:\Users\admn0835\AppData\Local\Microsoft\Teams\current\Teams.exe]

2018-08-16 08:06:40> ApplyReleasesImpl: Couldn't run Squirrel hook, continuing: C:\Users\admn0835\AppData\Local\Microsoft\Teams\current\Teams.exe: System.ComponentModel.Win32Exception (0x80004005): This program is blocked by group policy. For more information, contact your system administrator

   at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)

   at System.Diagnostics.Process.Start()

   at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)

   at Squirrel.Utility.<InvokeProcessAsync>d__11.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClasscf.<<invokePostInstall>b__c3>d__d1.MoveNext()

2018-08-16 08:06:41> IEnableLogger: Failed to invoke post-install: System.ComponentModel.Win32Exception (0x80004005): This program is blocked by group policy. For more information, contact your system administrator

   at System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo)

   at System.Diagnostics.Process.Start()

   at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)

   at Squirrel.UpdateManager.ApplyReleasesImpl.<invokePostInstall>b__c9(ProcessStartInfo info)

   at Squirrel.EnumerableExtensions.ForEachTSource

   at Squirrel.UpdateManager.ApplyReleasesImpl.<invokePostInstall>d__d5.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at Squirrel.Utility.<LogIfThrows>d__5f.MoveNext()

2018-08-16 08:06:41> Unhandled exception: System.AggregateException: One or more errors occurred. ---> System.ComponentModel.Win32Exception: This program is blocked by group policy. For more information, contact your system administrator

   at System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo)

   at System.Diagnostics.Process.Start()

   at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)

   at Squirrel.UpdateManager.ApplyReleasesImpl.<invokePostInstall>b__c9(ProcessStartInfo info)

   at Squirrel.EnumerableExtensions.ForEachTSource

   at Squirrel.UpdateManager.ApplyReleasesImpl.<invokePostInstall>d__d5.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at Squirrel.Utility.<LogIfThrows>d__5f.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)

   at Squirrel.UpdateManager.ApplyReleasesImpl.<ApplyReleases>d__7f.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at Squirrel.UpdateManager.<FullInstall>d__f.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)

   at Squirrel.Update.Program.<Install>d__3e.MoveNext()

   --- End of inner exception stack trace ---

   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)

   at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)

   at System.Threading.Tasks.Task.Wait()

   at Squirrel.Update.Program.executeCommandLine(String[] args)

   at Squirrel.Update.Program.main(String[] args)

---> (Inner Exception #0) System.ComponentModel.Win32Exception (0x80004005): This program is blocked by group policy. For more information, contact your system administrator

   at System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo)

   at System.Diagnostics.Process.Start()

   at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)

   at Squirrel.UpdateManager.ApplyReleasesImpl.<invokePostInstall>b__c9(ProcessStartInfo info)

   at Squirrel.EnumerableExtensions.ForEachTSource

   at Squirrel.UpdateManager.ApplyReleasesImpl.<invokePostInstall>d__d5.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at Squirrel.Utility.<LogIfThrows>d__5f.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)

   at Squirrel.UpdateManager.ApplyReleasesImpl.<ApplyReleases>d__7f.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at Squirrel.UpdateManager.<FullInstall>d__f.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)

   at Squirrel.Update.Program.<Install>d__3e.MoveNext()<---

2018-08-16 08:08:50> Program: Starting Squirrel Updater: --install . --rerunningWithoutUAC

2018-08-16 08:08:51> Program: Starting install, writing to C:\Users\admn0835\AppData\Local\SquirrelTemp

2018-08-16 08:08:51> UpdateManager: using rootAppDirecotry: C:\Users\admn0835\AppData\Local\Microsoft\Teams

2018-08-16 08:08:51> Program: About to install to: C:\Users\admn0835\AppData\Local\Microsoft\Teams

2018-08-16 08:08:51> Program: Install path C:\Users\admn0835\AppData\Local\Microsoft\Teams already exists, burning it to the ground

2018-08-16 08:08:53> CheckForUpdateImpl: Couldn't write out staging user ID, this user probably shouldn't get beta anything: System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\admn0835\AppData\Local\Microsoft\Teams\packages.betaId'.

   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)

   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)

   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)

   at System.IO.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost)

   at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost)

   at System.IO.File.InternalWriteAllText(String path, String contents, Encoding encoding, Boolean checkHost)

   at System.IO.File.WriteAllText(String path, String contents, Encoding encoding)

   at Squirrel.UpdateManager.CheckForUpdateImpl.getOrCreateStagedUserId()

2018-08-16 08:08:53> CheckForUpdateImpl: Failed to load local releases, starting from scratch: System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\admn0835\AppData\Local\Microsoft\Teams\packages\RELEASES'.

   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)

   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)

   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)

   at Squirrel.Utility.LoadLocalReleases(String localReleaseFile)

   at Squirrel.UpdateManager.CheckForUpdateImpl.<CheckForUpdate>d__43.MoveNext()

2018-08-16 08:08:53> CheckForUpdateImpl: Reading RELEASES file from C:\Users\admn0835\AppData\Local\SquirrelTemp

2018-08-16 08:08:53> CheckForUpdateImpl: First run or local directory is corrupt, starting from scratch

2018-08-16 08:08:53> ApplyReleasesImpl: getting squirrel aware apps failed with exception Could not find a part of the path 'C:\Users\admn0835\AppData\Local\Microsoft\Teams\current'.

2018-08-16 08:08:53> ApplyReleasesImpl: Writing files to app directory: C:\Users\admn0835\AppData\Local\Microsoft\Teams\current

2018-08-16 08:08:55> ApplyReleasesImpl: Squirrel Enabled Apps: [C:\Users\admn0835\AppData\Local\Microsoft\Teams\current\Teams.exe]

2018-08-16 08:08:58> ApplyReleasesImpl: Couldn't run Squirrel hook, continuing: C:\Users\admn0835\AppData\Local\Microsoft\Teams\current\Teams.exe: System.ComponentModel.Win32Exception (0x80004005): This program is blocked by group policy. For more information, contact your system administrator

   at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)

   at System.Diagnostics.Process.Start()

   at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)

   at Squirrel.Utility.<InvokeProcessAsync>d__11.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClasscf.<<invokePostInstall>b__c3>d__d1.MoveNext()

2018-08-16 08:08:59> IEnableLogger: Failed to invoke post-install: System.ComponentModel.Win32Exception (0x80004005): This program is blocked by group policy. For more information, contact your system administrator

   at System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo)

   at System.Diagnostics.Process.Start()

   at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)

   at Squirrel.UpdateManager.ApplyReleasesImpl.<invokePostInstall>b__c9(ProcessStartInfo info)

   at Squirrel.EnumerableExtensions.ForEachTSource

   at Squirrel.UpdateManager.ApplyReleasesImpl.<invokePostInstall>d__d5.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at Squirrel.Utility.<LogIfThrows>d__5f.MoveNext()

2018-08-16 08:08:59> Unhandled exception: System.AggregateException: One or more errors occurred. ---> System.ComponentModel.Win32Exception: This program is blocked by group policy. For more information, contact your system administrator

   at System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo)

   at System.Diagnostics.Process.Start()

   at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)

   at Squirrel.UpdateManager.ApplyReleasesImpl.<invokePostInstall>b__c9(ProcessStartInfo info)

   at Squirrel.EnumerableExtensions.ForEachTSource

   at Squirrel.UpdateManager.ApplyReleasesImpl.<invokePostInstall>d__d5.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at Squirrel.Utility.<LogIfThrows>d__5f.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)

   at Squirrel.UpdateManager.ApplyReleasesImpl.<ApplyReleases>d__7f.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at Squirrel.UpdateManager.<FullInstall>d__f.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)

   at Squirrel.Update.Program.<Install>d__3e.MoveNext()

   --- End of inner exception stack trace ---

   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)

   at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)

   at System.Threading.Tasks.Task.Wait()

   at Squirrel.Update.Program.executeCommandLine(String[] args)

   at Squirrel.Update.Program.main(String[] args)

---> (Inner Exception #0) System.ComponentModel.Win32Exception (0x80004005): This program is blocked by group policy. For more information, contact your system administrator

   at System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo)

   at System.Diagnostics.Process.Start()

   at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)

   at Squirrel.UpdateManager.ApplyReleasesImpl.<invokePostInstall>b__c9(ProcessStartInfo info)

   at Squirrel.EnumerableExtensions.ForEachTSource

   at Squirrel.UpdateManager.ApplyReleasesImpl.<invokePostInstall>d__d5.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at Squirrel.Utility.<LogIfThrows>d__5f.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)

   at Squirrel.UpdateManager.ApplyReleasesImpl.<ApplyReleases>d__7f.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at Squirrel.UpdateManager.<FullInstall>d__f.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)

   at Squirrel.Update.Program.<Install>d__3e.MoveNext()<---

2018-08-16 08:18:39> Program: Starting Squirrel Updater: --install . --rerunningWithoutUAC

2018-08-16 08:18:39> Program: Starting install, writing to C:\Users\admn0835\AppData\Local\SquirrelTemp

2018-08-16 08:18:39> UpdateManager: using rootAppDirecotry: C:\Users\admn0835\AppData\Local\Microsoft\Teams

2018-08-16 08:18:39> Program: About to install to: C:\Users\admn0835\AppData\Local\Microsoft\Teams

2018-08-16 08:18:39> Program: Install path C:\Users\admn0835\AppData\Local\Microsoft\Teams already exists, burning it to the ground

2018-08-16 08:18:41> CheckForUpdateImpl: Couldn't write out staging user ID, this user probably shouldn't get beta anything: System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\admn0835\AppData\Local\Microsoft\Teams\packages.betaId'.

   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)

   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)

   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)

   at System.IO.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost)

   at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost)

   at System.IO.File.InternalWriteAllText(String path, String contents, Encoding encoding, Boolean checkHost)

   at System.IO.File.WriteAllText(String path, String contents, Encoding encoding)

   at Squirrel.UpdateManager.CheckForUpdateImpl.getOrCreateStagedUserId()

2018-08-16 08:18:41> CheckForUpdateImpl: Failed to load local releases, starting from scratch: System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\admn0835\AppData\Local\Microsoft\Teams\packages\RELEASES'.

   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)

   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)

   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)

   at Squirrel.Utility.LoadLocalReleases(String localReleaseFile)

   at Squirrel.UpdateManager.CheckForUpdateImpl.<CheckForUpdate>d__43.MoveNext()

2018-08-16 08:18:41> CheckForUpdateImpl: Reading RELEASES file from C:\Users\admn0835\AppData\Local\SquirrelTemp

2018-08-16 08:18:41> CheckForUpdateImpl: First run or local directory is corrupt, starting from scratch

2018-08-16 08:18:41> ApplyReleasesImpl: getting squirrel aware apps failed with exception Could not find a part of the path 'C:\Users\admn0835\AppData\Local\Microsoft\Teams\current'.

2018-08-16 08:18:41> ApplyReleasesImpl: Writing files to app directory: C:\Users\admn0835\AppData\Local\Microsoft\Teams\current

2018-08-16 08:18:43> ApplyReleasesImpl: Squirrel Enabled Apps: [C:\Users\admn0835\AppData\Local\Microsoft\Teams\current\Teams.exe]

2018-08-16 08:18:46> ApplyReleasesImpl: Couldn't run Squirrel hook, continuing: C:\Users\admn0835\AppData\Local\Microsoft\Teams\current\Teams.exe: System.ComponentModel.Win32Exception (0x80004005): This program is blocked by group policy. For more information, contact your system administrator

   at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)

   at System.Diagnostics.Process.Start()

   at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)

   at Squirrel.Utility.<InvokeProcessAsync>d__11.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClasscf.<<invokePostInstall>b__c3>d__d1.MoveNext()

2018-08-16 08:18:47> IEnableLogger: Failed to invoke post-install: System.ComponentModel.Win32Exception (0x80004005): This program is blocked by group policy. For more information, contact your system administrator

   at System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo)

   at System.Diagnostics.Process.Start()

   at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)

   at Squirrel.UpdateManager.ApplyReleasesImpl.<invokePostInstall>b__c9(ProcessStartInfo info)

   at Squirrel.EnumerableExtensions.ForEachTSource

   at Squirrel.UpdateManager.ApplyReleasesImpl.<invokePostInstall>d__d5.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at Squirrel.Utility.<LogIfThrows>d__5f.MoveNext()

2018-08-16 08:18:47> Unhandled exception: System.AggregateException: One or more errors occurred. ---> System.ComponentModel.Win32Exception: This program is blocked by group policy. For more information, contact your system administrator

   at System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo)

   at System.Diagnostics.Process.Start()

   at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)

   at Squirrel.UpdateManager.ApplyReleasesImpl.<invokePostInstall>b__c9(ProcessStartInfo info)

   at Squirrel.EnumerableExtensions.ForEachTSource

   at Squirrel.UpdateManager.ApplyReleasesImpl.<invokePostInstall>d__d5.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at Squirrel.Utility.<LogIfThrows>d__5f.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)

   at Squirrel.UpdateManager.ApplyReleasesImpl.<ApplyReleases>d__7f.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at Squirrel.UpdateManager.<FullInstall>d__f.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)

   at Squirrel.Update.Program.<Install>d__3e.MoveNext()

   --- End of inner exception stack trace ---

   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)

   at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)

   at System.Threading.Tasks.Task.Wait()

   at Squirrel.Update.Program.executeCommandLine(String[] args)

   at Squirrel.Update.Program.main(String[] args)

---> (Inner Exception #0) System.ComponentModel.Win32Exception (0x80004005): This program is blocked by group policy. For more information, contact your system administrator

   at System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo)

   at System.Diagnostics.Process.Start()

   at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)

   at Squirrel.UpdateManager.ApplyReleasesImpl.<invokePostInstall>b__c9(ProcessStartInfo info)

   at Squirrel.EnumerableExtensions.ForEachTSource

   at Squirrel.UpdateManager.ApplyReleasesImpl.<invokePostInstall>d__d5.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at Squirrel.Utility.<LogIfThrows>d__5f.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)

   at Squirrel.UpdateManager.ApplyReleasesImpl.<ApplyReleases>d__7f.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at Squirrel.UpdateManager.<FullInstall>d__f.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)

   at Squirrel.Update.Program.<Install>d__3e.MoveNext()<---

Microsoft 365 and Office | Install, redeem, activate | For home | Other

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

4 answers

Sort by: Most helpful
  1. Anonymous
    2018-08-17T15:02:43+00:00

    Hi Oxfordmark85,

    I have tested and found that it will firstly download the Teams App/program in a certain folder path. After it finishes downloading, you can locate the path to find the downloaded program via "Open in the folder". There you can copy the downloaded program and then paste it into another path (you can even paste it on the desktop). After that, you can double click the program and try installing it. Please check whether it works for you. 

    Meanwhile, it is recommended that you sign into the downloading Teams page with another Office 365 credential (if it is possible, you can try with your colleague's or friend's) to re-isnatll it. 

    Regards,

    Alan

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  2. Anonymous
    2018-08-16T11:18:45+00:00

    Hi Oxfordmark85,

    Greetings. This is Alan Wu from Office 365 forum support and glad to assist you for your case here. 

    Appreciation on your long event history. Via checking it, I have found that it gives the error "couldn't write out the user ID" and "can't find the path" at the beginning. Then it comes to the error "it is blocked by the group policy" and it goes back to the error "couldn't wirite out the user ID"> "can't find the path"> "it is blocked by the group policy". It is recycling there. 

    As you said that you are the admin and you have added the related group policy, then let's focus on the "user ID" and "the path" at this round. Under the current situation, you can try the followings to see if it makes a difference. 

    1. Try with another Office 365 account (if it is possible, you can use your colleague's or friend's).
    2. Change another path (for example, previously, you installed the Teams under the disk C. Now you can install it under disk D or different folder). 

    In addition, I'd like to confirm whether you can sign into the Teams on the web https://products.office.com/en-us/microsoft-teams/group-chat-software (Sign In) via your Office 365 credential. 

    Looking forward to your reply. 

    Regards,

    Alan

    Hey

    When i run the installer i do not get the option to install to a different location.

    I change the installer to C:Temp, it got to loading Teams then vanishes.

    I use the web version already

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  3. Anonymous
    2018-08-18T14:54:52+00:00

    Hi Oxfordmark85,

    Please share with us at your convenience if you got any update. We will continue to assist you if it is necessary.

    Regards,

    Alan

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2018-08-16T10:19:58+00:00

    Hi Oxfordmark85,

    Greetings. This is Alan Wu from Office 365 forum support and glad to assist you for your case here. 

    Appreciation on your long event history. Via checking it, I have found that it gives the error "couldn't write out the user ID" and "can't find the path" at the beginning. Then it comes to the error "it is blocked by the group policy" and it goes back to the error "couldn't wirite out the user ID"> "can't find the path"> "it is blocked by the group policy". It is recycling there. 

    As you said that you are the admin and you have added the related group policy, then let's focus on the "user ID" and "the path" at this round. Under the current situation, you can try the followings to see if it makes a difference. 

    1. Try with another Office 365 account (if it is possible, you can use your colleague's or friend's).
    2. Change another path (for example, previously, you installed the Teams under the disk C. Now you can install it under disk D or different folder). 

    In addition, I'd like to confirm whether you can sign into the Teams on the web https://products.office.com/en-us/microsoft-teams/group-chat-software (Sign In) via your Office 365 credential. 

    Looking forward to your reply. 

    Regards,

    Alan

    Was this answer helpful?

    0 comments No comments