It looks like you need to add the add cd to print the current directory in your before_script. Then, correct the permissions to access the parent of this folder. If you installed your gitlab runner on c:\glrunner , you probably need to fix the permission c:\glrunner\builds .
The second problem is that you may need to force install a new git clone by deleting the builds folder.
You might want to change the credentials for logging into the gitlab startup service to gitlabuser , which should be a non-admin account that may have less privileges than the default LOCAL SYSTEM account that your gitlab executor uses.
If you want to know who is logged in, add set to your before_script and you will get a dump of the environment variable. From this, you can see which account is logged into the system, where its USERPROFILE and other things are located.
source share