SCCM 2007 : VBS: How to detect windows partition and winre (or bitlocker) partition if you are in WinPE into TS

You are in WinPE.... Windows partition is not always C:, because if you do a refresh with a winre partition, winpe will assign C: to this partition but windows is not there. So you have to determine, always, where is C: Yes, it could be "#disk 0 #partition...