Score:0

How to set file permissions if user logged on using Smart Card or Windows Hello for Business

kr flag

I have a hybrid joined Windows domain and have set up log-on with Smart Cards and Windows Hello for business. I would like to be able to set file server permissions based on whether a user logged on with the smart card or not. Based on very limited information I have found along with some testing I have found that users are added to the "NT AUTHORITY\This Organization Certificate" (SID S-1-5-65-1) Special Identities Group when they log on with a smart card or WHFB but not when they log on with a username/password.

My problem is that I can not find "This Organization Certificate" in the Select Users, Computers, Service Accounts, or Groups from a computer on the domain (It does show up on non-joined computer). When I search for "This" the only thing that comes up is "This Organization"

I also feel there is a good chance I'm missing something blindingly obvious about what I'm trying to do because the "Key Property Multi-factor Authentication" special identity group worked fine for WHFB, just not for SmartCards.

So far I've looked these solutions

  1. Adding "This Organization Certificate" to the Well Known Security Principals in ADSI Edit Configuration. I have not found much guidance on doing this (or if it is possible) but believe I figured out the Mandatory attributes, but am getting a "Illegal modify operation" error 0x2077 UpdErr: DSID-0305149b, probloem 6002 error.
  2. Finding a way to specify group by it SID
  3. Determine why smart card logon doesn't add user to "Key Property Multi-factor Authentication" (just thought of that when typing this)

As you might infer, I'm jumping in the deep end trying to figure this, if there are any good books or sites that you can recommend that would be helpful too

Thanks

cn flag
ICACLS should work with a SID. If you have that you don't need to translate the name.
Andy Haer avatar
kr flag
I was able to use the command "Icacls {path} /grant *S-1-5-65-1:F" to add full control for members of "This Organization Certificate" group to {path}. Once this was done, the permission showed up in file permissions GUI and I could make further edits to get what I wanted. This gives me a workaround (THANKS!) but I'm still interested if option 1 is possible...
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.