Author Topic: Registry Backup Beta  (Read 314649 times)

0 Members and 1 Guest are viewing this topic.

Offline neroilo

  • Full Member
  • ***
  • Join Date: Jun 2012
  • Posts: 186
  • Karma: 9
    • View Profile
Re: Registry Backup Beta
« Reply #200 on: June 22, 2012, 08:20:05 am »
« Last Edit: June 22, 2012, 09:08:37 am by neroilo »

Offline Tomas_Sweden

  • Sr. Member
  • ****
  • Join Date: Oct 2011
  • Posts: 260
  • Location: Falköping
  • Karma: 7
    • View Profile
Re: Registry Backup Beta
« Reply #201 on: June 22, 2012, 12:04:34 pm »
Thanks for the help!

I tried "WMIDiag 2.1" and got this kind of error:
ERROR: WMI GET operation errors reported:   32 ERROR(S)!** - Root/CIMV2, MSFT_NetInvalidDriverDependency, 0x80041002 - (WBEM_E_NOT_FOUND) Object cannot be found.

I installed hotfix related to this, and I reset the repository after.
But everytime I run "WMIDiag" and get the same error.
Have tried "Windows repair" and repair WMI.

Tomas
Dell Laptop XPS L501X Intel i5-560M(2.66GHz), Win 7 Home Prem(SP1) 64 Bit, 4 GB RAM. Samsung SSD 850 PRO 256 GB.

Offline neroilo

  • Full Member
  • ***
  • Join Date: Jun 2012
  • Posts: 186
  • Karma: 9
    • View Profile
Re: Registry Backup Beta
« Reply #202 on: June 22, 2012, 01:33:13 pm »
WMIDiag often reports services not installed, not used or disabled on our system.

I think it's aimed mostly for enterprise users than home users.

However, if you have rebuilded the WMI repository, you should notice a performance boost when you try to open event viewer or task scheduler.
Except the fact you may have need to re-run the setup of some 3rd party products.

This is the MS advice:

Quote
Warning: Rebuilding the WMI repository has resulted in some 3rd party products not working until their setup is re-run & their MOF re-added back to the repository.
« Last Edit: June 22, 2012, 01:36:13 pm by neroilo »

Offline Shane

  • Administrator
  • Hero Member
  • *****
  • Join Date: Sep 2011
  • Posts: 9281
  • Location: USA
  • Karma: 137
  • "Knowledge should be shared not hidden."
    • View Profile
Re: Registry Backup Beta
« Reply #203 on: June 22, 2012, 09:13:22 pm »
Quote
And then I look at "user profiles" I now have "IIS APPPOOL\DefaultAppPool". Can that has something to do with I reinstall .net framework? Can I delete the profile?

Should be able to delete it.

Quote
I see that I got error in event viewer for "Registry Backup" "C:\Windows\SysWOW64\ntdll.dll" again.
I haven't try to disable IPV6 through network connection properties.
And I "run under system account" in task scheduler.
I created a new schedule in registry backup with 1.2.0, I deleted the old one.
But it seems that everything works, just that it says that there is an error in event viewer.

But the backup still worked?

Shane

Offline Tomas_Sweden

  • Sr. Member
  • ****
  • Join Date: Oct 2011
  • Posts: 260
  • Location: Falköping
  • Karma: 7
    • View Profile
Re: Registry Backup Beta
« Reply #204 on: June 23, 2012, 05:35:50 am »
Quote
But the backup still worked?

The backup works all the time. But I notice that sometimes vss fail to start and then "Registry Backup" uses api to backup instead, but that is quite rare.

Quote
However, if you have rebuilded the WMI repository, you should notice a performance boost when you try to open event viewer or task scheduler.

Yes I notice a little boost performance!

Quote
Except the fact you may have need to re-run the setup of some 3rd party products.

Do all program use WMI or how do I know which 3rd party products to reinstall?

Tomas
Dell Laptop XPS L501X Intel i5-560M(2.66GHz), Win 7 Home Prem(SP1) 64 Bit, 4 GB RAM. Samsung SSD 850 PRO 256 GB.

Offline Tomas_Sweden

  • Sr. Member
  • ****
  • Join Date: Oct 2011
  • Posts: 260
  • Location: Falköping
  • Karma: 7
    • View Profile
Re: Registry Backup Beta
« Reply #205 on: June 23, 2012, 06:28:12 am »
I had an other "Application error" with "Registry Backup", this doesn't happen all the time, but now and then.

In "Task Scheduler" I see the error "0xff" for "Tweaking.com - Registry Backup", but the backup is ok.

I don't know if this has something to do with it but then I edited the task, in Task Scheduler I changed "configure for" from "Vista" to "Windows 7". Now have I changed it back to vista.

Tomas
Dell Laptop XPS L501X Intel i5-560M(2.66GHz), Win 7 Home Prem(SP1) 64 Bit, 4 GB RAM. Samsung SSD 850 PRO 256 GB.

Offline Shane

  • Administrator
  • Hero Member
  • *****
  • Join Date: Sep 2011
  • Posts: 9281
  • Location: USA
  • Karma: 137
  • "Knowledge should be shared not hidden."
    • View Profile
Re: Registry Backup Beta
« Reply #206 on: June 23, 2012, 03:15:49 pm »
The new version should auto create the new task under windows 7. But you have to remove the old one first.

Delete the schedule, make sure it is gone and have the program create it, then go check it and it should be set to run under vista & 2008 and not xp. :wink:

Shane

Offline chris635

  • Sr. Member
  • ****
  • Join Date: Nov 2011
  • Posts: 442
  • Location: USA
  • Karma: 11
    • View Profile
Re: Registry Backup Beta
« Reply #207 on: June 24, 2012, 06:09:56 am »
Hey Shane,

    Under restore registry would it be possible to list back ups from newest to oldest in the drop down box?


Chris
Physical Science Technician
Avid Motorcyclist

Have a nice day - Chris

Offline Shane

  • Administrator
  • Hero Member
  • *****
  • Join Date: Sep 2011
  • Posts: 9281
  • Location: USA
  • Karma: 137
  • "Knowledge should be shared not hidden."
    • View Profile
Re: Registry Backup Beta
« Reply #208 on: June 24, 2012, 02:05:16 pm »
I was going to do that but run into the problem of systems with different date formats.

Good ol USA where I live does it different than the rest of the world. And I have the program save the folders with the format of date and time on the system.

Since each area is different it messes up when I try to sort them. I still am trying to find a way to handle all the different formats to sort properly. :wink:

Shane

Offline Ztruker

  • Jr. Member
  • **
  • Join Date: May 2012
  • Posts: 77
  • Location: Space Coast of Florida
  • Karma: 1
    • View Profile
Re: Registry Backup Beta
« Reply #209 on: June 24, 2012, 05:46:46 pm »
Isn't there a UTC time associated with each file?

For instance, In PHP, you can do this:

<?php
// outputs e.g.  somefile.txt was last changed: December 29 2002 22:16:23.
$filename = 'somefile.txt';
if (file_exists($filename)) {
    echo "$filename was last changed: " . date("F d Y H:i:s.", filectime($filename));
}
?>


I'd rather see the number of restore points shown increased. Currently you only show 8 and it can easily be increased to 20 or so.
Rich
The only thing that is certain is that nothing is certain - Heraclitus.

Offline Shane

  • Administrator
  • Hero Member
  • *****
  • Join Date: Sep 2011
  • Posts: 9281
  • Location: USA
  • Karma: 137
  • "Knowledge should be shared not hidden."
    • View Profile
Re: Registry Backup Beta
« Reply #210 on: June 24, 2012, 08:36:37 pm »
In my other programs I use to auto format the date so I always new what format it was in. I then had users complain they want the format as the same as their system. (My simple internet meter is an example of this) So in there I add the option to allow the user to set the format.

Quote
I'd rather see the number of restore points shown increased. Currently you only show 8 and it can easily be increased to 20 or so.

I am just using the built in combo box control with VB6. I will have to see if there is any API overrides for it or just find a custom control to replace it with :wink:

Shane

Offline Tomas_Sweden

  • Sr. Member
  • ****
  • Join Date: Oct 2011
  • Posts: 260
  • Location: Falköping
  • Karma: 7
    • View Profile
Re: Registry Backup Beta
« Reply #211 on: June 25, 2012, 04:56:15 am »
In "Restore Registry" and at "Select Backup To Restore" it would be nice if there were a shortcut to my backupfolder or that I could delete the backup that I don't want to save. Would it be possible to delete a backup from "combo box" in "Select Backup To Restore"?
 
I had an "Application error" again in "Task Scheduler", but the backup is ok. I did as you (Shane) said, deleted the old task and created a new, I run it under system account. But this is not a big deal for me.

Tomas
Dell Laptop XPS L501X Intel i5-560M(2.66GHz), Win 7 Home Prem(SP1) 64 Bit, 4 GB RAM. Samsung SSD 850 PRO 256 GB.

Offline Shane

  • Administrator
  • Hero Member
  • *****
  • Join Date: Sep 2011
  • Posts: 9281
  • Location: USA
  • Karma: 137
  • "Knowledge should be shared not hidden."
    • View Profile
Re: Registry Backup Beta
« Reply #212 on: June 25, 2012, 02:07:18 pm »
Quote
In "Restore Registry" and at "Select Backup To Restore" it would be nice if there were a shortcut to my backupfolder or that I could delete the backup that I don't want to save. Would it be possible to delete a backup from "combo box" in "Select Backup To Restore"?

I can do that :wink:

Shane

Offline Tomas_Sweden

  • Sr. Member
  • ****
  • Join Date: Oct 2011
  • Posts: 260
  • Location: Falköping
  • Karma: 7
    • View Profile
Re: Registry Backup Beta
« Reply #213 on: June 28, 2012, 09:18:21 am »
Shane I hope you had a nice birthday!?

I did a clumsy mistake, I choose to "restore" the registry, when instead I should have selected "Backup Now".

Once you have clicked the "Restore Now" is there some way to cancel? I can think of delete the backup before the reboot? which I did! Nothing happend then!

Maybe the program can have a "Are you sure you want to restore the registry now?" (or something like that) Ok or Cancel, then you click on "Restore Now" button.  The buttons under the tab "Backup Registry" and "Restore Registry" looks the same except for the text.
It's probably rare that someone makes the same mistake I did! haha  :cheesy:
 
Tomas
Dell Laptop XPS L501X Intel i5-560M(2.66GHz), Win 7 Home Prem(SP1) 64 Bit, 4 GB RAM. Samsung SSD 850 PRO 256 GB.

Offline Shane

  • Administrator
  • Hero Member
  • *****
  • Join Date: Sep 2011
  • Posts: 9281
  • Location: USA
  • Karma: 137
  • "Knowledge should be shared not hidden."
    • View Profile
Re: Registry Backup Beta
« Reply #214 on: June 28, 2012, 03:22:15 pm »
I can add a msgbox to the restore button to ask if the person is sure :wink:

Shane

Offline neroilo

  • Full Member
  • ***
  • Join Date: Jun 2012
  • Posts: 186
  • Karma: 9
    • View Profile
Re: Registry Backup Beta
« Reply #215 on: June 29, 2012, 04:00:03 pm »
I'm using Registry Backup 1.2.0 portable version, but with surphttp://www.tweaking.com/forums/index.php/topic,278.210.htmlrise I discovered it isn't really portable because it writes recovery console values in registry and a tweaking file in c:\windows.

I think it would be great:

1) an uninstall script in general to restore previous settings and deleting all files generated from the program.
2) generating a dedicated log file (history) of all written values or files created from the program, in the root of the Registry Backup's folder (including previous default values).

And another question... how can I create a registry backup from Windows Vista & 7 Repair Options?

It could be useful to backup a new Windows installation without any registry edit.
« Last Edit: June 29, 2012, 04:26:50 pm by neroilo »

Offline Shane

  • Administrator
  • Hero Member
  • *****
  • Join Date: Sep 2011
  • Posts: 9281
  • Location: USA
  • Karma: 137
  • "Knowledge should be shared not hidden."
    • View Profile
Re: Registry Backup Beta
« Reply #216 on: June 29, 2012, 04:27:26 pm »
Quote
I'm using Registry Backup 1.2.0 portable version, but with surprise I discovered it isn't really portable because it writes recovery console values in registry and a tweaking file in c:\windows.

This is needed. This is how the program can tell which drive Windows is on when doing a restore from the recovery console. It is only a few bytes big and is just needed for the dos recovery and nothing else.

The program is portable in that it can be ran from a thumb drive and run without needing to be installed. The point is to do proper backups of the registry. :wink:

Quote
And another question... how can I create a registry backup from Windows Vista & 7 Repair Options?

The registry are just files. If you have access to the files in the windows repair area you can simply copy them to another folder :wink:

Shane

Offline neroilo

  • Full Member
  • ***
  • Join Date: Jun 2012
  • Posts: 186
  • Karma: 9
    • View Profile
Re: Registry Backup Beta
« Reply #217 on: June 29, 2012, 04:43:14 pm »
The registry are just files. If you have access to the files in the windows repair area you can simply copy them to another folder :wink:

Shane

No doubt, but I'd like to create a batch file that reproduces exactly Registry backup folder structure (with respective files, of course).



Offline Shane

  • Administrator
  • Hero Member
  • *****
  • Join Date: Sep 2011
  • Posts: 9281
  • Location: USA
  • Karma: 137
  • "Knowledge should be shared not hidden."
    • View Profile
Re: Registry Backup Beta
« Reply #218 on: June 29, 2012, 04:45:41 pm »
You should be able to use the xcopy command.
http://ss64.com/nt/xcopy.html

It has an option on creating the folder structure :wink:

Shane

Offline Shane

  • Administrator
  • Hero Member
  • *****
  • Join Date: Sep 2011
  • Posts: 9281
  • Location: USA
  • Karma: 137
  • "Knowledge should be shared not hidden."
    • View Profile
Re: Registry Backup Beta
« Reply #219 on: June 29, 2012, 05:41:27 pm »
OK guys here is 1.2.1

Give it a test run before Sundays release :wink:

v1.2.1
Added a message box when restoring the registry asking if you want to restore. This is for the users who clicked restore that didn't mean to, this gives them the option to keep it from restoring :-)
Added a open backup location button to the restore section.
Added a delete this backup button to the restore section.
Increased the combo box drop down list size in the restore section. It will now show the whole list without needing to scroll, but only to the max height of the program. If the restore list is bigger than that then it will scroll. This keeps it from being to big and going off screen.

Shane

Offline Ztruker

  • Jr. Member
  • **
  • Join Date: May 2012
  • Posts: 77
  • Location: Space Coast of Florida
  • Karma: 1
    • View Profile
Re: Registry Backup Beta
« Reply #220 on: June 29, 2012, 07:56:42 pm »
1.2.1 looks good to me, though I do have one question.

Why do you have to select a backup point before the Open current backup location button is active? Would be nice to have that active before selecting anything as well as after selecting.  If nothing selected, open the root of the backup tree maybe???

Just an idea.
Rich
The only thing that is certain is that nothing is certain - Heraclitus.

Offline Shane

  • Administrator
  • Hero Member
  • *****
  • Join Date: Sep 2011
  • Posts: 9281
  • Location: USA
  • Karma: 137
  • "Knowledge should be shared not hidden."
    • View Profile
Re: Registry Backup Beta
« Reply #221 on: June 29, 2012, 08:05:19 pm »
I have it opening the backup folder of the current backup you have selected. :wink:

Useful if you want to open that backup in question to look at the logs.

Shane

Offline Tomas_Sweden

  • Sr. Member
  • ****
  • Join Date: Oct 2011
  • Posts: 260
  • Location: Falköping
  • Karma: 7
    • View Profile
Re: Registry Backup Beta
« Reply #222 on: June 29, 2012, 10:43:09 pm »
I like the changes! :cheesy: The program is even more "user friendly" now.

There is a misspelling then you click "Restore Now"-button, it says "Restore Registy Now" it should be "Restore Registry Now".

Tomas
Dell Laptop XPS L501X Intel i5-560M(2.66GHz), Win 7 Home Prem(SP1) 64 Bit, 4 GB RAM. Samsung SSD 850 PRO 256 GB.

Offline Shane

  • Administrator
  • Hero Member
  • *****
  • Join Date: Sep 2011
  • Posts: 9281
  • Location: USA
  • Karma: 137
  • "Knowledge should be shared not hidden."
    • View Profile
Re: Registry Backup Beta
« Reply #223 on: June 29, 2012, 11:09:46 pm »
I dont think people would take me seriously if it wasn't for spell check :-)

I got it fixed :wink:

Shane

Offline Shane

  • Administrator
  • Hero Member
  • *****
  • Join Date: Sep 2011
  • Posts: 9281
  • Location: USA
  • Karma: 137
  • "Knowledge should be shared not hidden."
    • View Profile
Re: Registry Backup Beta
« Reply #224 on: July 03, 2012, 10:16:40 pm »
OK need some testing and any feed back for v1.2.2 :-)

v1.2.2
Per user request you can now name each registry backup.

Let me know if anything should be changed or added :wink:

Shane