为什么在 Windows 8 上忽略 SeCreateSymbolicLinkPrivilege?

编程入门 行业动态 更新时间:2024-10-23 22:23:06
本文介绍了为什么在 Windows 8 上忽略 SeCreateSymbolicLinkPrivilege?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

限时送ChatGPT账号..

我想让我的标准用户帐户(即未提升)能够调用 CreateSymbolicLink.

I'd like to enable my standard user account (i.e. not elevated) to be able to call CreateSymbolicLink.

但是,在 Win8 上,即使在本地组策略下将Everyone"添加到 SeCreateSymbolicLinkPrivilege(secpol.msc 中的Create Symbolic Links")仍然会导致 STATUS_PRIVILEGE_NOT_HELD.为什么?

However, on Win8, even adding "Everyone" to the SeCreateSymbolicLinkPrivilege ("Create Symbolic Links" in secpol.msc) under local group policy still results in STATUS_PRIVILEGE_NOT_HELD. Why?

推荐答案

确实是 UAC,正如 Christian 所怀疑的那样.

It is indeed UAC, as Christian suspected.

MSDN:用户帐户控制兼容性的 Windows Vista 应用程序开发要求:

过滤后的令牌包含哪些权限取决于原始令牌是否包含上面列出的任何受限 RIDS(如果您是非高级管理员,则称为 AKA).如果令牌中有任何受限制的 RID,则所有权限都将被删除,除了:

What privileges the filtered token contain are based on whether the original token contained any of the restricted RIDS listed above (ed: AKA if you're a non-elevated Admin). If any of the restricted RIDs were in the token, all of the privileges are removed except:

SeChangeNotifyPrivilegeSeShutdown 权限SeUndock 权限SeReserveProcessorPrivilegeSeTimeZone 权限

这篇关于为什么在 Windows 8 上忽略 SeCreateSymbolicLinkPrivilege?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

更多推荐

[db:关键词]

本文发布于:2023-04-25 23:08:47,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1125453.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:Windows   SeCreateSymbolicLinkPrivilege

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!