Cannot reinstall Microsoft Teams

%3CLINGO-SUB%20id%3D%22lingo-sub-1348455%22%20slang%3D%22en-US%22%3ECannot%20reinstall%20Microsoft%20Teams%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1348455%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20all%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20am%20facing%20an%20issue%20when%20i%20tried%20to%20reinstall%20Microsoft%20teams%20into%20my%20laptop.%20The%20following%20is%20the%20log%20file%20generated%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E2020-04-30%2008%3A08%3A31%26gt%3B%20Program%3A%20Starting%20Squirrel%20Updater%3A%20--install%20.%20--exeName%3DTeams_windows_x64.exe%3CBR%20%2F%3E2020-04-30%2008%3A08%3A32%26gt%3B%20Program%3A%20Starting%20install%2C%20writing%20to%20C%3A%5CUsers%5CJohnn%5CAppData%5CLocal%5CSquirrelTemp%3CBR%20%2F%3E2020-04-30%2008%3A08%3A32%26gt%3B%20Program%3A%20File%20does%20not%20contain%20contextual%20info%3A%20Teams_windows_x64.exe%3CBR%20%2F%3E2020-04-30%2008%3A08%3A32%26gt%3B%20UpdateManager%3A%20using%20rootAppDirectory%3A%20C%3A%5CUsers%5CJohnn%5CAppData%5CLocal%5CMicrosoft%5CTeams%3CBR%20%2F%3E2020-04-30%2008%3A08%3A32%26gt%3B%20Program%3A%20About%20to%20install%20to%3A%20C%3A%5CUsers%5CJohnn%5CAppData%5CLocal%5CMicrosoft%5CTeams%3CBR%20%2F%3E2020-04-30%2008%3A08%3A32%26gt%3B%20Program%3A%20Install%20path%20C%3A%5CUsers%5CJohnn%5CAppData%5CLocal%5CMicrosoft%5CTeams%20already%20exists%2C%20burning%20it%20to%20the%20ground%3CBR%20%2F%3E2020-04-30%2008%3A08%3A34%26gt%3B%20Program%3A%20Setup.json%20exist%2C%20copying%20over%3CBR%20%2F%3E2020-04-30%2008%3A08%3A34%26gt%3B%20RegistryService%3A%20RegKeyExists%3A%20HKEY_LOCAL_MACHINE%5CSoftware%5CMicrosoft%5CWindows%5CCurrentVersion%5CRun%20does%20not%20have%20TeamsMachineInstaller%3CBR%20%2F%3E2020-04-30%2008%3A08%3A34%26gt%3B%20Program%3A%20CheckMsiAndTryAddInstallSource%3A%20Not%20MSI%2C%20no%20need%20to%20add%20HKEY_CURRENT_USER%5CSoftware%5CMicrosoft%5COffice%5CTeams%5CInstallSource%3CBR%20%2F%3E2020-04-30%2008%3A08%3A34%26gt%3B%20CheckForUpdateImpl%3A%20Couldn't%20write%20out%20staging%20user%20ID%2C%20this%20user%20probably%20shouldn't%20get%20beta%20anything%3A%20System.IO.DirectoryNotFoundException%3A%20Could%20not%20find%20a%20part%20of%20the%20path%20'C%3A%5CUsers%5CJohnn%5CAppData%5CLocal%5CMicrosoft%5CTeams%5Cpackages%5C.betaId'.%3CBR%20%2F%3Eat%20System.IO.__Error.WinIOError(Int32%20errorCode%2C%20String%20maybeFullPath)%3CBR%20%2F%3Eat%20System.IO.FileStream.Init(String%20path%2C%20FileMode%20mode%2C%20FileAccess%20access%2C%20Int32%20rights%2C%20Boolean%20useRights%2C%20FileShare%20share%2C%20Int32%20bufferSize%2C%20FileOptions%20options%2C%20SECURITY_ATTRIBUTES%20secAttrs%2C%20String%20msgPath%2C%20Boolean%20bFromProxy%2C%20Boolean%20useLongPath%2C%20Boolean%20checkHost)%3CBR%20%2F%3Eat%20System.IO.FileStream..ctor(String%20path%2C%20FileMode%20mode%2C%20FileAccess%20access%2C%20FileShare%20share%2C%20Int32%20bufferSize%2C%20FileOptions%20options%2C%20String%20msgPath%2C%20Boolean%20bFromProxy%2C%20Boolean%20useLongPath%2C%20Boolean%20checkHost)%3CBR%20%2F%3Eat%20System.IO.StreamWriter.CreateFile(String%20path%2C%20Boolean%20append%2C%20Boolean%20checkHost)%3CBR%20%2F%3Eat%20System.IO.StreamWriter..ctor(String%20path%2C%20Boolean%20append%2C%20Encoding%20encoding%2C%20Int32%20bufferSize%2C%20Boolean%20checkHost)%3CBR%20%2F%3Eat%20System.IO.File.InternalWriteAllText(String%20path%2C%20String%20contents%2C%20Encoding%20encoding%2C%20Boolean%20checkHost)%3CBR%20%2F%3Eat%20System.IO.File.WriteAllText(String%20path%2C%20String%20contents%2C%20Encoding%20encoding)%3CBR%20%2F%3Eat%20Squirrel.UpdateManager.CheckForUpdateImpl.getOrCreateStagedUserId()%3CBR%20%2F%3E2020-04-30%2008%3A08%3A34%26gt%3B%20CheckForUpdateImpl%3A%20Failed%20to%20load%20local%20releases%2C%20starting%20from%20scratch%3A%20System.IO.DirectoryNotFoundException%3A%20Could%20not%20find%20a%20part%20of%20the%20path%20'C%3A%5CUsers%5CJohnn%5CAppData%5CLocal%5CMicrosoft%5CTeams%5Cpackages%5CRELEASES'.%3CBR%20%2F%3Eat%20System.IO.__Error.WinIOError(Int32%20errorCode%2C%20String%20maybeFullPath)%3CBR%20%2F%3Eat%20System.IO.FileStream.Init(String%20path%2C%20FileMode%20mode%2C%20FileAccess%20access%2C%20Int32%20rights%2C%20Boolean%20useRights%2C%20FileShare%20share%2C%20Int32%20bufferSize%2C%20FileOptions%20options%2C%20SECURITY_ATTRIBUTES%20secAttrs%2C%20String%20msgPath%2C%20Boolean%20bFromProxy%2C%20Boolean%20useLongPath%2C%20Boolean%20checkHost)%3CBR%20%2F%3Eat%20System.IO.FileStream..ctor(String%20path%2C%20FileMode%20mode%2C%20FileAccess%20access%2C%20FileShare%20share)%3CBR%20%2F%3Eat%20Squirrel.Utility.LoadLocalReleases(String%20localReleaseFile)%3CBR%20%2F%3Eat%20Squirrel.UpdateManager.CheckForUpdateImpl.%3CCHECKFORUPDATE%3Ed__2.MoveNext()%3CBR%20%2F%3E2020-04-30%2008%3A08%3A34%26gt%3B%20CheckForUpdateImpl%3A%20Reading%20RELEASES%20file%20from%20C%3A%5CUsers%5CJohnn%5CAppData%5CLocal%5CSquirrelTemp%3CBR%20%2F%3E2020-04-30%2008%3A08%3A34%26gt%3B%20CheckForUpdateImpl%3A%20First%20run%20or%20local%20directory%20is%20corrupt%2C%20starting%20from%20scratch%3CBR%20%2F%3E2020-04-30%2008%3A08%3A34%26gt%3B%20ApplyReleasesImpl%3A%20No%20delta%20packages%20found.%20Applying%20current%20release%20package.%3CBR%20%2F%3E2020-04-30%2008%3A08%3A34%26gt%3B%20ApplyReleasesImpl%3A%20getting%20squirrel%20aware%20apps%20failed%20with%20exception%20Could%20not%20find%20a%20part%20of%20the%20path%20'C%3A%5CUsers%5CJohnn%5CAppData%5CLocal%5CMicrosoft%5CTeams%5Ccurrent'.%3CBR%20%2F%3E2020-04-30%2008%3A08%3A34%26gt%3B%20ApplyReleasesImpl%3A%20Writing%20files%20to%20app%20directory%3A%20C%3A%5CUsers%5CJohnn%5CAppData%5CLocal%5CMicrosoft%5CTeams%5Ccurrent%3CBR%20%2F%3E2020-04-30%2008%3A09%3A21%26gt%3B%20IEnableLogger%3A%20Failed%20to%20install%20package%20to%20app%20dir%3A%20System.IO.IOException%3A%20There%20is%20not%20enough%20space%20on%20the%20disk.%3C%2FCHECKFORUPDATE%3E%3C%2FP%3E%3CP%3Eat%20System.IO.__Error.WinIOError(Int32%20errorCode%2C%20String%20maybeFullPath)%3CBR%20%2F%3Eat%20System.IO.FileStream.WriteCore(Byte%5B%5D%20buffer%2C%20Int32%20offset%2C%20Int32%20count)%3CBR%20%2F%3Eat%20System.IO.FileStream.Write(Byte%5B%5D%20arra%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EMany%20thanks%20to%20those%20who's%20able%20to%20help!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1348455%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EMicrosoft%20Teams%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1761999%22%20slang%3D%22en-US%22%3ERe%3A%20Cannot%20reinstall%20Microsoft%20Teams%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1761999%22%20slang%3D%22en-US%22%3E%3CP%3EHey%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F642217%22%20target%3D%22_blank%22%3E%40johnnylimcy%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20been%20looking%20for%20a%20solution%20to%20this%20problem%20and%20I've%20tried%20almost%20every%20possible%20solution%20available%20on%20the%20internet%20from%20deleting%20the%20folders%20to%20clearing%20registries%20etc.%3CBR%20%2F%3EThe%20only%20resolution%20I%20found%20was%20to%20copy%20these%20three%20folders%20%3CEM%3ETeams%3C%2FEM%3E%2C%20%3CEM%3ETeamsMeetingAddin%3C%2FEM%3E%20and%20%3CEM%3ETeamsPresenceAddin%3C%2FEM%3E%20from%20someone%20who%20has%20a%20working%20Teams%20Desktop%20application%20(in%20my%20case%20I%20needed%20it%20from%20a%20Windows%20user)%20and%20paste%20it%20in%20the%20given%20location.%20C%3A%5CUsers%5C%3CUSER%3E%5CAppData%5CLocal%5CMicrosoft.%26nbsp%3B%3CBR%20%2F%3EI%20tried%20this%20solution%20because%20I%20saw%20an%20error%20related%20to%20this%20location%20in%20my%20SquirrelSetup%20logs.%3C%2FUSER%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Occasional Visitor

Hi all,

 

I am facing an issue when i tried to reinstall Microsoft teams into my laptop. The following is the log file generated:

 

2020-04-30 08:08:31> Program: Starting Squirrel Updater: --install . --exeName=Teams_windows_x64.exe
2020-04-30 08:08:32> Program: Starting install, writing to C:\Users\Johnn\AppData\Local\SquirrelTemp
2020-04-30 08:08:32> Program: File does not contain contextual info: Teams_windows_x64.exe
2020-04-30 08:08:32> UpdateManager: using rootAppDirectory: C:\Users\Johnn\AppData\Local\Microsoft\Teams
2020-04-30 08:08:32> Program: About to install to: C:\Users\Johnn\AppData\Local\Microsoft\Teams
2020-04-30 08:08:32> Program: Install path C:\Users\Johnn\AppData\Local\Microsoft\Teams already exists, burning it to the ground
2020-04-30 08:08:34> Program: Setup.json exist, copying over
2020-04-30 08:08:34> RegistryService: RegKeyExists: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run does not have TeamsMachineInstaller
2020-04-30 08:08:34> Program: CheckMsiAndTryAddInstallSource: Not MSI, no need to add HKEY_CURRENT_USER\Software\Microsoft\Office\Teams\InstallSource
2020-04-30 08:08: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\Johnn\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()
2020-04-30 08:08:34> CheckForUpdateImpl: Failed to load local releases, starting from scratch: System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\Johnn\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__2.MoveNext()
2020-04-30 08:08:34> CheckForUpdateImpl: Reading RELEASES file from C:\Users\Johnn\AppData\Local\SquirrelTemp
2020-04-30 08:08:34> CheckForUpdateImpl: First run or local directory is corrupt, starting from scratch
2020-04-30 08:08:34> ApplyReleasesImpl: No delta packages found. Applying current release package.
2020-04-30 08:08:34> ApplyReleasesImpl: getting squirrel aware apps failed with exception Could not find a part of the path 'C:\Users\Johnn\AppData\Local\Microsoft\Teams\current'.
2020-04-30 08:08:34> ApplyReleasesImpl: Writing files to app directory: C:\Users\Johnn\AppData\Local\Microsoft\Teams\current
2020-04-30 08:09:21> IEnableLogger: Failed to install package to app dir: System.IO.IOException: There is not enough space on the disk.

at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.WriteCore(Byte[] buffer, Int32 offset, Int32 count)
at System.IO.FileStream.Write(Byte[] arra

 

Many thanks to those who's able to help!

1 Reply
Highlighted

Hey @johnnylimcy 

I have been looking for a solution to this problem and I've tried almost every possible solution available on the internet from deleting the folders to clearing registries etc.
The only resolution I found was to copy these three folders Teams, TeamsMeetingAddin and TeamsPresenceAddin from someone who has a working Teams Desktop application (in my case I needed it from a Windows user) and paste it in the given location. C:\Users\<user>\AppData\Local\Microsoft. 
I tried this solution because I saw an error related to this location in my SquirrelSetup logs.