Author Topic: Reset File Permissions works only on "c" Drive??  (Read 9967 times)

0 Members and 1 Guest are viewing this topic.

Offline siliconbayou

  • Newbie
  • *
  • Join Date: Dec 2011
  • Posts: 8
  • Karma: 0
    • View Profile
Reset File Permissions works only on "c" Drive??
« on: December 16, 2011, 09:41:08 AM »
My problem is that my system drive is the "D" drive. Is there some way to change to this drive instead or to reset permissions on all drives or list drives with check box for the drive(s) to reset permissions on?? Love the program... been using it to try to get several updates to load, especially those dealing with .Net updates...hasn't helped so far but that may be because it has only been fixing "C" drive permissions. By the way the operating system is Windows Xp pro with SP-3. This same idea may be needed on other fixes if they target only the "C" drive by default.

Offline Shane

  • Top Geek, err uh Dog.
  • Administrator
  • Hero Member
  • *****
  • Join Date: Sep 2011
  • Posts: 9274
  • Location: USA
  • Karma: 136
  • "Knowledge should be shared not hidden."
    • View Profile
    • Tweaking.com
Re: Reset File Permissions works only on "c" Drive??
« Reply #1 on: December 16, 2011, 09:45:52 AM »
Your right, all the repairs focus on C:

So what I need to do is have an option in the program for which drive to focus all the repairs on. Then just do a search and replace on all the repairs to replace "C:" with what ever drive the persons says.

Thing is what about the permissions repair? This could be used on any drive. But I don't want to put a drive option on every single repair. Takes away from a 1 click repair.

So the question is, what is the best way to implement this? :wink:

Shane
PLEASE EDIT YOUR TOPIC AND PUT (SOLVED) IF YOU ARE ALL FIXED.

(My weekends belong to my wife and kids, I will try my best to answer all posts daily during the work week)

(About Shane)
Site Owner, Top Admin, Lead Programmer, Wife & 5 kids, Needs a lot more coffee.

When people ask "Why fix what isn't broken?" I reply "To make it better."
"Only a life lived for others is a life worthwhile"
Honor & Respect is all that matters.

Owner & Programmer of: www.pcwintech.com & www.tweaking.com

Offline siliconbayou

  • Newbie
  • *
  • Join Date: Dec 2011
  • Posts: 8
  • Karma: 0
    • View Profile
Re: Reset File Permissions works only on "c" Drive??
« Reply #2 on: December 16, 2011, 09:57:52 AM »
Shane I agree that the options offered should be limited to a manageable minimum either via "check" box(s) or being able to modify a config file that constains the option to be changed. By the way I saw the installer issue after I posted and I have had that same issue as I explained. I am hoping that one of more of your fixes will help with this once they can be applied to the "D" drive. Thanks.

Offline Shane

  • Top Geek, err uh Dog.
  • Administrator
  • Hero Member
  • *****
  • Join Date: Sep 2011
  • Posts: 9274
  • Location: USA
  • Karma: 136
  • "Knowledge should be shared not hidden."
    • View Profile
    • Tweaking.com
Re: Reset File Permissions works only on "c" Drive??
« Reply #3 on: December 16, 2011, 10:02:50 AM »
Perhaps a drive box on the repair window?

Or on the main screen before you start the repairs.... hhhmmm time to test :-)

Thing is I do have some users who dont have a clue what to do. Thats why the goal is to keep it simple/ SO would having a drive box create problems for them? If so I could just have a config file that the advanced use can change.

Or just have the drive box in the program default to C:. Most users wouldn't touch it anyways.

ugh, I need more coffee. :wink:

Shane
PLEASE EDIT YOUR TOPIC AND PUT (SOLVED) IF YOU ARE ALL FIXED.

(My weekends belong to my wife and kids, I will try my best to answer all posts daily during the work week)

(About Shane)
Site Owner, Top Admin, Lead Programmer, Wife & 5 kids, Needs a lot more coffee.

When people ask "Why fix what isn't broken?" I reply "To make it better."
"Only a life lived for others is a life worthwhile"
Honor & Respect is all that matters.

Owner & Programmer of: www.pcwintech.com & www.tweaking.com

Offline Shane

  • Top Geek, err uh Dog.
  • Administrator
  • Hero Member
  • *****
  • Join Date: Sep 2011
  • Posts: 9274
  • Location: USA
  • Karma: 136
  • "Knowledge should be shared not hidden."
    • View Profile
    • Tweaking.com
Re: Reset File Permissions works only on "c" Drive??
« Reply #4 on: December 16, 2011, 10:06:36 AM »
I have an idea.

I could have the program look at the location of the Windows folder.

From there the program will use the drive letter that Windows is on. This keeps it simple for users and takes care of the users who dont have Windows on C:\ like yourself :wink:

Shane
PLEASE EDIT YOUR TOPIC AND PUT (SOLVED) IF YOU ARE ALL FIXED.

(My weekends belong to my wife and kids, I will try my best to answer all posts daily during the work week)

(About Shane)
Site Owner, Top Admin, Lead Programmer, Wife & 5 kids, Needs a lot more coffee.

When people ask "Why fix what isn't broken?" I reply "To make it better."
"Only a life lived for others is a life worthwhile"
Honor & Respect is all that matters.

Owner & Programmer of: www.pcwintech.com & www.tweaking.com

Offline siliconbayou

  • Newbie
  • *
  • Join Date: Dec 2011
  • Posts: 8
  • Karma: 0
    • View Profile
Re: Reset File Permissions works only on "c" Drive??
« Reply #5 on: December 16, 2011, 10:11:10 AM »
Shane thats sounds logical. Would it work on a computer that has multi-boot active and also using non-standard names for the Windows directory i.e. D:\SBIOS??

Offline Shane

  • Top Geek, err uh Dog.
  • Administrator
  • Hero Member
  • *****
  • Join Date: Sep 2011
  • Posts: 9274
  • Location: USA
  • Karma: 136
  • "Knowledge should be shared not hidden."
    • View Profile
    • Tweaking.com
Re: Reset File Permissions works only on "c" Drive??
« Reply #6 on: December 16, 2011, 10:15:20 AM »
I use the Windows API to pull what the Windows folder is. So it should work.

Like on my system it will pull "C:\Windows"

so my program will look at C: and know to use that drive.

On yours it would know to use D:

I am looking over all the repairs now. Some seem like they should work fine as is. While others look like they just need a small change. I already have an idea.

I will have the program check the Windows dir at startup and get the drive it should work on. From there it will store it to a variable. Then I just update all the repairs to use that variable. And all done :-)

The fun part will be finding all the places to put the variable lol

Shane
PLEASE EDIT YOUR TOPIC AND PUT (SOLVED) IF YOU ARE ALL FIXED.

(My weekends belong to my wife and kids, I will try my best to answer all posts daily during the work week)

(About Shane)
Site Owner, Top Admin, Lead Programmer, Wife & 5 kids, Needs a lot more coffee.

When people ask "Why fix what isn't broken?" I reply "To make it better."
"Only a life lived for others is a life worthwhile"
Honor & Respect is all that matters.

Owner & Programmer of: www.pcwintech.com & www.tweaking.com

Offline siliconbayou

  • Newbie
  • *
  • Join Date: Dec 2011
  • Posts: 8
  • Karma: 0
    • View Profile
Re: Reset File Permissions works only on "c" Drive??
« Reply #7 on: December 16, 2011, 10:21:43 AM »
I'll let you get on to it then...looking forward to the changes...watch out for caffeine overload...lol

Offline Shane

  • Top Geek, err uh Dog.
  • Administrator
  • Hero Member
  • *****
  • Join Date: Sep 2011
  • Posts: 9274
  • Location: USA
  • Karma: 136
  • "Knowledge should be shared not hidden."
    • View Profile
    • Tweaking.com
Re: Reset File Permissions works only on "c" Drive??
« Reply #8 on: December 16, 2011, 10:25:28 AM »
Spending the whole day working on the new advanced system tweaker, which is add on based and will have the repairs in it as well :-)

I stopped it for now and I am already working on the windows repair. I should have something int he next hour or so. I will post a new exe for you to test for me  :wink:

Shane
PLEASE EDIT YOUR TOPIC AND PUT (SOLVED) IF YOU ARE ALL FIXED.

(My weekends belong to my wife and kids, I will try my best to answer all posts daily during the work week)

(About Shane)
Site Owner, Top Admin, Lead Programmer, Wife & 5 kids, Needs a lot more coffee.

When people ask "Why fix what isn't broken?" I reply "To make it better."
"Only a life lived for others is a life worthwhile"
Honor & Respect is all that matters.

Owner & Programmer of: www.pcwintech.com & www.tweaking.com

Offline Shane

  • Top Geek, err uh Dog.
  • Administrator
  • Hero Member
  • *****
  • Join Date: Sep 2011
  • Posts: 9274
  • Location: USA
  • Karma: 136
  • "Knowledge should be shared not hidden."
    • View Profile
    • Tweaking.com
Re: Reset File Permissions works only on "c" Drive??
« Reply #9 on: December 16, 2011, 10:48:25 AM »
OK see how this works for you.

Replace the exe with this one. Once you confirm it works I will put out the new version :wink:

v1.5.5
Removed "WwanSvc start= demand" from the windows services repair.
The program no longer defaults to the C:\ for repairs. The program now looks at the location of the Windows dir and uses the drive that Windows is on.

Shane
PLEASE EDIT YOUR TOPIC AND PUT (SOLVED) IF YOU ARE ALL FIXED.

(My weekends belong to my wife and kids, I will try my best to answer all posts daily during the work week)

(About Shane)
Site Owner, Top Admin, Lead Programmer, Wife & 5 kids, Needs a lot more coffee.

When people ask "Why fix what isn't broken?" I reply "To make it better."
"Only a life lived for others is a life worthwhile"
Honor & Respect is all that matters.

Owner & Programmer of: www.pcwintech.com & www.tweaking.com

Offline siliconbayou

  • Newbie
  • *
  • Join Date: Dec 2011
  • Posts: 8
  • Karma: 0
    • View Profile
Re: Reset File Permissions works only on "c" Drive??
« Reply #10 on: December 16, 2011, 10:51:08 AM »
Will download and get back with you shortly...

Offline siliconbayou

  • Newbie
  • *
  • Join Date: Dec 2011
  • Posts: 8
  • Karma: 0
    • View Profile
Re: Reset File Permissions works only on "c" Drive??
« Reply #11 on: December 16, 2011, 12:28:48 PM »
Shane, the new executable has identified the D: drive as the system drive and SBIOS as the system directory and it is working long and hard to reset the file permissions on innumerable directories and sub directories. I did check other fixes also to see how they work with the new system drive identifier. Is there any other fix you think I need to run or would you like me to run all of them. I have about  nine set to run now. I will have a few observations to pass along once it gets all the way through.

Offline Shane

  • Top Geek, err uh Dog.
  • Administrator
  • Hero Member
  • *****
  • Join Date: Sep 2011
  • Posts: 9274
  • Location: USA
  • Karma: 136
  • "Knowledge should be shared not hidden."
    • View Profile
    • Tweaking.com
Re: Reset File Permissions works only on "c" Drive??
« Reply #12 on: December 16, 2011, 12:32:15 PM »
Depends on what your trying to fix.

If your fixing .net the permissions for reg and files could help. Otherwise the best thing is to use a .net removal tool that rips it out. Then install .net fresh. I can point you to that exe if you need it.

For the windows installer I have the guy on the other thread trying a few things. If they work I will add them to the windows repair. :wink:

Let me know how it all goes. i want to make sure everything works before I put out this update. :smiley:

Shane
PLEASE EDIT YOUR TOPIC AND PUT (SOLVED) IF YOU ARE ALL FIXED.

(My weekends belong to my wife and kids, I will try my best to answer all posts daily during the work week)

(About Shane)
Site Owner, Top Admin, Lead Programmer, Wife & 5 kids, Needs a lot more coffee.

When people ask "Why fix what isn't broken?" I reply "To make it better."
"Only a life lived for others is a life worthwhile"
Honor & Respect is all that matters.

Owner & Programmer of: www.pcwintech.com & www.tweaking.com

Offline siliconbayou

  • Newbie
  • *
  • Join Date: Dec 2011
  • Posts: 8
  • Karma: 0
    • View Profile
Re: Reset File Permissions works only on "c" Drive??
« Reply #13 on: December 16, 2011, 04:11:04 PM »
Shane sorry for the delay in reporting the results. On the first run my computer slowed down at the same time the "set windows to default startup" fix was running. The program stalled; not responding but several other running  programs were doing the same. Eventually stopped the program, rebooted and started it again running a few fixes I had not run the first time and the "set windows to default startup" fix again. Everything went OK that time. The new exe works as promised.  The system drive:directory was correctly identified. All fixes worked on D Drive if called for or the D:\SBIOS directory where appropriate. If no other changes were made, then it seems to be OK.

Observations in general: In the pre-option to perform a "file protection check" you suggest (?) afterward to reboot (after the check, but before continuing on) but there is no way to do that from within the program; the choices being "do it" (perform the check), "back" or "next". Perhaps to make this clearer for novices and newbies a "reboot" button could be available, especially if a reboot is considered necessary rather than optional.

The description boxes still indicate that the fixes will be applied to the C Drive; perhaps "system drive" would be clearer with the new change.

One last thought; make the line descriptions apply only to showing the description of each fix, not actually selecting (filling the check box). I inadvertently unchecked fixes I wanted to run several times while clicking on the line description to review the fix description.

Thanks for your prompt response to my request. I use several of your programs as shareware; I will look at the paid versions if available and buy these in support of you.

Offline Shane

  • Top Geek, err uh Dog.
  • Administrator
  • Hero Member
  • *****
  • Join Date: Sep 2011
  • Posts: 9274
  • Location: USA
  • Karma: 136
  • "Knowledge should be shared not hidden."
    • View Profile
    • Tweaking.com
Re: Reset File Permissions works only on "c" Drive??
« Reply #14 on: December 16, 2011, 04:27:00 PM »
Quote
One last thought; make the line descriptions apply only to showing the description of each fix, not actually selecting (filling the check box). I inadvertently unchecked fixes I wanted to run several times while clicking on the line description to review the fix description.

No need to click, it is just a mouse over :-)

Quote
The description boxes still indicate that the fixes will be applied to the C Drive; perhaps "system drive" would be clearer with the new change.

I will need to update those as well, but shouldnt be hard. Or just use different wording :-)

Quote
Observations in general: In the pre-option to perform a "file protection check" you suggest (?) afterward to reboot (after the check, but before continuing on) but there is no way to do that from within the program; the choices being "do it" (perform the check), "back" or "next". Perhaps to make this clearer for novices and newbies a "reboot" button could be available, especially if a reboot is considered necessary rather than optional.

I forget, doesnt the SFC tell the user it needs a reboot when needed?

Quote
Thanks for your prompt response to my request. I use several of your programs as shareware; I will look at the paid versions if available and buy these in support of you.

Both my sites combined I have over 30 or 40 apps. 3 of them I sell pro version of the rest are all free. Feel free to check them out :-)
Cleanmem Pro
Simple Port Forwarding Pro
Simple Internet Meter Pro

Shane
PLEASE EDIT YOUR TOPIC AND PUT (SOLVED) IF YOU ARE ALL FIXED.

(My weekends belong to my wife and kids, I will try my best to answer all posts daily during the work week)

(About Shane)
Site Owner, Top Admin, Lead Programmer, Wife & 5 kids, Needs a lot more coffee.

When people ask "Why fix what isn't broken?" I reply "To make it better."
"Only a life lived for others is a life worthwhile"
Honor & Respect is all that matters.

Owner & Programmer of: www.pcwintech.com & www.tweaking.com