0

我在 windows 7 和 vista 中遇到 UAC 权限问题。我的应用程序将它自己复制到 C:/file.exe 。问题是应用程序说 "Access to path is denied" ,所以我已将清单文件中的 "requestedExecutionLevel" 更改为 "requireAdministrator" ,并且效果很好。但是我在禁用 UAC 的机器上遇到了问题,它再次显示“拒绝访问路径”,那么如何在禁用 UAC 的机器上解决这个问题?

4

1 回答 1

1

It is because the C:/, actually the driver which the OS is installed to, folder is a protected folder that requires administrator privileges for writing operations. This also happens in some other folders like Program Files folder and its all subfolders.

Thus, simply move your file to somewhere else.

于 2013-01-18T14:08:53.540 回答