1) Put quotes around the full file path
findstr /C:”Cannot repair member file” “C:\windows\logs\cbs\cbs.log” >sfcdetails.txt
2) Use a system variable in the file path
findstr /C:”Cannot repair member file” %windir%\logs\cbs\cbs.log >sfcdetails.txt
If you want to repair the issue related to settings.ini, then try resetting the Sidebar to defaults and check if it helps.
Resetting the Sidebar to Defaults
a. Open up a windows explorer window and then paste the following into the location bar:
This will open up the Sidebar gadgets folder, where you should see a file named Settings.ini. You need to rename this file to Settings.ini.old, or make a backup of the file elsewhere.
b. Right click on the Settings.ini foler and select rename and rename it to Settings.ini.old.
Now once you re-launch Sidebar from the Start Menu, you’ll notice that a new Settings.ini is created immediately.