This may be due to restricted permissions, different drives, or file system issues, particularly with FAT32 drives.Try to activate developer mode on terminal run
start ms-settings:developers
then allow developer mode
then try again creating a windows build.