Tweaking.com Forums

Main Forum => Program & Site Requests => Topic started by: Willy2 on May 30, 2013, 04:50:39 AM

Title: Registry Backup v1.60
Post by: Willy2 on May 30, 2013, 04:50:39 AM
Here's another suggestion for RB v1.61:

As mentioned in this thread
http://www.tweaking.com/forums/index.php/topic,1115.0.html

WR comes with RB included. When WR is installed then it also installs RB. But a new user isn't aware of this program (RB) because the WR installation program doesn't place a shortcut to RB on the desktop.

Suggestions:
1. Place a shortcut to RB on the desktop.
2. Add a "Splash screen" to RB that pops up as soon as RB starts. In that "Splash screen" RB can give the user more details what the RB program is all about. (Yes, computer users are lazy ;-) ).
3. Add to that "Splash screen" an option called "Don't show this message again". This allows anyone who's familiar with the program to skip this "splash screen" and go directly to the program itself.
Title: Re: Registry Backup v1.60
Post by: Shane on May 31, 2013, 04:56:31 PM
Placing a shortcut ont he desktop with the Windows repair tool doesnt require a new version to RB, it is just a change in the setup to place the short cut.

Still not sure if I want to do that because people will think it is another program installed and if they uninstall the WR the RB goes with it.

As for the splash screen you would be shocked at how many people dont read a dang thing! lol

Shane
Title: Re: Registry Backup v1.60
Post by: Willy2 on June 11, 2013, 11:46:54 AM
When is RB v1.6.2 released ?

See also my suggestions in this thread:
http://www.tweaking.com/forums/index.php/topic,699.0.html
Title: Re: Registry Backup v1.60
Post by: Shane on June 11, 2013, 01:28:40 PM
I got 1.6.1 out right away because it fixed a crashing bug when it closes. So nothing for 1.6.2 just yet. And that old suggestion from dec 2012 I already said wouldn't work properly so I wasn't going to do it :-)

Hopefully my game will be out this weekend, just waiting to rerecord a few sounds. My next thing I want to focus on is an update for Windows repair. I want to get a ton more services added to it and get a nice update out for it.

Shane
Title: Re: Registry Backup v1.60
Post by: Willy2 on June 11, 2013, 02:54:52 PM
It seems you didn't go through all my suggestions in that thread. I made multiple ones, even after december 2012.

E.g. from March 23 & 24 of this year ? (reply #36 & 38) ?
http://www.tweaking.com/forums/index.php/topic,699.msg6713.html#msg6713 & later.
Title: Re: Registry Backup v1.60
Post by: Shane on June 11, 2013, 02:56:29 PM
I will need to rego through them then.

The last 3 months have been hell on me as I have worked so much and so hard to get this game done I cant think straight. I am looking forward to getting updates out for my programs.

Shane
Title: Re: Registry Backup v1.60
Post by: Willy2 on June 11, 2013, 03:05:44 PM
No need to rush it !!! :smiley: But I thought you've seen my suggestions.  :wink:  :smiley:

Watch your bank account !! A second donation is coming !!
Title: Re: Registry Backup v1.60
Post by: Shane on June 11, 2013, 03:11:18 PM
Make a note and after you see a new version of the Windows repair come out to remind me about your suggestions for RB :-)

Shane
Title: Re: Registry Backup v1.60
Post by: Willy2 on June 12, 2013, 11:46:19 AM
Found the place where Win 7 stores RB's crashdumps. See attachment.
When I look at the date of the dumps then it seems that - on average - less and less crashdumps were created (v1.5x & v1.60). It may be a bit premature but with v1.6.1 installed (as soon as it was released), up to now not a single RB crashdump showed up.
Title: Re: Registry Backup v1.60
Post by: Shane on June 12, 2013, 09:42:53 PM
I think I finally got the dang crashes fixed :-D

Shane
Title: Re: Registry Backup v1.60
Post by: Willy2 on June 30, 2013, 10:22:08 AM
RB needs WMI and VSS to run properly. Therefore, I think, adding the Tweaking.com stand alone WMI & VSS repait tool to the installer package would be a good idea.
Title: Re: Registry Backup v1.60
Post by: Willy2 on July 06, 2013, 11:42:54 AM
The program code of RB needs to be improved. After I tried to use the program, it failed and then this picture showed up. See attachment.
Title: Re: Registry Backup v1.60
Post by: Shane on July 08, 2013, 10:11:19 AM
Looks like the treeview didnt redraw, you see the part red? That is where the other window was open over it, so Windows redrew it properly. (Minimize it and bring it backup and it will look right because Windows redraws the Window when you do)

The rest didnt get refreshed so it didnt get redrawn.

I will take a look and see if I can for it to redraw.

Shane
Title: Re: Registry Backup v1.60
Post by: Willy2 on July 09, 2013, 07:59:22 AM
I Installed RB v1.61 about a month ago and since then Windows 7 didn't create a single Crashdump.  :cheesy: :cheesy:
Title: Re: Registry Backup v1.60
Post by: Shane on July 10, 2013, 01:23:59 AM
Very good to hear :-)

Shane
Title: Re: Registry Backup v1.60
Post by: Willy2 on July 13, 2013, 04:04:27 PM
I still don't like a number of things in RB v1.61:
- I think RB should always display the current backup folder in the settings menu. The default backup folder is "C:\regbackup" When I uncheck "Change Backup Location" then RB will backup in a subfolder of where RB is installed. OK, fine. But then let that folder show up in the "Settings menu" as well. And store that info in "Settings.ini".
- When there's internet connection available then RB keep saying "Checking ....". Just terminate that "Checking ..." after, say 1 or 2 minutes.
Title: Re: Registry Backup v1.60
Post by: Willy2 on August 01, 2013, 10:20:25 AM
- I can click on tabs when RB is busy making a "Shadow Copy". But when I do that then RB is guaranteed to fail to use the VSS method. Suggestion: Block/grey out, when RB is busy making a "Shadow copy", as much buttons/options as possible.
- Since installation of RB v1.61 in early june no RB crashdumps have shown up.  :cheesy:
Title: Re: Registry Backup v1.60
Post by: Shane on August 01, 2013, 04:42:44 PM
Quote
- I think RB should always display the current backup folder in the settings menu. The default backup folder is "C:\regbackup" When I uncheck "Change Backup Location" then RB will backup in a subfolder of where RB is installed. OK, fine. But then let that folder show up in the "Settings menu" as well. And store that info in "Settings.ini".

I have it clear because of it being portable. If you run it off a thumb drive on multiple computers and such I need to have it point to a default location.

I will work on an update on some of the things you pointed out later. I finally am done with the game and I want to put my focus into the Windows repair 2.0 :-)

Which of course you will be a big part of anyways lol

Shane
Title: Re: Registry Backup v1.60
Post by: Willy2 on August 03, 2013, 01:58:11 AM
RB contains a bug. I ticked "Always use the fallback method ...." and hit "Backup Now". Then RB uses a backup API to backup 10 of the 13 Win 7 hives. It then also doesn't create a "Log_vss.txt" file.
When I untick "Always use the fallback method ..... " then, according to the "Backup progress" window, RB uses VSS but then it seems it only backs up 10 of the 13 (Win 7) hives. Then RB also doesn't create a file called "Log_vss.txt" in the appropriate "C:\regbackup" subfolder. When RB uses the "Fallback" option then it creates 13 instead of 17 files in a "c:\Regbackup" subfolder.
So, RB fails to take into account that I have changed this option. I must restart RB to get this properly working again.

I also installed RB v1.61 on my XP laptop but there it has very hard time using VSS, in spite of the VSS & SWPRV services running. I then have to run WR to repair WMI and that seems to be the only trick to let RB succesfully use VSS. Because selecting "VSS_XP.exe" instead of "Auto Detect" doesn't help either. Did you change anything major/relevant in the programcode between RB v1.61 and say v1.60 or v1.52 ?

RB reads "settings.ini" upon start up. But I think RB should re-read that file right after the user has hit "Backup Now" and right before RB starts the actual back up process. Then it starts using the latest changes as well. That's the reason for this "Always use the fallback method ...... " bug.

There's a variable called "DidProperlyClose" (Settings.ini). It's set to "False" when the RB program starts. I think it should be set to this value right before the actual back up process starts and set to "True" as soon as the back up process has succesfully finished and not when the program closes.
Title: Re: Registry Backup v1.60
Post by: Willy2 on August 05, 2013, 02:08:03 PM
Did some more testing. When I start RB and make a backup (with the “Always use Fallback method” option selected) then RB operates like it should. But when I, after that, untick “Always use Fallback ......." then things start to go wrong:
The GUI suggests that RB uses the “Shadow Volume Copy” option:
- two progress bars show up.
- the text “ "Waiting for Volume Shadow Copy"“ shows up in the progress window.

But other things clearly suggest that RB uses the “Fallback” method:
- it doesn’t create a file “log_vss.txt” in the appropriate “C:\Regbackup” subfolder.
- In Win XP, RB says it backed up only 11 hives instead of all 12 hives. And in Win 7 it only backs up 10 instead of all 13 hives.
This clearly suggests that RB isn't "too stable".

- When I hit “Use fallback method” button then a message shows up that contains the words “for now on”. What’s meant by this ?  “for now” or “from now on” ?

- Before I repaired WMI, RB v1.61 had problems using VSS, even when I switched from "Auto detect" to "vss_xp.exe". That seems to suggest that WMI needs to function properly for both methods.
Title: Re: Registry Backup v1.60
Post by: Shane on August 06, 2013, 09:14:38 PM
I may have to do an update to the reg backup before the windows repair tool, I dont have Windows 8, I need to get my test machine back up. But a user said on the 8.1 preveiw it couldnt detect which version of Windows, so I need to see if it was WMI messed up or does 8.1 have a new version number? e.g: 6.2

Shane
Title: Re: Registry Backup v1.60
Post by: Willy2 on August 06, 2013, 11:24:31 PM
Yes. Good idea. Then you can go through all the other suggestions I made previously as well.

I thought Windows has a systemvariable (%winver%) that allows the user to see which OS is being used ?
Title: Re: Registry Backup v1.60
Post by: Shane on August 06, 2013, 11:30:45 PM
That is what I need to check.

Then when I do the update I can go over your posts here.

Shane
Title: Re: Registry Backup v1.60
Post by: Willy2 on August 06, 2013, 11:44:48 PM
See also:
http://www.tweaking.com/forums/index.php/topic,1115.0.html
Title: Re: Registry Backup v1.60
Post by: Willy2 on August 07, 2013, 07:41:18 AM
I forgot to report one more thing. When I installed RB v1.61 on my XP laptop then it regularly gave an error message ("RB caused an error and needs to be closed") when it was making a backup upon start up. When I looked at the logfiles, it seemed (!!) that it succesfully made a back up and when it wanted to close itself the program caused this error.

But after I repaired WMI this error didn't occur anymore. Is there anything in that part of the program code that uses WMI ?
Title: Re: Registry Backup v1.60
Post by: Shane on August 10, 2013, 01:26:39 AM
It uses wmi to pull the system info. Which I am thinking of redoing and to have the api get the info instead of wmi.

Shane
Title: Re: Registry Backup v1.60
Post by: Willy2 on August 10, 2013, 12:37:59 PM
Currently I have SWPRV related problems on my XP laptop. Perhaps that was the source of RB malfunctioning. Perhpaps later more.
Title: Re: Registry Backup v1.60
Post by: Willy2 on August 11, 2013, 02:11:20 AM
Re-installed XP and now the SWPRV service is funtioning normal again. I noticed that both Windows System Restore & RB turn the VSS & SWPRV services on. Perhaps some program interfered with those services and then (one of) these two services "were thrown off the rails".
Title: Re: Registry Backup v1.60
Post by: Willy2 on August 14, 2013, 11:34:47 AM
- The combination of RB and Task Scheduler doesn't produce stable results on my XP machine. When the RB Task is run under the System Account upon start up, the RB Task isn't run at all. But it works well when run under the User Account. And the name & timestamps of the folder/files (in "C:\regbackup") involved do confirm that.

I used Piriform's CCleaner (CC, http://www.piriform.com/ccleaner) to check what it would report on Task Scheduler (The Win 7 Task Scheduler has one or more non fatal bugs). CC has an option that lets the user see what's in Task Scheduler (Click "Tools", "Start Up", "Scheduled Tasks" in CC) and it confirmed what I wrote above. CC recognizes the RB Task when run under the "User Account" but it fails to recognize the RB task when it's supposed to run under the System Account. And then, of course, Windows won't recognize it as well and won't execute the RB Task.

This also could be the reason for other odd behaviour as described in previous posts. I have added the Task Scheduler Jobs as created by RB for XP for both accounts (both 32 bits) in the attachment.

Do these bugs/this odd behaviour apply to other versions of Windows as well ? Did you change that particular part of the program code in recent RB versions ? I noticed that a Win 8 user had a similar problem.

- Another confusing thing in RB: When RB has used the "Fall back" method once (because VSS doesn't work) then the text (in yellow) "Currently using the Fallback .............." shows up. When the user makes a second copy then first RB tries to use VSS again. But then the text "Currently using Fallback method ........... " isn't removed/blanked out. Very confusing. That text should - IMO - be removed when RB tries to apply the VSS method and show up (again) only when RB starts/tries to use the fallback method (again !!).

These problems clearly suggest RB needs an upgrade, needs to be improved.
Title: Re: Registry Backup v1.60
Post by: Shane on August 15, 2013, 04:00:53 PM
I will be working on an update soon.

As for not running under the system account I am not sure. Only thing I can think of is something isnt right with the system account. I have seen that before on Windows xp and 2003, where the authentication on the system is messed up.

Shane
Title: Re: Registry Backup v1.60
Post by: Willy2 on August 17, 2013, 02:26:53 AM
Perhaps my HD from my XP laptop is to blame. It's manufactured in 2003 but CHKDSK reported no disk errors. Odd.

Placed a shortcut in one of the "start up" folders and now it works fine (even with VSS). So, the problem seems to be the System Account.
That brings me to another thought. Does RB need Task Scheduler to perform properly ? Or perhaps it can be started with an entry in the appropriate registry key ?
Title: Re: Registry Backup v1.60
Post by: Shane on August 26, 2013, 06:48:55 PM
I have it use the task scheduler because of the user access control. Only way to make it work without popping up asking for permission on Windows vista and newer :wink:

Shane
Title: Re: Registry Backup v1.60
Post by: Willy2 on August 26, 2013, 07:20:19 PM
After doing A LOT OF testing I - more and more - DO get the impression (I have ZERO proof) that Microsoft is VERY desparate to get Windows 8 working, to improve Windows 8. The problem with that is that other parts of their OS software (XP, Vista, Win 7) don't get the attantion they deserve. In other words, it seems Microsoft is getting "(a little bit) sloppy" when it comes to their OS updates. That could (!!!) be the reason programs like RB don't work too well anymore. But it's all a hunch, an impression.
Title: Re: Registry Backup v1.60
Post by: Shane on August 26, 2013, 09:38:32 PM
Unless they did change something on the system there shouldnt be any reason why reg backup is having trouble.

I run it on multiple xp machines with all updates and there isnt any problems.

Shane
Title: Re: Registry Backup v1.60
Post by: Shane on August 27, 2013, 02:28:53 PM
I just wanted to let you know I am going down the list and making changes to the reg backup.

On the task scheduler.

When ran as system it is set to run at system startup. When ran as current user it is set to run at the log in of any user.

I think that is why your having trouble with it under the system account. It is running at startup and most likly before other services and such are running.

So I am going to have the system account run at user logon instead just like I have the others.

Shane
Title: Re: Registry Backup v1.60
Post by: Willy2 on August 27, 2013, 11:59:45 PM
I tried number of things to get RB properly function on my XP laptop but to no avail. Even when I use a shortcut placed in a "Startup" folder then even then VSS won't work. It seems XP needs to "warm up" for, say 5 or 10 minutes before VSS starts to work. So, more and more I believe my XP machine is to blame. Something in the current setup blocks VSS from working.
Title: Re: Registry Backup v1.60
Post by: Shane on August 28, 2013, 12:41:53 AM
I will have the new version ready for you to try if you like :-)

I have everything done, I wanted to look to see if I can find a way to handle when user profiles are on a different drive letter, works fine with fall back but not with vss. But very few people have their profiles on a different drive so dont know if I will let me hold back the new version.

All I need is some testing. Want to get your hands on it? I am trying to decide to call it v1.6.5 or 1.7.0 because of the amount of code changes I made.

Shane
Title: Re: Registry Backup v1.60
Post by: Willy2 on August 28, 2013, 05:10:41 AM
Send it. You know my email adress.
Title: Re: Registry Backup v1.60
Post by: Willy2 on September 03, 2013, 05:55:35 AM
First impressions for RB v.165:
- Still not able to run VSS on my XP laptop. For the time being I blame it on the fact that I registered too much files.
- I installed RB v1.65 in the WR v1.9.15 subfolder. But now when RB is started then the GUI is opened in a window and it doesn't show the full RB GUI.
Title: Re: Registry Backup v1.60
Post by: Shane on September 03, 2013, 04:04:19 PM
Make sure to delete ALL the files out of the reg backup folder in WR first. I changed some files and need to make sure the new files are put in there.

Shane
Title: Re: Registry Backup v1.60
Post by: Shane on September 03, 2013, 06:34:23 PM
I checked and it is when the -auto is used. I am making a new exe for the reg backup that will be with the windows repair and have that fixed.

Shane
Title: Re: Registry Backup v1.60
Post by: Willy2 on September 06, 2013, 06:44:26 AM
Came across something interesting. I ran RB (v1.67) from WR but making a RB backup takes about 1 minute. I didn't want to wait for RB to finish and went to the main WR repair screen. And before I started any WR Repair, I kept watching RB making its backup and noticed that a backup with VSS failed. RB then started to use the FallBack method. Fearing VSS was broken, I went back to "Step 4" in WR and made a new RB registry copy. But it turned out that VSS was still "alive and kicking".

@Shane: You're familiar with the WR & RB program code. Would this behaviour give you a (better) clue why VSS, doesn't work (in a number of cases) ?
Title: Re: Registry Backup v1.60
Post by: Shane on September 06, 2013, 03:40:55 PM
The program only calls VSS to make a snap shot, from there it is on its own. Then my program waits for the shanpshot. If VSS has trouble or fails the vss script doesnt say it was good and so my program uses the fall back.

Shane
Title: Re: Registry Backup v1.60
Post by: Willy2 on September 17, 2013, 01:09:37 PM
But this behaviour also tells me that some program code WR uses "gets in the way" of VSS functioning properly.