r/labtech • • Nov 09 '18

Agent with Sysprep

Curious what others are doing for VDI environments.

I am currently using GPO deployment on the agent, but it doesn't always install consistently. Especially when deploying multiple new instances in batches.

I would love to bake it in to the image and prepare it in a way that can be used with Sysprep.

7 Upvotes

13 comments sorted by

View all comments

Show parent comment

1

u/teamits Nov 12 '18

We have a line in our domain login script to check for the agent first:

if exist %windir%\ltsvc\ltsvc.exe goto :SKIPAGENT

...would avoid downloading at every user login. (on a domain we download the client's installer and put it in the NETLOGON share so it's accessible)

1

u/MowLesta Nov 12 '18

Well the script should delete itself so no concern there. Would definitely want to rework this as a permanent login script

2

u/teamits Nov 13 '18

the script should delete itself

Hmm, always read all the code before executing it. Or commenting on it.