?
Solved

wdsclientunattend shutdown client computer

Posted on 2013-01-08
6
Medium Priority
?
1,240 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 40

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 40

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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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 40

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

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

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

This article is a collection of issues that people face from time to time and possible solutions to those issues. I hope you enjoy reading it.
An introduction to the wonderful sport of Scam Baiting.  Learn how to help fight scammers by beating them at their own game. This great pass time helps the world, while providing an endless source of entertainment. Enjoy!
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

765 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