How to Fix Microsoft Teams Not Loading or Stuck on Loading Screen — The Cache Folder That Breaks Everything

By Adhen Prasetiyo

Friday, April 24, 2026 • 7 min read

Padlock icon on top of a PDF file, folder, and USB drive showing encryption protection

You need to send a contract to a client by email, and it contains sensitive financial information. You need to lock a folder of tax documents on your shared family computer. You need to hand a USB drive of project files to a contractor and make sure nobody else can read them if the drive gets lost.

All three scenarios need the same thing: password protection with real encryption. Not the kind where someone can bypass it in five seconds — the kind where even a government agency with unlimited computing power would take billions of years to crack.

The good news: you don’t need to buy expensive software. Windows, Mac, and free open-source tools can all do this. The encryption they use — AES-256 — is literally the same standard used to protect classified military documents.

Password Protecting a PDF

PDFs are the most commonly shared document format, and they have built-in support for password protection. The question is how to apply it without paying for Adobe Acrobat Pro.

Method 1: LibreOffice (Free, Offline, Strong Encryption)

LibreOffice is free, open-source office software that handles PDFs well.

  1. Open your PDF in LibreOffice Draw (or Writer for text-heavy PDFs)
  2. Go to File → Export as PDF
  3. Click the Security tab
  4. Click Set Open Password and enter a strong password
  5. Optionally set a Permission Password to prevent printing, editing, or copying
  6. Click Export

The resulting PDF is encrypted with AES-128 or AES-256. Anyone trying to open it must enter the password first. Without the password, the file is unreadable gibberish.

Method 2: Online Tools (For Non-Sensitive Documents)

If the PDF isn’t highly sensitive, online tools like Smallpdf or iLovePDF are quick and easy. Upload the PDF, set a password, download the encrypted version. Takes 30 seconds.

The caveat: your unencrypted file is uploaded to their servers temporarily. For a restaurant menu or a public brochure, this is fine. For tax returns, medical records, or legal documents, use the offline LibreOffice method instead — your file never leaves your computer.

Important: PDF password protection has two levels. The Open Password prevents anyone from opening the file without the password. This is genuine encryption. The Permissions Password restricts actions like printing and editing but can be bypassed with free tools. If you need real security, always set the Open Password.

Password Protecting a Folder on Windows

Windows does not have a built-in “right-click → add password” option for folders. This is one of the most commonly requested features that Microsoft has never implemented.

There are three viable free methods:

Method 1: 7-Zip (Simplest, Most Recommended)

7-Zip is free, open-source, and available in over 80 languages.

  1. Install 7-Zip
  2. Right-click the folder you want to protect
  3. Select 7-Zip → Add to archive
  4. Set Archive format to 7z
  5. Under Encryption, enter your password twice
  6. Set Encryption method to AES-256
  7. Check “Encrypt file names” — this hides even the names of files inside the archive
  8. Click OK

The folder is now compressed and encrypted into a single .7z file. Delete the original unencrypted folder (make sure the archive opens correctly first!).

To access your files, double-click the .7z file, enter your password, and extract. When you’re done, delete the extracted files and keep only the encrypted archive.

The “Encrypt file names” option is important. Without it, someone who opens the .7z file can see the names of every file inside (though they can’t open them without the password). File names alone can reveal sensitive information — a file named “Q3_Revenue_Report_Confidential.xlsx” tells someone a lot even without opening it.

Method 2: VeraCrypt (Most Seamless Experience)

VeraCrypt is free, open-source encryption software that creates virtual encrypted drives.

  1. Install VeraCrypt
  2. Click Create Volume → Create an encrypted file container
  3. Choose a location and filename for the container
  4. Select AES encryption and SHA-512 hash
  5. Set the container size (must be large enough for your files)
  6. Choose a strong password
  7. Click Format

Now you have an encrypted container file. To use it:

  • Open VeraCrypt → Select the container → Click Mount → Enter password
  • A new drive letter appears in File Explorer
  • Copy your files to this virtual drive
  • When done, click Dismount in VeraCrypt

When dismounted, the container file is fully encrypted and looks like a random data file. When mounted, it behaves exactly like a normal folder on a normal drive. It’s the closest thing to a truly password-protected folder on Windows.

Password Protecting a Folder on Mac

Mac has this feature built in, and it works beautifully.

  1. Open Disk Utility (Applications → Utilities → Disk Utility)
  2. Click File → New Image → Image from Folder
  3. Select the folder you want to protect
  4. Set Encryption to 128-bit AES (fast) or 256-bit AES (stronger)
  5. Set Image Format to read/write (so you can add files later)
  6. Enter and confirm your password
  7. Uncheck “Remember password in my keychain” if you want maximum security
  8. Click Save

macOS creates an encrypted .dmg file. Delete the original folder. To access your files, double-click the .dmg, enter the password, and it mounts as a virtual drive. When done, eject the virtual drive and the contents are locked again.

This is the most elegant built-in folder encryption on any consumer operating system. Apple doesn’t get enough credit for including this.

Encrypting a USB Drive

On Windows (BitLocker — Built-in, Windows Pro Only):

  1. Insert USB drive
  2. Open File Explorer → right-click the USB drive → Turn on BitLocker
  3. Select “Use a password to unlock the drive” → enter password
  4. Save the recovery key (to a file on your computer — this is your backup if you forget the password)
  5. Select “Encrypt entire drive”
  6. Choose “Compatible mode” if the drive will be used on older Windows versions
  7. Click Start encrypting

After encryption, anyone plugging the drive into any Windows computer will see a password prompt before they can access anything. The entire drive contents are encrypted with AES-128 or AES-256.

Limitation: BitLocker-encrypted drives are natively readable only on Windows. Mac and Linux require additional software (Dislocker on Linux, paid tools on Mac).

On Any OS (VeraCrypt — Cross-Platform):

For a USB drive that needs to work on Windows, Mac, and Linux, use VeraCrypt:

  1. Install VeraCrypt
  2. Click Create Volume → Encrypt a non-system partition/drive
  3. Select your USB drive
  4. Choose AES encryption → set password → format

The entire USB drive is now encrypted. To use it on any computer, you need VeraCrypt installed on that machine. For portability, you can put the VeraCrypt portable installer on a small unencrypted partition of the USB drive so anyone with the password can decrypt it without pre-installed software.

A Note About Password Strength

All the encryption in the world is meaningless if your password is “password123.” AES-256 is unbreakable, but if someone can guess your password in five tries, the encryption might as well not exist.

Good passwords for encrypted files:

  • At least 12 characters long
  • Mix of uppercase, lowercase, numbers, and symbols
  • Not a single dictionary word or common phrase
  • Not reused from any other account

If you’re protecting something truly important, consider a passphrase — a string of random words like “correct-battery-staple-sunrise-42” which is both long and memorable. Or better yet, let a password manager generate and store a truly random password.

Whatever you do, don’t lose the password. Real encryption means that without the password (or recovery key for BitLocker), the data is gone forever. There is no “forgot password” link. There is no recovery option. That’s what makes encryption secure — but it’s also what makes password management essential.


If you found this guide helpful, check out our other resources:

Step-by-Step Guide

1

Force quit Teams and clear the cache

Press Ctrl Shift Esc to open Task Manager. Find any Microsoft Teams processes and click End task for each one. For the new Teams app the cache is located at %LocalAppData%\Packages\MSTeams_8wekyb3d8bbwe\LocalCache\Microsoft\MSTeams. For classic Teams the cache is at %AppData%\Microsoft\Teams. Open File Explorer and paste the appropriate path into the address bar. Delete everything inside the folder. Restart Teams. It will rebuild the cache from the server which takes a minute but resolves most loading issues including blank screens, stuck spinners, and login loops.

2

Clear Teams credentials from Windows Credential Manager

If Teams is stuck in a login loop where it keeps asking for your password or shows an authentication error open Windows Credential Manager by searching for it in the Start menu. Click Windows Credentials then look for entries containing Microsoft Teams or msteams. Delete these entries. Also check Generic Credentials for any Teams or Office related entries and delete those too. Restart Teams and sign in fresh. Corrupted cached credentials are the primary cause of login loops where Teams accepts your password then immediately asks for it again.

3

Check if your organization requires the new Teams app

Microsoft has been migrating all users from classic Teams to the new Teams app throughout 2025 and 2026. If your organization has completed the migration and you are still running classic Teams it may refuse to load because Microsoft has disabled the classic Teams backend for your tenant. Check with your IT department or go to the Microsoft 365 admin portal. To switch to new Teams download it from the Microsoft Store or from teams.microsoft.com. The new Teams app is faster uses less memory and has a different cache location than classic Teams.

4

Repair or reset the Teams app through Windows Settings

Go to Settings then Apps then Installed apps. Find Microsoft Teams and click the three dots then Advanced options. First try Repair which fixes the app without deleting data. If Repair does not help try Reset which clears all app data and settings giving you a fresh start. After resetting you will need to sign in again and Teams will resync your chats channels and files from the server. This is more thorough than manually clearing the cache because it also resets app configuration files that manual cache clearing does not touch.

5

Reinstall Teams completely as a last resort

If none of the above works uninstall Teams completely from Settings then Apps then Installed apps. Then delete any remaining cache folders manually at the paths mentioned in Step 1. Restart your computer. Download and install Teams fresh from teams.microsoft.com or the Microsoft Store. Sign in and let it sync. A clean installation eliminates any corrupted files, broken configuration, or version conflicts that repairs could not fix. After reinstalling check that Teams has the necessary permissions in Settings then Privacy and security then Camera and Microphone for video calls to work properly.

Frequently Asked Questions

What is the difference between classic Teams and new Teams?
Classic Teams was built on the Electron framework which essentially ran a web browser inside a desktop app. It was notorious for high memory usage often consuming 1 to 2 GB of RAM. New Teams is built on the Edge WebView2 framework and Microsoft claims it uses 50 percent less memory and launches twice as fast. The new Teams also has a different cache location on disk. Microsoft is phasing out classic Teams and some organizations have already completed the migration. If classic Teams stops loading it may be because your organization switched to new Teams and the classic app backend was disabled.
Will clearing the Teams cache delete my messages or files?
No. All your messages, chats, channels, files, and meeting recordings are stored on Microsoft 365 servers not locally. The cache is a temporary local copy that Teams uses for faster access. When you delete it Teams rebuilds it by downloading data from the server. Your conversation history and shared files will reappear once Teams finishes syncing. The only thing you might notice is that Teams takes slightly longer to load the first time after clearing the cache as it rebuilds.
Why does Teams work in the browser but not in the desktop app?
If Teams works at teams.microsoft.com in your browser but the desktop app will not load the problem is specific to the desktop app installation. The most common causes are corrupted cache files, outdated app version, or conflicting Windows settings. Clear the cache and repair the app first. If those do not work reinstall the desktop app. The browser version bypasses all local app issues because it runs directly from Microsoft servers with no local cache dependency.
Teams loads but shows a blank white screen with no content. What is wrong?
A blank white screen usually indicates either a corrupted cache that prevents the UI from rendering or a GPU rendering conflict. Clear the cache first. If the blank screen persists try disabling GPU hardware acceleration in Teams. Open Teams settings then go to General or Performance and disable hardware acceleration. Restart Teams. If the screen renders correctly after disabling GPU acceleration your graphics driver may be incompatible with Teams rendering engine. Update your graphics driver from the manufacturer website.
Adhen Prasetiyo

Research Bug bounty at javahack team

Research Bug bounty Profesional

Web Development Research Bug Hunter
View all articles →