Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: File security permissions messed up by chkdsk

31 Oct 2011   #1
smitsanghavi

Windows 8.1 Pro x64
 
 
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...


My System SpecsSystem Spec
.
02 Nov 2011   #2
smitsanghavi

Windows 8.1 Pro x64
 
 

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.
My System SpecsSystem Spec
01 Jul 2013   #3
bhavdeeparya

windows 7 ultimate x64
 
 

Hi smitsanghavi, kindly elaborate, how did you follow these steps. I did not understand how did you perform the following -
"I created an admin account and added this line in the Properties of hosts
Users (Computer\Users)"
My System SpecsSystem Spec
.

01 Jul 2013   #4
smitsanghavi

Windows 8.1 Pro x64
 
 

Quote   Quote: Originally Posted by bhavdeeparya View Post
Hi smitsanghavi, kindly elaborate, how did you follow these steps. I did not understand how did you perform the following -
"I created an admin account and added this line in the Properties of hosts
Users (Computer\Users)"
Open the properties of hosts.

Security Tab>Edit>Add. In the object name field, write the name of the new admin user you created and click OK. You can then manually edit the permissions for the user for the file.
Add the new user here.

But doing all this actually makes no sense. I had to format the PC finally because there were always some issues everytime. I suggest you do the same too.
My System SpecsSystem Spec
02 Jul 2013   #5
bhavdeeparya

windows 7 ultimate x64
 
 

Hi, thank you

Quote   Quote: Originally Posted by smitsanghavi View Post
Quote   Quote: Originally Posted by bhavdeeparya View Post
Hi smitsanghavi, kindly elaborate, how did you follow these steps. I did not understand how did you perform the following -
"I created an admin account and added this line in the Properties of hosts
Users (Computer\Users)"
Open the properties of hosts.

Security Tab>Edit>Add. In the object name field, write the name of the new admin user you created and click OK. You can then manually edit the permissions for the user for the file.
Add the new user here.

But doing all this actually makes no sense. I had to format the PC finally because there were always some issues everytime. I suggest you do the same too.
My System SpecsSystem Spec
09 Jul 2014   #6
Vidyaranya

Vista 32
 
 
CHKDSK changed permissions on all files and Drive E

Had a similar problem on a dual boot machine with Windows Vista. CHKDSK ran a disk check at startup and changed "invalid security id to default id" on all files on E drive. After the machine came back to life, E drive was not accessible. I was sure the files were there and hence reformatting it was not an option. Tried several Disk utility software (such as Recuva and R-Studio) which only confirmed that data was there but still unable to get the control back.

Checked the property of E drive Secutity tab to find that only two User Group (Administrators & SYSTEM) listed therein and they too had no Permissions (all boxes were blank). Added back other Groups such as Users, Creator Owner to the list and set proper permission to all of them and clicked Apply. Took about 20 minutes to complete task but many files (which were in use, perhaps) were not giving access to change permissions but ignored them and kept "Continue"ing till task was completed. Restarted the machine and everything was back to normal.
My System SpecsSystem Spec
Reply

 File security permissions messed up by chkdsk




Thread Tools




Similar help and support threads
Thread Forum
Accidently changed security permissions for a file.
When editing permissions in the "Security" tab inside properties I messed up and edited my own to not be able to change the file anymore. Can someone tell me how to fix this.(this is a re-post because I posted in the wrong section before.)
General Discussion
Correct File Security / Sharing Permissions
I am having difficulty setting up an advanced file sharing setup with Windows 7 x64 acting as the host machine. I have 3 users that i want to access the share. User1 = Full Rights User2, User3 = ability to run and execute all folders, but only write, modify their own folders. Directory...
Network & Sharing
SwKotor problem with changing File due to Security permissions
Went into to the swkotor.ini file for the game to do a bit of tweaking but my computer won't let me change anything because i "Don't have permission from the administrator". Problem is that I AM the admin on this computer cuz i am the only person who uses it. I've had this problem before with other...
Gaming
windows 7 file permissions messed up
I need to run backup of my c:\users but I'm getting access denied messages when I attempt to access certain subdirs. My user is in the admin group. If I rightclick on c:\users and go to properties>security>edit>add and then add myself and check "Full control." After hitting apply it goes through...
General Discussion
Messed up with Permissions on my external drive. Help!!
Hello, I was trying out the admin permissions for my external drive and I messed up. It took all of my privileges away and I wasn't able to access it at all. I was able to get some of it back, but I am still having problems getting full control of the drive. I am seeing a pad lock on the first...
System Security
Permissions all messed up!
Installed 7077. Have 2 USB drives attached. Everything all right. Files all accessable. Join homegroup, and permissions all messed up! The drive didn't even show as having a partition except in computer management. Had to take ownership of drive to see file list again, but I couldn't open...
System Security


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 16:19.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App