三月 01, 2007
Windows Vista Network 部署脚本
由. xx appbeta 将文章归档于 翻译文章
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: \\\\wds\\winbits /user:opk-wds\\administrator 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: \\\\wds\\winbits /user:opk-wds\\administrator 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 Vista Network 部署脚本
关键词:
Vista Network 部署脚本
引用: http://www.creative-weblogging.com/cgi-bin/mt-tb.pl/62085



































