# Git credentials lost after sysprep

1 messages from 2022-04-28 to 2022-04-28. Participants: John Wilson.
Thread: https://gitlist.dev/t/57811

## John Wilson, 2022-04-28 17:02

Subject: Git credentials lost after sysprep
Message-ID: <CA+o=yoqriRR15qYdHjWscLoc5UZWuhJwn9PSR8D-+s_XVsyRag@mail.gmail.com>
URL: https://gitlist.dev/e/CA%2Bo%3DyoqriRR15qYdHjWscLoc5UZWuhJwn9PSR8D-%2Bs_XVsyRag%40mail.gmail.com

```
I have "worker" instances on AWS, windows unfortunately, that require
me to sysprep a base instance before imaging it.  This process removes
saved git credentials.  I want to use a scheduled task on startup to
pull a repo to ensure the servers are always using the most current
code without having to reimage them for every change.  How can I
store/use credentials, either standard or SSH, neither of which works
now, so they persist?

```
