Last active
December 1, 2018 20:39
-
-
Save filimonov/cd9c41f8eff1f0900312d90e51fbb081 to your computer and use it in GitHub Desktop.
Allow creating symlinks in Windows 10 Home for users
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Download https://gallery.technet.microsoft.com/scriptcenter/Grant-Revoke-Query-user-26e259b0#content | |
2. powershell as admin | |
3. | |
Import-Module .\UserRights.psm1 | |
Grant-UserRight -Account "BUILTIN\Users" -Right SeCreateSymbolicLink | |
Get-AccountsWithUserRight -Right SeCreateSymbolicLink | |
Account Right SID | |
------- ----- --- | |
BUILTIN\Users SeCreateSymbolicLinkPrivilege S-1-5-32-545 | |
BUILTIN\Administrators SeCreateSymbolicLinkPrivilege S-1-5-32-544 | |
# logout / login | |
λ whoami /priv | |
export MSYS=winsymlinks:nativestrict | |
git clone -c core.symlinks=true ... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment