Hi anonymous user-5722,
Based on my experience, it may be hard to create one TS in 2 Environments in MDT, we could use two task sequences with unattend answer files to solve this issue.
About how to find local administrator password set in MDT, please refer to this article:
https://pariswells.com/blog/research/how-to-find-local-administrator-password-set-in-mdt
Note: Non-Microsoft link, just for the reference.
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.