Welcome to TechNet Blogs Sign in | Join | Help
Windows Vista Network Deployment Scripts

These are the scripts used when creating a custom WinPE for network Vista deployment. 

 

startnet.cmd - <Capture an Image>

@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 - <Apply an Image>

@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

 

Posted: Wednesday, February 28, 2007 9:13 PM by BOBblog
Filed under: , ,

Comments

Stay at home mom resource for making extra money online. said:

Be sure to check out the Familytime. mine planner from Tanglewood Press. Border\'s Books sells it. It has sections for seasonal, monthly, and weekly views with large blocks for each day. It\'s a 17- month planner that begins in September and runs through

# August 19, 2008 4:21 AM
Anonymous comments are disabled
Page view tracker