Solved File security permissions messed up by chkdsk

smitsanghavi

New member
Local time
12:16 AM
Messages
7
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...:D

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

My Computer My Computer

At a glance

Windows 8.1 Pro x64
Computer type
PC/Desktop
OS
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 Computer My Computer

At a glance

Windows 8.1 Pro x64
Computer type
PC/Desktop
OS
Windows 8.1 Pro 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 Computer My Computer

At a glance

windows 7 ultimate x64
Computer type
Laptop
OS
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)"

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 Computer My Computer

At a glance

Windows 8.1 Pro x64
Computer type
PC/Desktop
OS
Windows 8.1 Pro x64
Hi, thank you :)

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 Computer My Computer

At a glance

windows 7 ultimate x64
Computer type
Laptop
OS
windows 7 ultimate x64
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 Computer My Computer

At a glance

Vista 32Dual Core2G
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom
OS
Vista 32
CPU
Dual Core
Motherboard
Chipset
Memory
2G
Hard Drives
Sata
Antivirus
Kaspersky
Back
Top