Is there any way to determine if a windows path is protected (i.e. if copying a file to it requires admins rights)? I was unable to a winapi function for this or an official list of windows protected paths.
So far, I know that C:, C:\Program Files and C:\Windows are protected and C:/Users/ is not, but I don't want to rely on trial by error.