Forum Discussion
Settings File in Teams
- Sep 21, 2023
Hi JFM_12,
you are right, sorry fot the confusion earlier.In the context of the Teams cache folder, the specific folders that typically store settings and data include:
IndexedDB: This folder stores indexed database data, which may include settings and cached data.
Local Storage: This folder stores web storage data, which may include application settings.
These are some of the common folders where Teams stores settings and cached data. However, Teams may use additional folders for different purposes. If you are looking to back up and restore only the settings-related folders while deleting others, you can use this script:
@echo off set "teamsCacheFolder=%appdata%\Microsoft\Teams" set "newLocation=%userprofile%\TeamsCacheBackup" rem Move the settings folders to a different location robocopy "%teamsCacheFolder%" "%newLocation%" /e /xd IndexedDB "Local Storage" /copyall rem Delete the Teams cache rmdir "%teamsCacheFolder%" /s /q rem Recreate the Teams cache folder mkdir "%teamsCacheFolder%" rem Copy the settings folders back to the original location robocopy "%newLocation%" "%teamsCacheFolder%" /e /xd IndexedDB "Local Storage" /copyall
Please click Mark as Best Response & Like if my post helped you to solve your issue.
This will help others to find the correct solution easily. It also closes the item.If the post was useful in other ways, please consider giving it Like.
Kindest regards,
Leon Pavesic
I have checked
These folders where not found
- application_store_data
- GPUFeatureStorage
- Settings
But your script moves all files and not only the ones you mentioned.
We want only keep the settings folders. All others should be deleted.
your setting "/copyall" does move everything.
Regards
JFM_12
Hi JFM_12,
you are right, sorry fot the confusion earlier.
In the context of the Teams cache folder, the specific folders that typically store settings and data include:
IndexedDB: This folder stores indexed database data, which may include settings and cached data.
Local Storage: This folder stores web storage data, which may include application settings.
These are some of the common folders where Teams stores settings and cached data. However, Teams may use additional folders for different purposes. If you are looking to back up and restore only the settings-related folders while deleting others, you can use this script:
@echo off
set "teamsCacheFolder=%appdata%\Microsoft\Teams"
set "newLocation=%userprofile%\TeamsCacheBackup"
rem Move the settings folders to a different location
robocopy "%teamsCacheFolder%" "%newLocation%" /e /xd IndexedDB "Local Storage" /copyall
rem Delete the Teams cache
rmdir "%teamsCacheFolder%" /s /q
rem Recreate the Teams cache folder
mkdir "%teamsCacheFolder%"
rem Copy the settings folders back to the original location
robocopy "%newLocation%" "%teamsCacheFolder%" /e /xd IndexedDB "Local Storage" /copyall
Please click Mark as Best Response & Like if my post helped you to solve your issue.
This will help others to find the correct solution easily. It also closes the item.
If the post was useful in other ways, please consider giving it Like.
Kindest regards,
Leon Pavesic
- JFM_12Sep 21, 2023Iron Contributor
Hi Pavesic
Thank you very much.
We do only need the personal settingsSo only INDEXDB and LOCAL STORAGE is responsable for storing individual settings.
Regards
Juan