Hi Larry,
Thanks for reaching out to Microsoft Q&A Forum. I understand you are unable to delete a Windows 10 setup file that appears in your Documents folder.
Before proceeding, please confirm whether you have already tried the steps suggested by Q&A Assist. If yes, please try the additional steps below:
1, Open Settings > System > Storage
- Under Storage, select Temporary files
- Check Previous Windows installation(s) or Windows upgrade log files if available
- Click Remove files
2, Open File Explorer
- Right-click the Windows 10 setup file > Properties
- Go to the General tab
- Clear the Read-only attribute if it is selected
- Click Apply and OK, then try deleting the file again
3, Right-click Start > Windows Terminal (Admin)
- Run the following command to check file attributes:
attrib C:\Users\YourUserName\Documents\filename - If the file shows system or protected attributes, run:
attrib -s -h -r C:\Users\YourUserName\Documents\filename - Try deleting the file again
4, Open Settings > Windows Update
- Select Check for updates
- Install all pending updates
- Restart the device and attempt to delete the file
5, Open Settings > System > Storage > Storage Sense
- Turn on Storage Sense
- Select Run Storage Sense now
6, Restart the device and try deleting the file immediately after sign-in, before opening any applications
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.