I can't say I've ever used the attrib command, but I suspect you don't want to use it here. You didn't specify in what folder you ran the command, or whether you were running it with elevated permissions (as an administrator); in addition, it would have only acted on the top-level folder since you didn't specify the /s flag. I really don't think you want to use that command here. (On what folder did you run the command? -- just want to assess what may have been changed.)
Next, you really should back up your personal files to an external drive on a regular basis, if you're not doing so already, for just such a situation as this. If you don't have a backup, create one; if you have an old backup, refresh it or make a new one. Just copying files with Windows' File Explorer should work; alternatively I really like the freeware FreeFileSync.
To repair your Windows installation, the repair install method using a downloaded Windows 10 installation image may be your best bet, if you can manage your damaged Windows interface well enough to accomplish it. It will leave all your files and settings in place, but just in case, you should make your backup first if at all possible. If the damage has left you unable to do the steps, or if the repair install fails to fix the problem, you can "Reset this PC" from the Recovery menu in Settings. You can opt to keep or remove your files, but this method removes your apps and settings, and you may need to reload some drivers etc. with SupportAssist afterward.
To fix the search functionality with the Settings app, use these steps: Open Settings. Click on Update & Security. Click on Troubleshoot. Under the "Find and fix other problems" section, select the search and Indexing option. Click the Run the troubleshooter button.
NJDave
2 Intern
•
406 Posts
2
May 16th, 2022 20:00
I can't say I've ever used the attrib command, but I suspect you don't want to use it here. You didn't specify in what folder you ran the command, or whether you were running it with elevated permissions (as an administrator); in addition, it would have only acted on the top-level folder since you didn't specify the /s flag. I really don't think you want to use that command here. (On what folder did you run the command? -- just want to assess what may have been changed.)
Next, you really should back up your personal files to an external drive on a regular basis, if you're not doing so already, for just such a situation as this. If you don't have a backup, create one; if you have an old backup, refresh it or make a new one. Just copying files with Windows' File Explorer should work; alternatively I really like the freeware FreeFileSync.
To repair your Windows installation, the repair install method using a downloaded Windows 10 installation image may be your best bet, if you can manage your damaged Windows interface well enough to accomplish it. It will leave all your files and settings in place, but just in case, you should make your backup first if at all possible. If the damage has left you unable to do the steps, or if the repair install fails to fix the problem, you can "Reset this PC" from the Recovery menu in Settings. You can opt to keep or remove your files, but this method removes your apps and settings, and you may need to reload some drivers etc. with SupportAssist afterward.
Willjoe
1 Rookie
•
40 Posts
0
August 10th, 2022 22:00
To fix the search functionality with the Settings app, use these steps:
Open Settings.
Click on Update & Security.
Click on Troubleshoot.
Under the "Find and fix other problems" section, select the search and Indexing option.
Click the Run the troubleshooter button.
Regards,
Willjoe