- I also noticed that sometimes the GUI of RB does not align/overlaps with the Windows window and then Windows shows part of its own window and displays the name "Tweaking .................. " in the header. See the red Arrow in the top of the picture I attached. Does some information get passed along to Windows quickly enough ?
That one I dont know. The window has a normal frame and boarder around it, I call a Windows api to remove it. This is the only way to keep the right click menu on in the task bar for it, because windows removes the right click for boarder less windows. So why the API is having trouble on yours I dont know, but I do know it is graphical so i want if video drivers might be playing a part.
I had RB v3.41 installed in a special folder outside the "Program Files (x86)" folder. When I (manually) start RB then CPU usage goes up to 25% on a 4 core CPU (one core maxed out). RB notices that the previous backup attempt failed and RB displayed the message "Backup failed. Would you like to use the "Fallback method" instead ?". When this message pops up then CPU of RB drops to zero. As soon as I make a choice CPU went back up to 25%. CPU drops back to zero only when the helper program(s) "vss ................... " starts running.
When you first open the program it will go as fast as the cpu can do on the one core, it is loading all the controls, graphics and then loading the treeview and all that. When the startup of it is done then it would pop up that message box. And while a message box is open the program cant do anything since it is single threaded. Then when you tell it to do the fallback method it is going to work on the backup, of course it is going to go as fast as it can.
It is calling the windows api to save the registry to new files, it it coping them, grabbing their file size, getting their permissions and so on.
When it comes to using the VSS method the cpu isnt doing anything because the program is waiting for the shadow copy to be ready. Then it kicks in.
You shouldn't worry about the cpu usage, I want the program going as fast as it can. Now if the cpu was maxed out and the program was frozen, then that would be a problem.
- Sometimes I am able to make a copy of the registry using RB. But then regularly RB crashes after that copy has been made and before the RB GUI closes.
Yeap and you will see the backup did create. This has been a bug for a while now and I already figured out what it is with another user. The program is opening and closing so fast that all the graphics and such are not done drawing. Then the program goes and closes itself before the graphics where done and bomb we have a crash.
I had a hard time replicating it on my system, I did put in code to slow down the auto backups to give the graphics time to catch up. This is also why it never crashes when ran normally.
Problem is I have been able able to trace where the crash is coming from. I also have a very powerful gaming computer I work on and have a very good graphics card. So the graphics draw fast, I think thats why I cant replicate it. I also noticed it happens more when it is ran at startup from the system account.
Shane
Shane