Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why is SeCreateSymbolicLinkPrivilege ignored on Windows 8?

Tags:

windows

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

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?

like image 454
Ana Betts Avatar asked Mar 10 '13 08:03

Ana Betts


1 Answers

It is indeed UAC, as Christian suspected.

MSDN: Windows Vista Application Development Requirements for User Account Control Compatibility:

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:

  • SeChangeNotifyPrivilege
  • SeShutdownPrivilege
  • SeUndockPrivilege
  • SeReserveProcessorPrivilege
  • SeTimeZonePrivilege
like image 157
Ana Betts Avatar answered Oct 07 '22 21:10

Ana Betts