Jump to content

Windows Recovery Environment from DVD


PC Problems

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

Link to comment
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
Link to comment
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.

Link to comment
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
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...