Symlinking
I have a test suite that would run much faster if we the build scripts were able to symlink. In order to symlink I ether need to run the scripts as a non administrator user with the symlinking permission, or I need the script to "run as administrator", or I need to turn off UAC.
How could I accomplish this?
Thanks
-ray
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
| ? | Show this help |
|---|---|
| ESC | Blurs the current field |
Comment Form
| r | Focus the comment reply box |
|---|---|
| ^ + ↩ | Submit the comment |
You can use Command ⌘ instead of Control ^ on Mac

Support Staff 1 Posted by Feodor Fitsner on 01 Dec, 2014 05:52 AM
Build Agent already runs under account with administrative permissions.
2 Posted by Ray Tiley on 01 Dec, 2014 02:37 PM
Because of UAC Administrators can symlink by default on windows systems. Is the build agent running with UAC off?
This KB explains it pretty well.
http://answers.perforce.com/articles/KB_Article/Enabling-Symlinks-on-Windows
3 Posted by Ray Tiley on 01 Dec, 2014 02:39 PM
can NOT symlink by default
Support Staff 4 Posted by Feodor Fitsner on 01 Dec, 2014 02:46 PM
Will check it out. Thanks for the link!
-Feodor
Support Staff 5 Posted by Feodor Fitsner on 01 Dec, 2014 05:44 PM
Creating symlink worked for me: https://ci.appveyor.com/project/appvyr/nuget-test/build/1.0.80
6 Posted by Sebastien Lambl... on 31 Mar, 2016 01:44 PM
Problem still happening with symlinks hanging when using terraform on windows downloaded through choco.
Hangs at:
Get: file://C:/projects/lli-infra/tf/elasticsearch
Ticket discussing the issue:
http://help.appveyor.com/discussions/questions/750-symlinking
Am I right in thinking the scripts run on an admin account but UAC is enabled? It's a big blocker for us. What do you suggest?
Support Staff 7 Posted by Feodor Fitsner on 31 Mar, 2016 01:48 PM
UAC has been always disabled on build workers. You can verify that by RDP-ing into build machine: http://www.appveyor.com/docs/how-to/rdp-to-build-worker
Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:05 AM.