Skip to main content

CreatePartitions-BIOS.txt

rem == CreatePartitions-BIOS.txt ==
rem == These commands are used with DiskPart to
rem    create three partitions
rem    for a BIOS/MBR-based computer.
rem    Adjust the partition sizes to fill the drive
rem    as necessary. ==
select disk 0
clean
rem == 1. System partition ======================
create partition primary size=100
format quick fs=ntfs label="System"
assign letter="S"
active
rem == 2. Windows partition =====================
rem ==    a. Create the Windows partition =======
create partition primary
rem ==    b. Create space for the recovery tools
rem       ** Update this size to match the size of
rem          the recovery tools (winre.wim)
rem          plus some free space.
shrink minimum=500
rem ==    c. Prepare the Windows partition ======
format quick fs=ntfs label="Windows"
assign letter="W"
rem == 3. Recovery tools partition ==============
create partition primary
format quick fs=ntfs label="Recovery"
assign letter="R"
set id=27
list volume
exit

Comments

Popular posts from this blog

Create a Windows 10 x64 Enterprise USB Installer

Download Window 10 Enterprise 1809 with the Media Creation Tool The October 2018 release of Windows 10 has just dropped and is now availabe to download using the  Media Creation Tool . Using the GUI you can download the consumer ISO which contains the Home, Professional and Education SKUs of Windows 10. If you want to download the Enterprise version of Windows 10, but don’t have access to Microsoft VLSC or Action Pack subscriptions, it is possible to download it using the Media Creation Tool if you know the right command line switches. To download Windows 10 Enterprise 1809 using the Media Creation Tool, log in with a local administrator account (for some reason it isn’t good enough to  run the tool using Run as administrator, you actually do have to be logged in as an administrator) and download the tool. Open a CMD prompt and change directory to the directory you saved the Media Creation Tool in, and enter the following command: MediaCreationTool1809.exe /Eul...

ApplyImage.bat

rem == ApplyImage.bat == rem == These commands deploy a specified Windows rem    image file to the Windows partition, and configure rem    the system partition. rem    Usage:   ApplyImage WimFileName rem    Example: ApplyImage E:\Images\ThinImage.wim == rem == Set high-performance power scheme to speed deployment == call powercfg /s 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c rem == Apply the image to the Windows partition == dism /Apply-Image /ImageFile:%1 /Index:1 /ApplyDir:W:\ rem == Copy boot files to the System partition == W:\Windows\System32\bcdboot W:\Windows /s S: :rem == Copy the Windows RE image to the :rem    Windows RE Tools partition == md R:\Recovery\WindowsRE xcopy /h W:\Windows\System32\Recovery\Winre.wim R:\Recovery\WindowsRE\ :rem == Register the location of the recovery tools == W:\Windows\System32\Reagentc /Setreimage /Path R:\Recovery\WindowsRE /Target W:\Windows :rem == Verify the confi...

Example MDT rules config

A Thank you to Amine Lallali for providing me with this config file below Copy the below to rules.ini [Settings] Priority=Default Properties=MyCustomProperty [Default] OSInstall=Y SkipCapture=YES SkipAdminPassword=YES SkipProductKey=YES SkipComputerBackup=YES SkipBitLocker=YES EventService=http://SRVTST19:9800 AdminPassword=Whtc12345 SkipDomainMembership=YES ;<DOMAIN JOIN INFORMATION> ;NetworkLocation=Work SkipDomainMembership=YES JoinDomain=ict.local DomainAdmin=wds DomainAdminDomain=ict.local DomainAdminPassword=Whtc12345 SkipTaskSequence=NO TaskSequenceID=1 DriverSelectionProfile=Nothing DriverInjectionMode=ALL DriverGroup001=Windows 10 x64\%Model% FinishAction=REBOOT SkipDeploymentType=YES DeploymentType=NEWCOMPUTER SkipUserData=YES SkipLocaleSelection=YES KeyboardLocale=0809:00000809 UserLocale=en-US UILanguage=en-US SkipTimeZone=YES TimeZoneName=GMT Standard Time _SMST...