Solved

wdsclientunattend shutdown client computer

Posted on 2013-01-08
6
1,178 Views
Last Modified: 2013-03-04
Hi,

I am using WDS (2008R2) to deploy  a preconfigured and syspreped Windows 7 image for a client. My WDS server is fully fonctional, i am able to boot from the PXE, join the multicast session and push the image to the client computers.

I have a wdsclientunattend.xml file all the settings are working correctly (user id, password, partition modification...) exept the setting that tells the computer to shutdown before OOBE.

In Pass 1, Windows PE, I have set the Restart setting to Shutdown (
<Restart>Shutdown</Restart>) but the computers are rebooting.

In the help  file it says "Restart specifies whether to restart or to shut down the computer after the windowsPE configuration pass. This setting is specific to Windows PE scenarios. Once image-based installation begins, this setting is ignored." .

Anybody know how I can shut down the computers after the image is applyed to the drive??

Thank you.
0
Comment
Question by:Integrateur
  • 3
  • 3
6 Comments
 
LVL 39

Expert Comment

by:footech
ID: 38762425
To be honest, I'm not familiar with that setting, but just from the description I would say it won't work with a WDS install.

If all you want to do is push out an image I would look at other solutions for this.
0
 

Author Comment

by:Integrateur
ID: 38764304
I did it with a custom WinPE boot image. I took the WinPe from Windows 7 AIK and added WDSMCAST.EXE and IMAGEX.EXE to it.  I made a batch files to run DISKPART to create the OS partition, copy my .wim file and my .rwm file (reference file) to the local C: drive using the WDSMCAST.EXE. After that I used IMAGEX to apply the image to the drive.  

After that I will use BCDBOOT to initialize boot configuration.
0
 
LVL 39

Expert Comment

by:footech
ID: 38764690
I don't think I'll be able to help with this.  I'm familiar with WDS and answer files, but I haven't gotten into using WinPE like this.

I recommend that you use the Request Attention button try to get other experts to help with this one.  Good luck.
0
Complete Microsoft Windows PC® & Mac Backup

Backup and recovery solutions to protect all your PCs & Mac– on-premises or in remote locations. Acronis backs up entire PC or Mac with patented reliable disk imaging technology and you will be able to restore workstations to a new, dissimilar hardware in minutes.

 

Accepted Solution

by:
Integrateur earned 0 total points
ID: 38828596
Its all working good.  With my custom WindowsPE wim file (boot.wim). Its booting frow PXE and it is fully unattend.

STARTNET.CMD

wpeinit

diskpart /s x:\windows\system32\diskpart.txt

md c:\temp

@echo ------------------------------------------
@echo Copie de l'image  c:\temp
@echo ------------------------------------------
@echo *
@echo *
@echo *
@echo *
@echo *
@echo *
@echo *

WDSMCAST /progress /verbose /Transfer-File /Server:wds01 /Username:entrepot\administrator /Password:***** /Namespace:WDS:universite/w7_64_XPMTT6470_6300V1_2_1.wim/1 /SourceFile:w7_64_XPMTT6470_6300V1_2_1.wim /DestinationFile:c:\temp\w7_64_XPMTT6470_6300V1_2_1.wim


WDSMCAST /progress /verbose /Transfer-File /Server:wds01 /Username:entrepot\administrator /Password:***** /Namespace:WDS:universite/w7_64_XPMTT6470_6300V1_2_1.wim/1 /SourceFile:res.rwm /DestinationFile:c:\temp\res.rwm



imagex /apply c:\temp\w7_64_XPMTT6470_6300V1_2_1.wim 1 c:\ /ref c:\temp\res.rwm

@echo *
@echo *
@echo *
@echo *
@echo *
@echo *
@echo *

del c:\temp\*.* /q

bcdboot C:\Windows

@echo -------------  BYE BYE  -------------

Shutdown -s -t 10




DISKPART SCRIPT (diskpart.txt)

SELECT DISK 0
CLEAN
CREATE PARTITION PRIMARY
FORMAT QUICK FS=NTFS LABEL="Windows"
ACTIVE
ASSIGN LETTER="C"
list partition
EXIT
0
 
LVL 39

Expert Comment

by:footech
ID: 38841274
Glad you got it working.  You can accept your own post as the solution.
0
 

Author Closing Comment

by:Integrateur
ID: 38949195
Found it myself
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Recently Microsoft released a brand new function called CONCAT. It's supposed to replace its predecessor CONCATENATE. But how does it work? And what's new? In this article, we take a closer look at all of this - we even included an exercise file for…
When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup". After a while, you have entered a loop for Auto repair which does not fix anything and you will be in a  panic as all your work w…
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now