Author Topic: All In One Repair  (Read 24925 times)

0 Members and 1 Guest are viewing this topic.

Offline Oscar

  • Full Member
  • ***
  • Join Date: Dec 2012
  • Posts: 220
  • Karma: 0
    • View Profile
All In One Repair
« on: March 05, 2013, 02:36:03 pm »
Hi Shane

Ran the latest 1.9.12 and i had to skip (un tick) the RESET REGISTRY PERMISSIONS although 01/03 went through ok, but 02/03 and 03/03 didn't. It was taking for ever.

Interesting that version 1.9.10 had little problem with this.

Also the Vista Windows Updates seem to be working with no pending.

Thanks again


Offline Shane

  • Administrator
  • Hero Member
  • *****
  • Join Date: Sep 2011
  • Posts: 9281
  • Location: USA
  • Karma: 137
  • "Knowledge should be shared not hidden."
    • View Profile
Re: All In One Repair
« Reply #1 on: March 06, 2013, 11:19:03 am »
The reg permissions repair hasnt changed at all since v1.9.10

There are over a million keys that have to be gone through. And the exe that is setting the permissions needs as much cpu as possible. The fast the machine the faster the repair.

But if the machine is slower and you have other things using the cpu it will slow it down.

An example, ran all the repairs on a new machine total time was 15 min.

Ran it on a older machine with 2 core cpu took 40 min.

Then I had a 8 year old xp laptop, 1 core cpu and the system itself was so slow you where lucky to open even firefox in under 3 min. The repairs took 4 hours.

The CPU plays a big part as there is a lot of work to be done.

Shane

Offline Oscar

  • Full Member
  • ***
  • Join Date: Dec 2012
  • Posts: 220
  • Karma: 0
    • View Profile
Re: All In One Repair
« Reply #2 on: March 06, 2013, 11:46:05 am »
Thank you

It actually stalled, hadn't moved for about 40 minutes

Is there anything i can do, would rather do the whole reapair without skipping (unticking)?

Thanks again

Offline Shane

  • Administrator
  • Hero Member
  • *****
  • Join Date: Sep 2011
  • Posts: 9281
  • Location: USA
  • Karma: 137
  • "Knowledge should be shared not hidden."
    • View Profile
Re: All In One Repair
« Reply #3 on: March 06, 2013, 11:50:26 am »
Are you sure it stalled? It would have had a command window open showing that it was working. It would change to red with white text and you would see the modified number grow.

Try it again and get me a screen shot if it stalls again :-)

Shane

Offline Oscar

  • Full Member
  • ***
  • Join Date: Dec 2012
  • Posts: 220
  • Karma: 0
    • View Profile
Re: All In One Repair
« Reply #4 on: March 06, 2013, 12:14:40 pm »
Yes that window does appear but stops, Modified, failed etc.

Offline Shane

  • Administrator
  • Hero Member
  • *****
  • Join Date: Sep 2011
  • Posts: 9281
  • Location: USA
  • Karma: 137
  • "Knowledge should be shared not hidden."
    • View Profile
Re: All In One Repair
« Reply #5 on: March 06, 2013, 12:16:02 pm »
So the modified never changes?

Shane

Offline Oscar

  • Full Member
  • ***
  • Join Date: Dec 2012
  • Posts: 220
  • Karma: 0
    • View Profile
Re: All In One Repair
« Reply #6 on: March 06, 2013, 03:53:25 pm »
Hi Shane yes that's right + the others.

I have attached what i ran again (just these only).

Sat on 86500 for about half an hour

This happens most of the time but very very rarely goes through ok.

Thanks again

Offline Shane

  • Administrator
  • Hero Member
  • *****
  • Join Date: Sep 2011
  • Posts: 9281
  • Location: USA
  • Karma: 137
  • "Knowledge should be shared not hidden."
    • View Profile
Re: All In One Repair
« Reply #7 on: March 07, 2013, 08:16:28 pm »
I see my CleanMem mini monitor on your screen shot and it shows the system is almost full on the ram. Not sure if that has anything to do with it.

Next time it happens check the task manager for subinacl.exe

That is the file the program uses to set the permissions. Is it maxed out on cpu when it happens?

Shane

Offline Oscar

  • Full Member
  • ***
  • Join Date: Dec 2012
  • Posts: 220
  • Karma: 0
    • View Profile
Re: All In One Repair
« Reply #8 on: March 08, 2013, 03:50:06 pm »
Hi Shane i have attached a screen shot.

The “subinad exe” seems to swap with “system idle process “approximate values, occasionally.
The HKEY Local Machine was running at the time.

Thanks again

Offline Shane

  • Administrator
  • Hero Member
  • *****
  • Join Date: Sep 2011
  • Posts: 9281
  • Location: USA
  • Karma: 137
  • "Knowledge should be shared not hidden."
    • View Profile
Re: All In One Repair
« Reply #9 on: March 10, 2013, 12:44:02 pm »
Well the program isnt locked up, the tool is using CPU. I wonder if ti got stuck in a loop. You may have to skip that repair on that system for now on.

http://www.tweaking.com/articles/pages/windows_repair_all_in_one_tips,1.html

Quote
Important Info on Reset Registry Permissions & Reset File Permissions
Both of these repairs will take a little bit to complete, depending on the speed of the system, the number of files and the number of reg keys. On a few systems it is possible for these repairs to get stuck in an infinite loop and thus never complete. This is because of symbolic links http://en.wikipedia.org/wiki/Symbolic_link

Symbolic links are a way for a folder or reg key to point to a different location. On a normal system this isn't a problem. But if a system has a bad link that points back to a parent path then everything it hits in that link it will hit it again and again forever.

Example:
C:\Test\Test1\Test2
Test2 has a symbolic link that points back to C:\Test, and now we are stuck in an infinite loop since the repairs do all sub folders and sub keys and will keep hitting Test2.

If the repairs are running for a insane amount of time then they are most likely stuck in a loop. If that is the case stop the repairs and skip them.

Shane

Offline Oscar

  • Full Member
  • ***
  • Join Date: Dec 2012
  • Posts: 220
  • Karma: 0
    • View Profile
Re: All In One Repair
« Reply #10 on: March 11, 2013, 01:37:18 am »
Hi Shane thank you

Do you think you will be able to cover this in the updates?


Offline Shane

  • Administrator
  • Hero Member
  • *****
  • Join Date: Sep 2011
  • Posts: 9281
  • Location: USA
  • Karma: 137
  • "Knowledge should be shared not hidden."
    • View Profile
Re: All In One Repair
« Reply #11 on: March 11, 2013, 11:49:26 am »
Not sure yet.

Right now the only way to find symbolic links on a system is to scan every reg key and every file and see if it has one. Microsoft doesnt give any other way.

While I couldnt really make it part of the repair I could make a tool just for looking for loops in the symbolic links and removing them. But I have to find the API calls to find symbolic links first :-)

Shane

Offline Oscar

  • Full Member
  • ***
  • Join Date: Dec 2012
  • Posts: 220
  • Karma: 0
    • View Profile
Re: All In One Repair
« Reply #12 on: March 11, 2013, 11:12:29 pm »
Is there anything i can do to help?

Offline Shane

  • Administrator
  • Hero Member
  • *****
  • Join Date: Sep 2011
  • Posts: 9281
  • Location: USA
  • Karma: 137
  • "Knowledge should be shared not hidden."
    • View Profile
Re: All In One Repair
« Reply #13 on: March 12, 2013, 11:21:28 am »
Once I find the time I just need to find out what API calls I need to pull symbolic link info. Then I can make a tool for it :-)

Shane

Offline Oscar

  • Full Member
  • ***
  • Join Date: Dec 2012
  • Posts: 220
  • Karma: 0
    • View Profile
Re: All In One Repair
« Reply #14 on: March 12, 2013, 04:54:27 pm »
Thank you

Offline Shane

  • Administrator
  • Hero Member
  • *****
  • Join Date: Sep 2011
  • Posts: 9281
  • Location: USA
  • Karma: 137
  • "Knowledge should be shared not hidden."
    • View Profile
Re: All In One Repair
« Reply #15 on: March 13, 2013, 06:07:44 am »
I found 2 pages that should put me on the right track

http://stackoverflow.com/questions/2483010/how-to-list-all-symbolic-links-on-an-ntfs-filesystem
and
http://bryanpendleton.blogspot.com/2010/07/api-for-working-with-windows-symbolic.html

Right now I am slammed, do me a favor and give me a friendly reminder in a week or two about making this tool. I should be able to make it in only a day or so. Just have to remember lol

I will make a note for myself but with all that I have going on sometimes I lose track of time :-)

Shane

Offline Oscar

  • Full Member
  • ***
  • Join Date: Dec 2012
  • Posts: 220
  • Karma: 0
    • View Profile
Re: All In One Repair
« Reply #16 on: March 13, 2013, 11:02:57 pm »
Will do.

I will post on this thread.

Thank you

Offline Oscar

  • Full Member
  • ***
  • Join Date: Dec 2012
  • Posts: 220
  • Karma: 0
    • View Profile
Re: All In One Repair
« Reply #17 on: March 18, 2013, 03:52:10 pm »
I found 2 pages that should put me on the right track

http://stackoverflow.com/questions/2483010/how-to-list-all-symbolic-links-on-an-ntfs-filesystem
and
http://bryanpendleton.blogspot.com/2010/07/api-for-working-with-windows-symbolic.html

Right now I am slammed, do me a favor and give me a friendly reminder in a week or two about making this tool. I should be able to make it in only a day or so. Just have to remember lol

I will make a note for myself but with all that I have going on sometimes I lose track of time :-)

Shane


Just a friendly reminder

Offline Shane

  • Administrator
  • Hero Member
  • *****
  • Join Date: Sep 2011
  • Posts: 9281
  • Location: USA
  • Karma: 137
  • "Knowledge should be shared not hidden."
    • View Profile
Re: All In One Repair
« Reply #18 on: March 18, 2013, 04:01:27 pm »
lol Thanks :-)

In the middle of working on program updates to put out this Sunday and working on a new game that I am creating.

Remind me again later :-)

Shane

Offline Willy2

  • Hero Member
  • *****
  • Join Date: Oct 2011
  • Posts: 1165
  • Karma: 18
    • View Profile
Re: All In One Repair
« Reply #19 on: March 20, 2013, 02:06:13 am »
I ran WR with only "Reset Registry Permisions" ticked on my Win 7 laptop and it also pushed CPU usage higher (between 60 % and 90%). So, such high CPU usage is quite normal for this repair job.

@Oscar:
1. Please rerun WR with "Reset Register Permissions" ticked and then see what happens with memory usage (Performance). Does it increase (gradually, sharply) as soon as WR gets stuck in that loop ?
2. Tick the box "Show processes from all users" (Task manager). Is there a process that uses A LOT OF memory ?

Offline Oscar

  • Full Member
  • ***
  • Join Date: Dec 2012
  • Posts: 220
  • Karma: 0
    • View Profile
Re: All In One Repair
« Reply #20 on: March 20, 2013, 02:21:04 am »
@Oscar:
1. Please rerun WR with "Reset Register Permissions" ticked and then see what happens with memory usage (Performance). Does it increase (gradually, sharply) as soon as WR gets stuck in that loop ?
2. Tick the box "Show processes from all users" (Task manager). Is there a process that uses A LOT OF memory ?

Thank you
I could do this but computer freezes when it gets into the loop

Offline Shane

  • Administrator
  • Hero Member
  • *****
  • Join Date: Sep 2011
  • Posts: 9281
  • Location: USA
  • Karma: 137
  • "Knowledge should be shared not hidden."
    • View Profile
Re: All In One Repair
« Reply #21 on: March 20, 2013, 06:47:35 pm »
The reg and file permissions repair will use as much cpu as it can. The faster the system the faster the repair. After all the registy has over a million keys that need set just by itself. :wink:

Shane

Offline Willy2

  • Hero Member
  • *****
  • Join Date: Oct 2011
  • Posts: 1165
  • Karma: 18
    • View Profile
Re: All In One Repair
« Reply #22 on: March 21, 2013, 12:41:51 am »
@Oscar:
1. Please rerun WR with "Reset Register Permissions" ticked and then see what happens with memory usage (Performance). Does it increase (gradually, sharply) as soon as WR gets stuck in that loop ?
2. Tick the box "Show processes from all users" (Task manager). Is there a process that uses A LOT OF memory ?

Thank you
I could do this but computer freezes when it gets into the loop

To see what happens with memory usage when this repair gets into this loop, is precisely the reason why I ask you this. It could be that there's a process (e.g. under the System Account) that's prevents Window Repair from doing its job, from proceding. Or perhaps "subinacl.exe" is the process that, step by step, occupies more and more memory as it remains stuck in this loop.

You don't have to do it now. Do it when you've got more time.
« Last Edit: March 21, 2013, 01:02:42 am by Willy2 »

Offline Oscar

  • Full Member
  • ***
  • Join Date: Dec 2012
  • Posts: 220
  • Karma: 0
    • View Profile
Re: All In One Repair
« Reply #23 on: March 25, 2013, 08:41:04 pm »
lol Thanks :-)

In the middle of working on program updates to put out this Sunday and working on a new game that I am creating.

Remind me again later :-)

Shane


Hi Shane just another friendly reminder

Offline Oscar

  • Full Member
  • ***
  • Join Date: Dec 2012
  • Posts: 220
  • Karma: 0
    • View Profile
Re: All In One Repair
« Reply #24 on: April 03, 2013, 02:24:02 am »
Hi Shane can i re tick the RESET REGISTRY PERMISSIONS  in 1.9.13