您的位置:首頁技術文章
文章詳情頁

Windows Vista Network部署腳本

瀏覽:24日期:2023-08-09 18:08:03

這些腳本是創建一個 WinPE network Vista 部署腳本。

startnet.cmd -

@echo off

@echo Initializing network...

wpeinit

@echo Waiting for network services...

:StartMon

ping -n 1 wds > NUL

if not %ERRORLEVEL%==0 GOTO StartMon

@echo Mapping network resource

net use g: wdswinbits /user:opk-wdsadministrator dev

g:

@echo Captureing image

imagex /capture fast /check /capture c: g:install.wim “Vista Ultimate”

startnet.cmd -

@echo off

@echo Initializing network...

wpeinit

@echo Waiting for network services...

:StartMon

ping -n 1 wds > NUL

if not %ERRORLEVEL%==0 GOTO StartMon

@echo Mapping network resource

net use g: wdswinbits /user:opk-wdsadministrator dev

g:

@echo Partitioning hard drive

diskpart /s diskpart.txt

@echo Applying image

imagex /apply g:install.wim 1 c:

To partition the hard disk use diskpart /s diskpart.txt

Diskpart.txt

select disk 0

clean

create partition primary

select partition 1

active

format FS=NTFS quick

exit

標簽: Windows系統
国产综合久久一区二区三区