- Would like to know if I can safely delete the contents of the C:\ProgramData\Microsoft\Windows\SystemData folder, all folders and files there in.
- It seems that these folders may be auto generated, and mainly are named by User Account Security Identifier's, so deleting them may be harmless.
- Or at least is it safe to delete all files with the del /s star dot star command leaving the sub-folder structure.
- The purpose is to flush the cache for the lock-screen stored at this location so that the default images at C:\Windows\Web\Screen will come into effect.
Example Code; delete folders and file contents:
RD C:\ProgramData\Microsoft\Windows\SystemData /S /Q
Example Code; Delete only files within folders:
Del /s /q C:\ProgramData\Microsoft\Windows\SystemData\*.*
Current Research:
How do you delete all the files but not the directories in a folder?
SU - Retrieve Custom Windows 10 Lock Screen Image
SU - How to override the default Windows 10 lock screen image for all users?