New
#1
Need partitioning script for unattended install
Hi
I already have a working answer file but it works with wiping/formatting the whole disk. Can't figure out how to do this without wiping the disk, it would be useful for friends[remote ones] who like to clean install without interaction. (if one has important files on a single partition or multiple important partitions)
so a script for:
1- Looking for multiple partitions
a1- if one partition is present [only C:] then >
a?- need to delete existing OS-related files like Program Files (x86)/Program Files/Program Data/Windows/?, boot records, etc because we want to delete only windows files and other OS-related partitions [both for GPT/MBR disks] (so we won't delete Users[Downloads/Desktop, etc] or custom folders)
a2- Look for empty space ie. 40-80?gb, if present >
a3- make new partition(s) to install windows.
b1- if multiple partitions are present [C:/D:/?:] then >
b2- Look for windows Partition and other OS-related partitions [both for GPT/MBR disks] to delete them >
b3- make new new partition(s) to install windows.
c- set(find) identifiers for created partitions for ImageInstall > OSImage > InstallTo step
2- where to place this script?
3- adding to the answer file is necessary? it can be self/auto executed?