- Thread Author
-
- #1
I am an amateur with the autounattend.xml. I have been able to successfully follow tutorials and create installs on multiple partition formatted hard drives.
So the question,
How do I setup the autounattend to clean 3 of the partitions created while leaving one partition intact, i.e. all the files remain untouched.
I have been able to successfully create the auto install file that will clean all 4 partitions, but I am needing 1 partition that will have reinstall and backup information from one install to another. Once the autounattend installation is finished, I have written some batch and powershell scripts that will do the remainder of the work for me. Any help would be greatly appreciated.
If additional information is needed I am more than willing to post screenshots of my setup process and show the exact configuration within the creation program. Thank you for your time and consideration.
So the question,
How do I setup the autounattend to clean 3 of the partitions created while leaving one partition intact, i.e. all the files remain untouched.
I have been able to successfully create the auto install file that will clean all 4 partitions, but I am needing 1 partition that will have reinstall and backup information from one install to another. Once the autounattend installation is finished, I have written some batch and powershell scripts that will do the remainder of the work for me. Any help would be greatly appreciated.
If additional information is needed I am more than willing to post screenshots of my setup process and show the exact configuration within the creation program. Thank you for your time and consideration.
- Thread Author
-
- #3
Thank you for the direct and concise explanation. I'll be diving into learning the runsychronouscommand as thoroughly as I can. a few clarifications if you don't mind Neemobeer.
Again, thank you for the concise explanation, I loved it.
- Does it matter if the script is batch or powershell?
- I usually run diskpart bat scripts and use a secondary txt file that gives the specifics of the vol format, etc. So the question is, does my diskpart script have to be concatenated into a single file? Or should I be able to proceed with the Runsynchronous command using the multiple file diskpart batch system I have been using. I assume there should be no issue considering all the files will be within the same directory and therefore accessible to WinPE environment.
Again, thank you for the concise explanation, I loved it.
- Joined
- Jul 4, 2015
- Messages
- 8,998
I believe you have both available or you can just call diskpart directly
Format and Partition Disk on WinPE Boot | Sysadmin Lab
Diskpart Scripts and Examples
Format and Partition Disk on WinPE Boot | Sysadmin Lab
Diskpart Scripts and Examples
hi, neemobeer, i used to try to use a RunAsynchronousCommand to call diskpart /s partition.txt, but it didn't work, could you explain to me why have to use the RunSynchronousCommand other than RunAsynchronousCommand when work with diskpartYou'd need to create a diskpart script and save it in a location WinPE environment can access and then use a RunSynchronousCommand section to call diskpart with the script.