[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

wdsclientunattend shutdown client computer

Posted on 2013-01-08
6
Medium Priority
?
1,248 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
6 Comments
 
LVL 41

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 41

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
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 

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 41

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

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this modest contribution, I want to share with the IT community (especially system administrators, IT Support Engineers and IT Help Desks) about Windows crashes/hangs and how to deal with these particular problems.
IF you are either unfamiliar with rootkits, or want to know more about them, read on ....
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…

649 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