Attrib Not Resetting System File
Similarly, if the file is marked read-only (r) and has the hidden(h) and system (s) attribute(s) set, you must remove the hidden and system attribute(s) before you can change the read-only attribute. RESOLUTION Use the MS-DOS ATTRIB command to remove BOTH the hidden and system attributes. When we use attrib command to change read-only or hidden attributes of a system file, we get the error “Not resetting system file“.
Today I was helping a Microsoft Windows 10 user that couldn’t read or write to files in a folder on the network. I figured something was set on the files that had them set to Read Only. So I ran the following DOS command on the folder containing the files:attrib.r +a -s -h /sSome of the files were changed fine, but others threw an access denied error message. There are a few things to check when this happens. We’ll cover the most common in this guide.1.
Be Sure You are Running the Command With Admin Rights. Click “ Start“, then type “ CMD“.
Right-click on “ Command Prompt“, then choose “ Run as Administrator“. This will give you proper rights. Type the attrib command2. Check if File is in UseAre any of the files in use by a program or open on another computer that is connected? Ensure nothing has access to the file when trying to run attrib. If you can’t track down if the file is in use, you may want to try starting the computer in Safe Mode. Check PermissionsDo you have access to all of the files you are running attrib on?
You can check this with these steps:. Right-click the folder you’re working with then select “ Properties“. Select “ Security“. Select the “ Edit” button to edit permissions. Select “ Add“. Type your username to allow just your account access, or type “ EVERYONE” to allow access to anybody. Select “ OK” when you’re ready.
With the account you just added higlighted in the “ Group or user names” area, select the “ Allow” check for “ Full control“. Select “ OK” when you’re ready.4. Check File System or DiskIt’s very common for attrib to throw “Access Denied” errors if there is problem with the hard drive.
Try running CHKDSK /F on the drive from a DOS command prompt, then try to run attrib again when it’s finished scanning.Hopefully, a set of instructions above helped. Please feel free to share your experience in the comments section below. Frutiger neue font.
I searched other discussion for this answer but it seems the suggested solutions did not solve the problem I have.I have several folders that are hidden and the hide/unhide tick box in the folder properties is disabled. I tried the attrib command in the command prompt but 'Not resetting system file' shows back. I also tried the regedit and it still didn't fix this prob but I am not sure if I did the right setting in the regedit. All my folders shows a link which won't open my hidden folders either.Would be great if somebody could help.Davis. Key Name: HKEYLOCALMACHINESOFTWAREMicrosoftWindowsCurrentVersionexplorerAdvancedFolderHiddenSHOWALLClass Name: Last Write Time: 11/2/2006 - 5:52 AMValue 0Name: RegPathType: REGSZData: SoftwareMicrosoftWindowsCurrentVersionExplorerAdvancedValue 1Name: TextType: REGSZData: @shell32.dll,-30500Value 2Name: TypeType: REGSZData: radioValue 3Name: CheckedValueType: REGDWORDData: 0x1Value 4Name: ValueNameType: REGSZData: HiddenValue 5Name: DefaultValueType: REGDWORDData: 0x2Value 6Name: HKeyRootType: REGDWORDData: 0x80000001Value 7Name: HelpIDType: REGSZData: shell.hlp#51105.