如何在 Windows Vista 家庭版上授予 SeCreateSymbolicLink

发布于 2024-07-17 22:30:51 字数 537 浏览 4 评论 0原文

我希望能够使用 mklink 在我的 Windows Vista Home 版计算机上创建符号链接。

但是,我必须先授予 SeCreateSymbolicLink 权限,然后 mklink 才能在 Vista 家庭版上运行(默认情况下该权利被撤销)。

家庭版不提供用于授予/撤销谨慎权利的 UI 或工具设施。

NTFS 符号链接上的 Wikipedia 链接 表示 Windows Server 2003 资源工具包中提供了 ntrights.exe 工具可以使用工具在家庭版上授予此权利。 然而,安装这些工具后,事实证明这是错误的。 该版本的 ntrights.exe 无法识别 SeCreateSymbolicLink,并且 Microsoft 的网站未显示此特定资源工具包工具的任何可用更新。

有 PowerShell 脚本方法来执行此操作吗? 或者任何其他可以在 Vista 家庭版上使用的工具/技术?

I want to be able to use mklink to create symbolic links on my Windows Vista Home edition computer.

However, I must grant SeCreateSymbolicLink before mklink will be able to function on Vista Home edition (by default the right is revoked).

Home edition provides no UI or tool facility to grant/revoke discreet rights.

A Wikipedia link on NTFS symbolic links says the ntrights.exe tool that comes in Windows Server 2003 Resource Kit Tools can be used to grant this right on Home edition. However, after installing these tools, that proved to be incorrect. That version of ntrights.exe does not recognize SeCreateSymbolicLink and Microsoft's web site does not show any update available for this particular resource kit tool.

Is there a PowerShell script way to do this? Or any other tool/technique that might be feasible to use on Vista Home edition?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

剪不断理还乱 2024-07-24 22:30:51

polsedit

alt text
(来源:southsoftware.com
“Polsedit 是一个免费软件实用程序,允许您修改用户策略,例如本地或远程基于 Windows NT 的系统上的用户帐户权限和用户特权。当您由于某种原因无法运行 secpol 时,这会很有用。 msc 管理单元,例如 XP Home 和 Vista Home 根本没有 secpol.msc Polsedit 的用户界面与 Windows 中的标准策略编辑器非常相似,但它还显示一些有用的内部数据。对于开发人员来说。”

polsedit

alt text
(source: southsoftware.com)
"Polsedit is a freeware utility that allows you to modify user policies such as user account rights and user privileges on a local or remote Windows NT-based system. This can be useful when for some reason you are unable ro run secpol.msc snap-in, for example, XP Home and Vista Home do not have secpol.msc at all. The user interface of Polsedit is very similar to the standard policies editor from Windows, but it also displays some internal data, which can be useful for developers."

十年不长 2024-07-24 22:30:51

运行 secpol.msc 并向组或用户授予创建符号链接 权限怎么样。 默认情况下,此权限仅授予 Administrators 组。

从编程方面来看,您似乎需要 SE_CREATE_SYMBOLIC_LINK_NAME 权限或其文本变体:SeCreateSymbolicLinkPrivilege。 更多详细信息请参见 msdn

secpol.msc - 创建符号链接权限 http://blog.i18n.ro/wp -content/uploads/2010/01/policy_create_symbolic_links.png

How about running secpol.msc and granting the Create symbolic links permission to the group or users. By default this permission is granted only to Administrators group.

From the programming side, it looks that you need SE_CREATE_SYMBOLIC_LINK_NAME priviledge or its text variant: SeCreateSymbolicLinkPrivilege. More details in msdn

secpol.msc - Create Symbolick Links permission http://blog.i18n.ro/wp-content/uploads/2010/01/policy_create_symbolic_links.png

德语

  • Win+r secpol.msc
  • 定位“Sicherheitseinstellungen\Lokale Richtlinien\Zuweisen von Benutzerrechten”
  • 将用户添加到“Erstellen symbolischer Verknüpfungen”

荷兰语

  • Win+r secpol.msc
  • 定位“Beveiligingsinstellingen\Lokaal beleid>Toewijzen van gebruikersrechten” 将
  • 用户添加到“Symbolische koppeling maken”

German language

  • Win+r secpol.msc
  • locate "Sicherheitseinstellungen\Lokale Richtlinien\Zuweisen von Benutzerrechten"
  • Add the user to "Erstellen symbolischer Verknüpfungen"

Dutch language

  • Win+r secpol.msc
  • locate "Beveiligingsinstellingen\Lokaal beleid>Toewijzen van gebruikersrechten"
  • Add the user to "Symbolische koppeling maken"
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文