Defender firewall error - Windows>System32>Config>Systemprofile>Desktop is unavailable

Hello,

I am getting an error message when I am trying to create a Defender firewall rule.....I don't understand that it is looking for. I did trace the directory path which is specified in the error message but it doesn't exist...Uncertain how to fix this or what it means. Can someone explain it to me and help me fix it please?

Thank you.

|

Hi, Princess Wonder Woman.

Welcome to Microsoft support community.

 

We noticed you are having problem with a confusing error message pop up when you trying to create a firewall rule.

 

After some research and test, it makes me confused too, a lot of resource about different issues point to this directory too, and a lot of user and expert assume it is a supposed exist folder. In the meantime,  I could only enter the path all the way to 

 >Windows>System32>Config>Systemprofile

on serval of our test machine.

 

So I would recommend:

 

  • To run System File Checker (SFC),

This is the first thing we would think about for fix common system file error. Follow these steps:

 

  • In the search box on the taskbar, type command prompt, press and hold (or right-click) Command Prompt, then select Run as administrator > Yes.

  • At the command prompt, input below command line by line

  • > DISM.exe /Online /Cleanup-image /Scanhealth

    > DISM.exe /Online /Cleanup-image /Restorehealth

    > DISM.exe /online /cleanup-image /startcomponentcleanup

    > sfc /scannow

    1. If SFC finds corrupted files and replaces them, restart your PC and check if the issue persists.

 

 

  • Create the folder manually

 

Press Win + R and put %WinDir%\System32\config\systemprofile in Run dialog box and click OK. If you’re prompted for permissions, click Continue or provide the credentials, if asked.

2. In systemprofile folder, create a new folder and name it as Desktop. You can also copy the Desktop folder from user account folders located at %WinDir%\System32. Highlight Desktop folder and click Properties.

 

3.Right click open the property of the folder switch to Security tab. Click Edit.

4. Then in Permissions for Desktop window, click Add.

5. On Select Users or Groups box, type Everyone and click Check Names. Then click OK.

6. Back in Permissions for Desktop window, select Everyone and under Permissions, check all the options listed below Allow. Click Apply followed by OK.

7. Finally, in the confirmation prompt appears next, click Yes.

 

 

While above solution might not solve your problem instantly, I hope at least it will help you, give me sometime to research; feel free to keep the situation updated so we could continue investigation. Looking forward about your reply.

 

Best Regards

Benjamin- MSFT | Microsoft Community Support Specialist

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

 
 

Question Info


Last updated May 19, 2024 Views 9 Applies to: