Auto Restore with Norton Ghost 15

Is it possible to make Norton Ghost 15 boot on dvd or usb pen and auro restore a backup?

I know it was possible in earlier versions but I haven't found any documentation how to do it or if it is possible in ghost 15?

I would have to say yes, but you need to know how to use ImageX or DISM to make a custom boot.wim file with a script that automatically runs.

 

You would have to change Winpeshl.ini to call your batchfile or script to do the restore. From the SRD, open a command prompt and CD to Windows\Shell\V2i. Run the command "V2iSR.exe -?". A window will pop up with command line options tht are available.

 

V2iSR.png

If you look in boot.wim\Windows\Shell\, you can see two files to help you get started...

 

Extension.Auto.AutoRestore.xml.disabled

AutoRestore.cmd

 

If you remove the disabled extension from AutoRestore.xml it will automatically run AutoRestore.cmd. You will have to figure out what to change there.

 

You may need to rename Extension.Auto.ShowEula.xml to Extension.Auto.ShowEula.xml.disabled to not show the EULA.

I have same problem, and hope somebody can help me since I'm not tech savvy at all but I will try to make it clear:

I owned licensed cd and trying to make automatic restore (recovery) dvd solution for my mother win 7 64bit laptop
According to helpful youtube tutorial I'm using gimagex tool to mount .wim file and probably stuck on proper options or expressions in AutoRestore.cmd 

Unfortunately test did not run entirely successfully, just usual ghost boot happen

I started with multiple V2iSR launches in dos using different switches

but ended up creating virtual machine with additional hard disk in it and emulated dvd drive from file.

 

I'm using AutoRestore.cmd file to make changes to this (original):

 

@echo off

set TargetFile=AutoRestore.xml

:AutoRestore

call %ShellPath%\FindDrive.cmd "?:\VProRecovery\%TargetFile%" FoundDrive
if not "%FoundDrive%" == "" (
    %SystemRoot%\Shell\V2I\V2iSR.exe -locale %Locale% -RAF -ARF "%FoundDrive%:\VProRecovery\%TargetFile%" -DBG %Tmp%\VProRecovery.AutoRestore.Dbg -LOG %Tmp%\VProRecovery.AutoRestore.Log.txt
    if ErrorLevel 11259375 (
        if not ErrorLevel 11259376 exit 1
    )
    exit 0
)

exit 0</PRE><P>&nbsp;&nbsp;</P><P>and the one that fails:</P><P>&nbsp;</P><PRE>@echo off

set TargetFile=AutoRestore.xml

:AutoRestore

call %ShellPath%\FindDrive.cmd "?:\VProRecovery\%TargetFile%" FoundDrive
if not "%FoundDrive%" == "" (
    %SystemRoot%\Shell\V2I\V2iSR.exe -locale %Locale% -RAF -ARF "%FoundDrive%:\VProRecovery\%TargetFile%" -ODL E: -NUI -OHIR -OPP -ORM -ORU -OSA -DBG %Tmp%\VProRecovery.AutoRestore.Dbg -LOG %Tmp%\VProRecovery.AutoRestore.Log.txt 
    if ErrorLevel 11259375 (
        if not ErrorLevel 11259376 exit 1
    )
    exit 0
)

exit 0</PRE><P>&nbsp;</P><P>E: is 2nd hard disk in virtual machine needed to be recovered from dvd D: (emulated from .iso)</P><P>I'm not sure if I should make any changes to Winpeshl.ini after .cmd changed?</P><P>&nbsp;</P><P>Please help me figure this out!</P><P>Sorry for my English<img class="emoticon emoticon-catwink" id="catwink" src="http://norton.i.lithium.com/i/smilies/16x16_cat-wink.png" alt=":catwink:" title="Cat Wink" /></P><P>&nbsp;Thanks</P>

I wonder what would happen if you just created your own batchfile with the correct drive letters listed (as seen from WinPE)?

It doesn't look like it uses letters to me, but disk and partition numbers.

Check out -DDN <#> and -DPN <#>

 

 

Looks like it can use either..

-ODL = Destination Drive Letter.

Thanks Red, I guess I wasn't paying attention.

But I assume you would have to specify the image by path and filename.  I also see a few switches that shouldn't be there like restore anywhere.

 

That help screen really doesn't give much of a explination of the usage.  Maybe it would be easier to first try to do the recovery from the command line in the recovery enviroment before trying to add it into the disk.

 

Dave

All of the options above have failed. I've tried command line with different switches. but only progress bar flashed once

 

ghost_v2i.PNG

 

 

Nothing recovered, log file:

 

date: 2012-08-19T00:35:27.4050000Z Create SME object date: 2012-08-19T00:35:32.4280000Z Apply recovery date: 2012-08-19T00:35:32.4280000Z Error Restoring recovery point: [Error -325779448: Error EC950008: The computer must reboot for the restore to execute.] date: 2012-08-19T00:35:32.6930000Z Delete SME object date: 2012-08-19T00:35:32.6930000Z Last error: Error EC950008: The computer must reboot for the restore to execute. 

 

The same scenario with edited winpeshl.ini  to run AutoRestore.cmd  generates same errors in log

 

 

 

ghost_recovery.winpeshl.PNG

 

 

So far nothing restored. . I've tried with different drives and switches,  looks like I'm facing the same problem. Just don't know what else I can try:smileyindifferent:

Not sure if it matters, but the options are in CAPS and yours aren't. I don't know if it matters or not. I might have time to play around later or tomorrow.

I was able to test a small partition with 1 text file and was sort of able to get it to work. Not completely automatically though.

 

I used V2iSR -AYA -NUI -ODL "Z:" -OPP -SVF "F:\TEST.v2i"

It seems to work but file is not restored.

 

 

 

I used V2iSR -AYA -ODL "Z:" -OPP -SVF "F:\TEST.v2i"

click Next.. Finish.

 

It restores fine.

 

Gotta run..Bye!

 

In the previous post I was trying this in Virtual PC. I just tried on real hardware and this works perfectly..

V2iSR.exe -AYA -ODL "Z:" -NUI -SVF "F:\TEST.V2I"

 

I think you could create a batch file and call it from Winpeshl.ini. You could probably script it in Winpeshl.ini, but I think you have to do it in a strange way with commas or maybe like this..

 

[LaunchApps]

%windir%\Shell\V2i\V2iSR.exe," -AYA -ODL "Z:" -NUI -SVF "F:\TEST.V2I" -RAF"

 

 

I'm afraid to try with disk number / partition numbers because I have multiple drives and could easily wipe something out by accident!

 

I got brave and tried  -DDN 3 -DPN 2 instead of -ODL "Z:". I tried it without NUI (no user input) and AYA (answer yes all) switches so I could see what happened. What bothers me is Diskpart shows the drive as disk 3 and it should be disk 1. The recovery wizard shows drive 4! I have a 128GB SSD and 3 identical 1 TB drives. The SSD is drive 0. The drive that I created the Z partition on should be drive 1, partition 2. In other words the drive numbers can change. This is known by Microsoft... http://support.microsoft.com/kb/937251

This problem caused me to wipe out an entire HDD using Diskpart once!

In Virtual PC, I cannot get this to work with the -NUI switch. If I do not use -NUI, it works, but you have to click a couple of times to continue. Maybe this only works on some hardware?????