Problem with cargo install cargo-update on windows

When I run this command:

cargo install cargo-update

I get this error:

   Compiling icu_normalizer_data v2.2.0
error: failed to run custom build command for `windows_x86_64_msvc v0.48.5`

Caused by:
  could not execute process `C:\Users\murra\AppData\Local\Temp\cargo-installVF81M6\release\build\windows_x86_64_msvc-f8446bfacc4f5f49\build-script-build` (never executed)

Caused by:
  Access is denied. (os error 5)
warning: build failed, waiting for other jobs to finish...
error: failed to compile `cargo-update v20.0.0`, intermediate artifacts can be found at `C:\Users\murra\AppData\Local\Temp\cargo-installVF81M6`.
To reuse those artifacts with a future compilation, set the environment variable `CARGO_BUILD_BUILD_DIR` to that path.

FYI: this was run from "Command Prompt" with administrator privileges

well it clearly looks like a permission error so i guess command prompt did not actually run with admin priviledges or did not grant them to cargo-install for some reason

You should not be running cargo as admin. The access is denied is probably not due to file permission, but rather due to your antivirus blocking the execution. Antivirus in general don't really like executing just compiled binaries, it is way too similar to what malware does. You may have to add an antivirus exclusion for the build dir.