Hello everyone,
Before I explain the problem I am having, I just want to say that I have reached out to the Microsoft Windows and Rust communities in an attempt to find a solution.
I have had the rust language installed on my machine before and had no issues running the installer. I needed to reinstall it today, though, everytime I run the installer (with administrative privelages), once the "fmt" Module begins installing, an error stating: cleaning up cached downloads: Access is denied (os error 5) is displayed. I have read up on how AV software might affect the installation, and have also attempted to scan the .cargo, .rustup, and installer. files all with a contextual scan. The other two communites are at a loss with trying to find a solution. If BD can cause this type of error, I would greatly appreciate any feedback on it.
Edit: I have cleared all temp, %temp%, and prefetch just to see if would have any influence at all. I ran the RUST-UP installer, and again, it is throwing the same error.
info: profile set to 'default'
info: default host triple is x86_64-pc-windows-msvc
info: syncing channel updates for 'stable-x86_64-pc-windows-msvc'
732.1 KiB / 732.1 KiB (100 %) 450.4 KiB/s in 1s ETA: 0s
info: latest update on 2023-03-28, rust version 1.68.2 ( 2023-03-27)
info: downloading component 'cargo'
4.2 MiB / 4.2 MiB (100 %) 1.8 MiB/s in 2s ETA: 0s
info: downloading component 'clippy'
1.9 MiB / 1.9 MiB (100 %) 1.9 MiB/s in 1s ETA: 0s
info: downloading component 'rust-docs'
19.4 MiB / 19.4 MiB (100 %) 3.4 MiB/s in 35s ETA: 0s
info: downloading component 'rust-std'
27.2 MiB / 27.2 MiB (100 %) 3.5 MiB/s in 9s ETA: 0s
info: downloading component 'rustc'
63.0 MiB / 63.0 MiB (100 %) 3.8 MiB/s in 21s ETA: 0s
info: downloading component 'rustfmt'
info: installing component 'cargo'
info: installing component 'clippy'
info: installing component 'rust-docs'
19.4 MiB / 19.4 MiB (100 %) 2.6 MiB/s in 35s ETA: 0s
info: installing component 'rust-std'
27.2 MiB / 27.2 MiB (100 %) 19.9 MiB/s in 1s ETA: 0s
info: installing component 'rustc'
63.0 MiB / 63.0 MiB (100 %) 23.2 MiB/s in 2s ETA: 0s
info: installing component 'rustfmt'
error: cleaning up cached downloads: Access is denied. (os error 5)
Thank you