NÃO SEI SE POSTEI NA CATEGORIA CERTA, MAS DEIXO MINHA DÚVIDA...
olá abaixo vou deixar os dois scripts que eu usei para está realizando a formatação do Windows 10 PRO através do Diskpart e logo após minha dúvida.
Script1: executo ele assim: DiskPart /s G:\CreatePartitions-BIOS.txt
nome do arquivo 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=600
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
shrink minimum=15000
rem ** NOTE: Update this size to match the
rem size of the recovery tools
rem (winre.wim) **
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
Script 2:
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:\sources\install.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 ==
D:\gimagex\imagex.exe /apply E:\sources\install.wim 1 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 S:\Recovery\WindowsRE
attrib W:\Windows\System32\Recovery\winre.wim -s -h
xcopy /h W:\Windows\System32\Recovery\Winre.wim S:\Recovery\WindowsRE\
:rem == Register the location of the recovery tools ==
W:\Windows\System32\Reagentc /Setreimage /Path S:\Recovery\WindowsRE /Target W:\Windows /bootkey 3b00
:rem == copy install.wim to the Windows RE ==
xcopy E:\sources\install.wim R:\Recovery\WindowsRE\
:rem == Register the location of the recovery Image ==
W:\Windows\System32\Reagentc.exe /setosimage /index 1 /path R:\Recovery\WindowsRE\ /target W:\Windows
:rem == Verify the configuration status of the images. ==
W:\Windows\System32\Reagentc /Info /Target W:\Windows
- Eu fiz isso no Windows 7 e 8.1 e eu consegui restaurar eles para o padrão de fabrica utilizando a install.wim que criei personalizada, mas fiz a install.wim personalizada do windows 10 e execultei o scrpit acima, contudo na hora de restaurar
para o padrão de fabrica o windows 10 não usa a imagem install.wim que e coloquei da partição R:\Recovery\WindowsRE\install.wim...
- Porque eu não consigo fazer com que o windows 10 faça a restauração para o padrão de fabrica utilizando a install.wim que está na unidade R:?
- me ajudem resolver isso, só aparece restaurar o pc online e local ou pelo dvd, já usei as 3 opções nenhuma deu certo, o Windows foi restaurado, mas foi por uma imagem do windows que não da onde o windows 10 pegou, mas a minha install.wim ele
não usou, me ajudem...