You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
thank you for your great work it helped me a lot! Only one thing I like to add, if your scripts checking, if it´s runing in SYSTEM context, it´s done via a string-compare to the username in line 153:
if($CurrentUserName -ne 'NT AUTHORITY\SYSTEM')
This is failing in, e.g. the german version, because it´s named "NT AUTORITÄT\SYSTEM". So I changed the check and used the well-known SIDs for it:
Hi,
thank you for your great work it helped me a lot! Only one thing I like to add, if your scripts checking, if it´s runing in SYSTEM context, it´s done via a string-compare to the username in line 153:
This is failing in, e.g. the german version, because it´s named "NT AUTORITÄT\SYSTEM". So I changed the check and used the well-known SIDs for it:
(SIDs can be found here: https://docs.microsoft.com/de-de/windows/security/identity-protection/access-control/security-identifiers)
Maybe it´s helpful in the New-AovpnDeviceTunnel.ps1 and Remove-AovpnDeviceTunnel.ps1.
Thank you!
Yours
Kai
The text was updated successfully, but these errors were encountered: