Quantcast
Results 1 to 8 of 8

File security permissions messed up by chkdsk

  1. #1
    smitsanghavi is offline Junior Member
    Enjoys Windows 7 Forums
     
    Join Date
    Oct 2011
    Posts
    4

    File security permissions messed up by chkdsk

    Some days back my chkdsk started running after a reboot.
    Everything was fine until it found some errors and i got this line...

    Replacing invalid security id with default security id for file 97.
    Replacing invalid security id with default security id for file 98.
    Replacing invalid security id with default security id for file 99.

    Some 10,000 or so files later it ended but my PC didn't restart automatically.
    I pressed the reset button and after that all was hell.

    For e.g.

    1) My host file entries were not readable by any applications like wamp or firefox or chrome or etc.

    2) I could not start some programs like MATLAB because its file also got corrupted.

    3) Avira Antivirus does not update because it says Scheduler (sched.exe) has not been started even after starting it from services.msc.

    I googled this problem and came to know that my account has been removed from the permissions list of the files (as seen when i saw the properties of the hosts file).

    Please help me to include my account in the permission list because after adding it manually gives me a permission denied error.

    Thank you to read so patiently...

    P.S. : I searched eventvwr.msc but it does not show up chkdsk logs...

    Reply With Quote Reply With Quote

  2. #2
    Saltgrass is offline Microsoft Community Contributor This member is a certified Microsoft Community Contributor at Windows 7 Forums. Click here for more information from Microsoft.
    Just trying to help
     
    Join Date
    Oct 2009
    Posts
    6,467

    Re: File security permissions messed up by chkdsk

    Have you run any anti-virus since this happened? Many folks here like Malwarebytes if you are able to run it. You might look for a version you can run from a flash drive.

    Do you have an Windows 7 Install DVD or a repair CD you can boot to?

    I suppose you do not have the ability to add another user as admin, or activate the built-in admin account?

    It seems a couple of months ago we had some folks that had lost the admin privileges in their account. I will do some research.

    Reply With Quote Reply With Quote

  3. #3
    smitsanghavi is offline Junior Member Thread Starter Thread Starter
    Enjoys Windows 7 Forums
     
    Join Date
    Oct 2011
    Posts
    4

    Re: File security permissions messed up by chkdsk

    The thing is that i have not lost my admin privileges entirely.
    It is just that for those files whose security descriptors have been messed by chkdsk I am not able to modify.

    I haven't had much problems with my PC except the above mentioned, but hosts file is a problem.

    Also, FYI I tried to add my user and 'Authenticated Users' in the Security properties of the hosts file. It got added but after clicking OK i got permission denied.
    I don't know how to interpret this problem but see if you can understand from this description.

    One more thing, I am sure it is definitely not a virus or malware problem so no point in installing stuff which is not required.

    I have Win 7 DVD but I don't have restore points from which I can go back to my previous config and I don't wanna format too. That would be my last option.

    Reply With Quote Reply With Quote

  4. #4
    Saltgrass is offline Microsoft Community Contributor This member is a certified Microsoft Community Contributor at Windows 7 Forums. Click here for more information from Microsoft.
    Just trying to help
     
    Join Date
    Oct 2009
    Posts
    6,467

    Re: File security permissions messed up by chkdsk

    If you are messing with the Hosts file, then you are doing something a little unusual for Windows 7. The file is protected and you have to alter its security to do so. Not like XP.

    If you can run an Repair Install, that may fix your problems, and it sounds like you have the authority to do that.

    But you still need to find out why your security settings were changed.

    Edit: You could also try opening an administrative command prompt and type the following command and enter after.

    SFC /scannow

    Let it finish and check if any files could not be repaired. Don't know if it will pick up security changes on the files, but it would not hurt.
    Last edited by Saltgrass; 11-01-2011 at 09:08 AM.

    Reply With Quote Reply With Quote

  5. #5
    smitsanghavi is offline Junior Member Thread Starter Thread Starter
    Enjoys Windows 7 Forums
     
    Join Date
    Oct 2011
    Posts
    4

    Re: File security permissions messed up by chkdsk

    I used to meddle with hosts to block some sites at home. Until now it was working fine until chkdsk messed up.

    I tried your solution but it says it didn't find any integrity violations so that method is out of the window.

    I think you didn't understand my situation.

    According to me, when there is no user account present in a PC (that's a hypothetical situation but is just after installing windows before you create an account), only 'System' and 'Smit-PC\Administrators' have permission to system files. When you create an a/c and if it is an admin, it automatically show up in the Security properties of system files.

    e.g. If I create an admin account Smit, then u'll find the user Smit-PC\Smit automatically added in the list.

    What has happened in my case, chkdsk has put the default settings in all those so-called-corrupted-files. Hence, my username is not there in the list (only System and Smit-PC\Administrators are allowed permissions) and I cannot do it manually to each and every file and moreover I am not authorized to change the permissions because my account is already out of the list.

    This is the most I could explain an I hope you can help me out without formatting the OS and making a new user a/c because I have lots of settings done in this a/c.

    I know I am asking a lot but I think it may be possible with people like you...

    Reply With Quote Reply With Quote

  6. #6
    Saltgrass is offline Microsoft Community Contributor This member is a certified Microsoft Community Contributor at Windows 7 Forums. Click here for more information from Microsoft.
    Just trying to help
     
    Join Date
    Oct 2009
    Posts
    6,467

    Re: File security permissions messed up by chkdsk

    Maybe I do not understand. A picture might help, but for now, if I look at the hosts file properties, security, it shows:

    SYSTEM
    Administrators (Computer\Administrators)
    Users (Computer\Users)

    There is not an individual entry for different users. But you are saying you do not show the Users entry?

    Or, if you look at Computer Management, Local Users and Groups, you are not listed in the Users Folder?

    I will look at items related to user profiles. Maybe yours has a problem. And I am not suggesting you add a new user and then switch over, just use it to reset your user account.

    But I have never seen Chkdsk do what you say. That is why it seems a virus or some other system alteration is causing it.
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	Users.GIF 
Views:	310 
Size:	18.4 KB 
ID:	16896  
    Last edited by Saltgrass; 11-01-2011 at 12:47 PM.

    Reply With Quote Reply With Quote

  7. #7
    Joe S is online now Premier Member
    Enjoys Windows 7 Forums
     
    Join Date
    Jan 2009
    Age
    64
    Posts
    1,575

    Re: File security permissions messed up by chkdsk

    It sounds like malware to me. As for editing Hosts file I use an old utility called Hosts Toggle Hosts Toggle screenshot and download at SnapFiles.com There are also more elaborate ones. I use this Hosts file and add mine to it Blocking Unwanted Parasites with a Hosts File
    Joe

    Reply With Quote Reply With Quote

  8. #8
    smitsanghavi is offline Junior Member Thread Starter Thread Starter
    Enjoys Windows 7 Forums
     
    Join Date
    Oct 2011
    Posts
    4

    Re: File security permissions messed up by chkdsk

    I tried a fix of my own.

    I created an admin account and added this line in the Properties of hosts
    Users (Computer\Users)

    Then I logged into my original account and confirmed that the settings were still there.
    Opened Mozilla to check and then everything started working properly.

    My account still has some minor problems but this makeshift arrangement is enough for me.
    Of course this has to be done to all the files which face problem, i think there is now way out.

    I need 2 days to format and restore my PC and its settings back to original which is simply tiring.

    Btw mine is Windows 7 Home Premium, so gpedit is missing frm my PC and also there is no section of 'Local Users and Groups' in Computer Management.

    Anyways Thnx a lot for all your help...

    Reply With Quote Reply With Quote

Similar Threads

  1. Replies: 3
    Last Post: 08-04-2010, 07:53 AM
  2. Screen mess up...
    By Lyhne in forum Windows 7 Support
    Replies: 5
    Last Post: 06-04-2009, 06:39 AM
  3. restore files from vista back-up
    By sledhead1 in forum Windows 7 Support
    Replies: 2
    Last Post: 05-18-2009, 06:22 PM
  4. Hard drive security permissions question.
    By shadowmoose in forum Windows 7 Hardware
    Replies: 6
    Last Post: 05-06-2009, 10:03 PM
  5. Boot order is Mess up
    By terryfox in forum Windows 7 Support
    Replies: 2
    Last Post: 01-18-2009, 08:50 AM

Visitors found this page by searching for:

windows 7 security descriptor cd drive

replacing invalid security id default id cannot open files

what will happen after replacing invalid security id with default security id windows 7 chkdsk

default security permissions for host file

fix up file security

repair windows 7 drive security permissions

chkdsk changed permissions

why is chkdsk replacing invalid security id windows 7

chkdsk says invalid security id

vista chkdsk reset security

chkdsk replacing invalid security id windows xp

microsoft chkdsk vista replacing invalid security id

chkdsk replacing invalid security id

chkdsk removes iis security permisions

chkdsk replacing invalid security id with default security id

after chkdsk lost permissions

replacing invalid security id with default windows 7

chkdsk removes security descriptors

my file security is messed up in windows 7

windows 7 lost all network adapters after checkdisk

replacing invalid security id xp repair

chkdsk win7 invalid security id replacing takes ages

chkdsk invalid security id

how to change the permissions on a corrupted hosts file in windows 7

windows 8 messed up security descriptor my windows 7

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •