26
Tweaking.com Support & Help / Re: Registry Backup Beta
« on: July 25, 2012, 04:35:30 pm »
My automated Reg Backup has a total of 92 directories and 22 files.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
[6/11/2012 - 1:02:58 PM] Waiting for Volume Shadow Copy snapshot...
[6/11/2012 - 1:03:08 PM] Volume Shadow Copy Failed! vss_start.exe isn't running. vss_start.exe is needed to start the volume snapshot process.
[6/11/2012 - 1:03:08 PM] Is vss_start.exe Running: False
[6/11/2012 - 1:03:08 PM] Is vss_7_64.exe Running: False
[6/11/2012 - 1:03:08 PM] Is vss_pause.exe Running: False
<a href=http://msdn.microsoft.com/en-us/library/windows/desktop/ms724917%28v=vs.85%29.aspx >RegSaveKey function</a> so RegSaveKey function is what will show in the help.http://www.tweaking.com/content/page/repair_volume_shadow_copy_service.html to<a href=http://www.tweaking.com/content/page/repair_volume_shadow_copy_service.html>Repair Volume Shadow Copy Service </a> so you see Repair Volume Shadow Copy Service instead of the link itself. Use the help command to list all the following supported commands:
attrib del fixboot more set
batch delete fixmbr mkdir systemroot
bootcfg dir format more type
cd disable help net
chdir diskpart listsvc rd
chkdsk enable logon ren
cls exit map rename
copy expand md rmdir
@echo off
Rem Create the input command file for diskpart
echo list volume > tweak_diskpart_in.txt
echo exit >> tweak_diskpart_in.txt
Rem Run diskpart to get a list of volumes on this computer
diskpart < tweak_diskpart_in.txt | find "Partition" > tweak_diskpart_out.txt
Rem Process each line of output from diskpart. Extract the volume letter then
Rem pass that letter to CheckAndRun
for /F "eol=; tokens=2,3*" %%i in (tweak_diskpart_out.txt) do Call :CheckAndRun %%j
Goto Done
Rem See if the marker file is on the passed drive.
Rem Return to the calling for loop if not
Rem If yes then restore the registry to that drive.
:CheckAndRun
set WindowsDrive=
IF EXIST "%1:\Windows\tweaking.com-regbackup-DELL-P370-Microsoft-Windows-7-Professional-(64-bit).dat" set WindowsDrive=%1:
IF NOT DEFINED WindowsDrive goto :eof
echo Marker file found on %1
Rem
Rem Restore code goes here
Rem
set WindowsDrive=
IF EXIST tweak_diskpart_in.txt del tweak_diskpart_in.txt
IF EXIST tweak_diskpart_out.txt del tweak_diskpart_out.txt
exit /b
Rem Cleanup and end
:Done
IF EXIST tweak_diskpart_in.txt del tweak_diskpart_in.txt
IF EXIST tweak_diskpart_out.txt del tweak_diskpart_out.txt
list volume
exit Volume 1 D D370_D NTFS Partition 78 GB Healthy
Volume 2 E D370_E NTFS Partition 117 GB Healthy
Volume 3 F D370_F NTFS Partition 84 GB Healthy
Volume 4 System Rese NTFS Partition 100 MB Healthy System
Volume 5 C D370_C NTFS Partition 74 GB Healthy Boot
Volume 6 G D370_G NTFS Partition 698 GB Healthy
Volume 7 H D370_H NTFS Partition 542 GB Healthy Pagefile
Volume 8 I Win_8 NTFS Partition 78 GB Healthy
