Skip to main content

Fix: Notepad Access Denied

The error “Access is Denied” occurs when the operating system is unable to save or edit any file using the notepad application. These files are mostly system files which are mostly found in system folders (such as System 32, Program files etc.).
This is basically a user access control function which restricts you from changing system files or creating new ones in system directories. It is done for the safety of your own computer so important system files don’t get changed and you preserve the integrity of the operating system. This has been the case for all versions of Windows.

However, there are instances where you want to deliberately make some changes to some system files and this error can get problematic. We will go through all the steps needed to make sure you get your work done without the annoying error message popping up. This error is also known to pop up when you try to change the “host” files present in the System32 directory.
Note: Malware and virus are known to make changes to the host file. Make sure that you are virus free whenever you are editing the file.

Solution: Using ‘Run as Administrator’

We will open the Notepad application and run it using the ‘Run as administrator command’. This command will enable administrator privileges and open the application in an elevated mode. Do note that you are required to use an administrator account to use this solution.
  1. Press Windows + S, type “notepad” in the dialogue box, right-click on the application and select “Run as administrator”.
  1. A small UAC will pop up asking you to confirm your actions. Press YES to proceed.
  2. Click File > Open.
  1. Now navigate to the location of the file you are trying to access. Make sure “All files” is selected so all type of files are displayed in the window. Select it and click “Open”.
  1. The file will be opened successfully. Make all the necessary changes and click “Ctrl + S” to save the file or save it manually using the options.

Note: If you cannot edit the host files even after performing the above solution, you should check if you have any antivirus enabled on your computer. Third party antivirus software makes sure that you cannot edit any system files even with administrator privileges. Same goes for the firewall. Make sure they are disabled temporarily and try with the solution again.
If you cannot still access the file under discussion, make sure that the ‘Read-only’ option is unchecked in the file’s properties. You can also take ownership of the file, edit it, and change the ownership back. Take a look at following article. Follow the same method on how to take ownership.

Comments

Popular posts from this blog

Fix: System Found Unauthorized Changes on the Firmware, Operating System or UEFI Drivers

Several users are struggling with the  System found unauthorized changes on the firmware error  at every startup or when trying to take their computer out of hibernation mode. Most affected users report that the issue started occurring after they installed some pending Windows updates. The issue is mostly encountered on Windows 7. The system found unauthorized changes on the firmware, operating system or UEFI drivers. Press [OK] to run the next boot device, or enter directly to BIOS Setup if there are no other boot devices installed. What is causing the System found unauthorized changes on the firmware error We investigated this particular issue by looking at various user reports. This error will occur whenever your system is checking the firmware one some computer hardware parts as part of a new security feature. To be precise, the error is occurring because not all Windows versions will support this new security feature. As it turns out, there are sev...

Fix: The Following Error Occurred Attempting to Join the Domain

Several users are getting the ‘ following error occurred attempting to join the domain ‘ error when trying to connect a computer to a home or work domain. Most of the time, the error is accompanied by an explanation message telling the user that it has exceeded the maximum number of computer accounts. The issue is not restricted to computers that connect to a domain for the first time, as it’s often reported to occur with PCs and laptops previously connected to the same domain. The following error occurred attempting to join the domain. Your computer could not be joined to the domain. What is causing the ‘following error occurred attempting to join the domain’ error? We investigated this particular error by looking at various user reports and the troubleshooting guides that they themselves followed to get the issue resolved. Based on what we were able to gather, there are several different scenarios that might trigger this particular error message: SMB1 support is di...

How to Fix Startup Repair Loop on Windows 7

Getting a  boot loop  which doesn’t let you go past the  Startup Repair  in Windows 7 is something that a lot of users have experienced, and it is most likely due to corrupt registry entries. It might be your mistake if you have messed around in the registry and changed a key you shouldn’t have, but it can also happen by itself, as Windows isn’t really immune to that kind of problems. No matter whether it is your fault or not, you will not be able to boot up Windows, as it will be stuck rebooting itself and won’t make it past the  Startup Repair  screen no matter what. However, there is a solution that begins at the Startup Repair screen, and uses the command prompt to fix the problem by backing up your files, and refreshing Windows, so follow the steps below to see how you can get out of the boot loop. Backup your old files and refresh your Windows In order to start the system in start-up repair, you will need either the windows installation ...