Jump to content
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble

MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, register and become a site sponsor/subscriber and ads will be disabled automatically. 


Sign in to follow this  
PC Problems

Windows Recovery Environment from DVD

Recommended Posts

Right, I figured out that the command goes in the startnet.cmd !! :thumbup

@ Jaclaz

Ok - so reading the post the CLJone "script" will fail with card readers, ok i get that.

Now imagine your "code" is an aeroplane, the plane left the runway and went straight OVER MY HEAD until it ran out of fuel - lol :blink: :blink:

What do I do with your code, copy it in to the startnet.cmd or something else? :whistle:

I used CLJone script and it worked, but version 1002a requires Jaclaz's code; please kindly clarify...

Thank to all so far for your really helpful replies... Without whom etc...

Mike

Share this post


Link to post
Share on other sites

No, it won't "fail": it may prompt with an error message and you'll have to click on it to continue.

This:

set tagfile=OEM
for /f "tokens=1 delims=: " %%? in ('mountvol.exe ^|find ":\"') do (
dir %%?:\%tagfile% >nul 2>&1 && set CDDRIVE=%%?:
)
if not defined CDDRIVE (
goto EOF
)

  1. Sets variable "tagfile" to value "OEM", runs, search for the value of the variable i.e. for the tagfile "OEM" and sets variable "CDDRIVE" to the found drive letter.
  2. If no drive is found with the tagfile, it ends the batch.

The example previously posted:

  1. assumes "DVD.TXT" to be the tagfile, searches for it and sets variable "DVD" to the found drive letter.
  2. runs imagex using as source the found drive letter, applying the wim to drive C:

you should be able to join the dots.... :whistle:

jaclaz

Edited by jaclaz

Share this post


Link to post
Share on other sites

TY Jaclaz

I will attempt to join the dots later today :rolleyes:

Because this is primarily aimed at end users, I just need to add an ending...

So at the end of the apply and bcdboot, I would like to echo "The system Recovery has finished successfully, please remove the DVD from the drive, and press any key to reboot..."

How do I actually achieve this, how do i make any key = exit?

Also this works like a dream so far, and completey recovers the partitions and OS in around 12 mins.... not bad.

Thanks Mike.

Share this post


Link to post
Share on other sites
So at the end of the apply and bcdboot, I would like to echo "The system Recovery has finished successfully, please remove the DVD from the drive, and press any key to reboot..."

Good. :)

See if any of these work in that environment:

http://www.technize.com/2008/07/11/four-wa...ray-in-windows/

http://www.alexnolan.net/software/commandline.htm

http://www.softpedia.com/progDownload/Ejec...load-41030.html

http://www.techtalkz.com/tips-n-tricks/397...-tool-here.html

Rerun it and change the message to ;):

"The system Recovery has finished successfully, please remove the DVD from the OPENED drive TRAY, and press any key to reboot..."

We try to please end users, and we do it harder.

:P

jaclaz

Edited by jaclaz

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...