Script in step 3.1 is automated pretty much as far as it could be. The sample script / batch file is specifically for GPT partitioned system disk.
I am not sure, if I get your point?
You have relocated the Users folder to another disk. When you capture the system (Windows) disk to a WIM file, and use it to restore Windows, what happens is what's highlighted in below extraxt from information shown at the beginning of the tutorial:
...
When restoring Windows from this custom recovery partition, Windows is updated (as it was when image was captured), containing all pre-installed software, user accounts and user data, device drivers, custom settings like themes and so on.
Most software, when installed, add general application specific settings for all users in a folder in
ProgramData folder, so called "
AppData for all users", on Windows system disk, and user specific settings in
AppData folders in individual user profile folders.
When application is run, it gets the general, all users settings from ProgramData, and user specific settings from AppData.
In your case (as well as mine!), the user specific AppData is not on disk to be restored using this method (ProgramData on system disk, in WIM file, and AppData on another disk). AppData might be changed since the recovery WIM was captured, and will not be restored.
However, this will not be a problem when the WIM is used to restore Windows. In worst case scenario, AppData will contain some obsolete entries, changes since the WIM was captured, but that will in no way cause issues.
When restored from custom WIM, system still finds the user specific AppDataon that other disk. In addition, all personal user data and files will remain intact, all documents and files created or edited even after the WIM was captured still there.
Short: no problems!
Kari