1. Right-click the Command Prompt icon and run it as administrator. Click Yes in the User Account Control pop-up window.
open cmd admin windows 11
2. Paste the following command into CMD and press Enter:
icacls "C:path_to_problematic_directory" setowner "Administrators" T C
After the command stops running, try saving the file again.
Change owner using cmd fix You don't have permission to save to this location.
Fix 7: Disable the Protected Mode feature.
1. Open Windows+R to open the Run dialog box. Paste the following command into it and click OK:
inetcplpl
inetcpl command
2. On the Security tab, uncheck the Enable Protected Mode option. And click OK.
Fix for Protected Mode feature being new zealand telegram data disabled. You don't have permission to save to this location.
3. Reboot your system and try saving the file again.
Fix 8: Temporarily disable antivirus software
Third-party and external antivirus can interrupt Windows 11 services. This can cause multiple errors and the system may freeze. To avoid this, disable the downloaded antivirus.
Fix 9: Use the Program Compatibility troubleshooter.
1. Go to Windows Settings > System > Troubleshoot > Other troubleshooters.
troubleshooting settings
2. Select Run for Troubleshoot program compatibility.