How to set up smartphones and PCs. Informational portal
  • home
  • Reviews
  • Access to the program files folder windows 10. How to restore access to the folder

Access to the program files folder windows 10. How to restore access to the folder

Hello friends! The other day, once again, I came across an error when starting some system services. Why do I say that again? The fact is that I have already met her not for the first time, but somehow I could not get to the description of the ways by which I successfully coped with error 5.

So we come across several possible solutions that can help you in case of problems with starting services, namely " Errors 5. Access Denied". In general, first I will describe the very essence of the error that I am talking about, so that you can determine the same problem you have or something completely different.

So, opening the service menu and selecting the item I need, I get into their properties, where in the item about the method of starting the service, I set the value "Automatic", and also click on the "Start" button to start it immediately. But alas, instead of a successful start, a small window is displayed on the screen, with a rather strange message that the service could not be started due to "Error 5. Access denied".

This message surprised me that it said that there was a lack of rights, although I was working at the computer, logged in using the system administrator account, and as you know, there are all possible rights to change the properties and settings of the operating system.

How do I resolve the Error 5 issue?

There are a lot of solutions to this kind of problem, namely, fixing the causes of the "error 5. Access denied" when starting the services, it all depends on the situation the user is facing. Further, as usual, I will not describe a one hundred percent method that will help everyone, since there is none, but I will write about how I got out of this situation with a positive result.

I found some examples on how to fix error 5 on the Internet, but I got to others myself. In general, let's see what in my practice helped to get rid of problems with starting services, but you will try to do the same for yourself, perhaps one of the options I have proposed will suit you.

"Error 5. Access denied" when starting system services, solutions

1. Opening full access to the "C" drive. I do not know why this is so, but I came across computers where the security of the system disk was set exclusively for reading and nothing else, and this parameter was set for all accounts. But, as soon as I returned all the security checkboxes, error 5 disappeared forever, and the service started its work without any problems.

To return the rights, you need to go to the properties window of the system drive "C" and go to the tab " Safety". Having missed the list of users and groups, we go down to the buttons "Change" - "Add".

In the appeared area, with our hands on the keyboard we type the word “ Everything", Which means that we will set the same access rights for absolutely all users of the system.

If everything is so, then you made no mistakes in the previous step, click on "OK".

For those who are still Windows XP users, you should pay attention to the fact that by default you may not see the "Security" tab. In order to return it to its place, follow a few simple steps.

  1. Open any folder;
  2. At the top, click on "Service";
  3. "Folder properties";
  4. "View";
  5. In the list of additional parameters, uncheck the use of simplified shared access.

After that, we perform the above actions and, of course, we check whether you managed to cope with error 5 using this method or not.

2. Also, there is another way that I got on the Microsoft support pages. After seeing this advice in the comments, I decided to try it and the problem with error 5 when starting the service was solved.

The first step is to open the command line as an administrator, but if you are on this account, then you can stop worrying and just open cmd with Run.

Now, in the window that appears, we register this: net localgroup Administrators / add networkservice (Important: if you have English. OS then instead of Admin. specify Administrator) and press the "Enter" key.

Then we do this: net localgroup Administrators / add localservice . (Administrators)

When finished with the commands, close the command prompt window and restart the computer.

If the commands were entered correctly and you are in luck, then error 5 that prevents the services from starting should disappear, and the services themselves will start without any access denied messages.

3. We are trying to fix the access denied error when starting services using the operating system registry.

But, before we rush to crush our registry, we need to first find out the name of the service that does not want to start. To do this, in the list of services, open the properties of the service we need and look at the line “ Service name". Having memorized it, we go directly to work with the registry.

Registry Editor - launch it using the "Run" window. If you do not understand what it is about, then you.

You should be presented with a large list of services in alphabetical order. In order to understand what kind of service we need, I said to look at its name in the properties. So we are looking for a section with the appropriate name, right-click to call the section menu and select the line “ Permissions».

The same security setting should be displayed as I described in the first paragraph. In general, we are looking for full access in the "Administrators" and "Users" groups.


If they are absent at all, then we correct this matter, in the same way as I showed it at the beginning of the article.

4. Let's consider one more point, which is also related to access to the C drive, only this time not to all users, namely LOCAL SERVICE.

So, again we go into the security properties of the system disk. Further, after the list of users and groups, click on the "Add" button.

In the window that appears, click on "Search". As a result, a list should appear from which we need to select "" and click on the "OK" buttons.

This group should be added to the user's list, now for going down a little lower to the "Permissions for LOCAL" window, set all possible checkboxes and apply the changes.

In theory, the service should start after that, but error 5, disappear without a trace.

5. Alternatively, you can also disable or remove your antivirus and try to start the service without it. The fact is that in addition to software, some antivirus programs additionally install their services that could take away your rights to enable or disable some local services.

6. Well, a hundred percent option, of course, is, I know that it will not suit everyone, but I can tell you with confidence that it will definitely help you get rid of error 5 with denial of access to start the service, and, in addition, it will save the computer from other various glitches and problems 🙂

On this I will probably end my article, but if at least one of the above options helps you, then do not forget to join us

Hello dear friends! When working with folders and files, I often have one problem. It manifests itself in the fact that when you try to delete, insert or rename some folders, the message “ Access denied", For me personally, it is, well, very annoying. I am sure that every second person has come across this for sure and will clearly understand what I am talking about.

The most surprising thing is that I am the administrator of the computer, and as you know, the administrator has full access to the computer and can delete, edit any file or folder. But, sometimes there are some cases in which the folder becomes inaccessible. For example, after reinstalling Windows or after copying it from an external drive to the HDD of a computer.

In general, let's see what you can do if you receive an "Access Denied" error to a folder when performing any action.

Returning access to the folder on the "Access Denied" error

This example will work for all operating systems. But, Windows XP has one small snag. Before you start performing the basic steps to get the rights to a folder and get rid of the "Access Denied" error, you must turn off the simple view of file sharing in the folder properties. For all other operating systems, this value is disabled by default.

So, to disable sharing, go to some folder or to " My computer"And in the top menu we find the property item. By clicking on it, a drop-down menu will appear, where we click on "".

Further, clicking on the tab " View", In the list of parameters we look for the line" Use simple file sharing(recommended) ". And to save the edited parameters, press the button " OK».

Basic steps to fix the "Access denied" error to the folder

We find the folder to which we need to get full access for editing, and click on it with the right mouse button, where in the menu that appears, select "".

Now, click on the tab “ Safety"Where we find and click on" Additionally».

Now, separately for each operating system. Let's start with Windows XP and Windows 7, since these operating systems have the same owner assignment setup.

Windows XP and Windows 7:

Pressing " Additionally”, A window for configuring security settings will appear. And already there we go to the tab " Owner", In which we click on the button" Change».

Further, we will see the information who is the current owner and a list of users who can be appointed by this owner. Since I want to indicate my account as the owner, I designate it by clicking on it with a bear. Also, to become the owner of all the files contained in the folder, check the box next to “ Replace owner of subcontainers and objects. " Next, click " OK»To apply all parameters.

If the error "Access is denied" to the folder reappears. We are trying to select a group of administrators, it will also work, because our account has full administrator rights, and thus it is included in the list of users of this group.

Windows 8:

As of Windows 8, the file owner setting has been slightly changed here.

So, going into the security settings setting, we see that immediately above the name of the owner of the selected folder or file is displayed. And in order to select another user as the owner, click on the button " Change».

A window for selecting users will appear, where we must specify the name of the account to which we want to transfer rights. For example, my account is called "Igor" so I enter it in the field of selected objects and click the button " Check name". If everything was spelled out correctly, the name of the computer should appear in front of the name, it looks like this to me: “ MSI-Z77 \ Igor", And, as always, save the changes with the button" OK».

Now, you can do whatever you want with the folder, since all the rights to the folder now belong to you. And the error about the denial of access to the file will disappear forever. I would like to mention that on many computers the “Administrator” can be used as an account, so if during installation you did not create an account, then use it. In any case, if you have any questions, we leave them in the comments and we will definitely find answers to them.

What to do if "Access is denied" to the folder appears: 10 comments

    Hello, turning on the computer, I found on the monitor the absence of all the icons, (Windows7) a sign listing where exactly I was denied access and the keyboard's unwillingness to "speak" Russian. All the desktop folders were in the administrator's folder, the office programs were “access denied” and Chrome worked fine, there was access to mail. First, I adapted the documents I needed to transfer to the mail.ru cloud and there they were safely opened and even printed.

    I read a lot of tips on the Internet on how to restore normal operation, and t. To. time was later decided to tackle this problem in the morning, but just in case I downloaded the free Dr.Web utility and set the check for the night. The check ended and I turned off the computer. Turning it on in the morning, I found that everything worked fine, even the keyboard "spoke" in its native language.

    Thanks, it helped on win 7, but a lock appeared on the folder and it is systemic. I solved the problem by copying the content to a new folder "Normal" and deleted the old folder with confusing settings. Suspicion fell on the Time Boss parental control program. I put a ban on entry for another account, but as it turned out, it closed for everyone. When the settings were removed, nothing changed. Even in DOSe I could not get into it.

    Hello, I can not delete the current account. I write access denial what to do please tell me

Sometimes, when you try to open a folder, you may receive an error message. Let's see what can be done if there is no access to the folder.

The reasons why a folder cannot be opened are very different, but I will try to tell you about each of them and instruct you on what to do in each case if access to the folder is denied. To begin with, I must say that everything the following actions must be performed using an administrator account.

You are not the owner of the folder

After reinstalling or updating Windows, you may no longer be on the list of folder owners, so the system quite rightly prevents you from reading files that do not belong to you.

Now I will tell you how to access the folder in this case. First, go to the "Control Panel" menu item and select "Folder Options" or "Folder Options" there, depending on the system.

In the "View" tab, we find the item "Use the sharing wizard (recommended)", if you have Windows 7 or XP, if Windows 8 - "Use simple shared access to folders (recommended)", uncheck the box, click "OK".

Now right-click on the folder and select "Properties" from the drop-down menu. In the "Security" tab, click on "Advanced" and in a new window click on the "Owner" tab at the top of the window. At the bottom left, click "Change".

It is possible that you will not have such a tab. Then you need to go into safe mode and then follow the steps that are described below.

In the window that opens, select the name of the user whom you want to allow access and click "OK". To get access not only to the folder, but also to all files and folders inside, we selected the item "Replace owner of subcontainers and objects" and then click "OK".

As you can see, there is nothing difficult. The very bottom line is that the owner of the folder has changed and in order to fix this, you need to indicate yourself as the owner. It's different when you encrypted data and after reinstalling Windows decided to open this folder. Then the head may just explode, and your problem is solvable and you shouldn't worry! Hopefully, after following my instructions, you are no longer denied access to the folder you need.

By the way, if such an error appears when you open a flash drive or disk, then be sure to check your computer for viruses.

Here's another option, from the person who posted the video:

You can find dozens of cases on the network when a user cannot access the F, C or D drive on which Windows 10 is installed. As a result of such an error, it is not possible to boot from Windows 10 and the PC, in fact, becomes inoperative. What to do in this case, what actions to take to solve the problem?

Causes of a Locked Drive Problem

If, when turning on the PC, a message appears on the monitor screen stating that there is no access to drive D or access is denied to Windows 10, this indicates that the 100 MB boot partition (Reserved by the system) is damaged or missing.

Also, the reasons for this problem include:

  • Upgrading a PC from Windows 7 or Windows 8 to Windows 10;
  • The Intel Rapid Storage Technology driver is missing, which is required for the Intel Smart Response Technology (SRT) to function correctly;
  • Transferring Windows from HDD to SSD.

There are several ways to solve this problem, but you can't do without an installation disc.

Ways to solve the problem

If the disk on which Windows is installed, be it C or F, is locked, you should do the following:

  • Boot into BIOS and prioritize boot from disk. Boot from the installation media. At the initial stage, we select the installation language and region. Click "Next".
  • Next, select "System Restore".

  • A window titled "Select Actions" will appear. We select "Diagnostics".

  • In the new window, click "Advanced options".

  • In the "Additional parameters" select the item "Command line".

  • Next, we enter such commands one by one. After entering each, press "Enter".

select disk X, where X is the letter of the drive on which Windows 10 is installed;

  • A list of drives should appear. It should also display a 100 MB partition. If it is not there, enter the following commands.

create partition efi size = 100;

format quick fs = fat32 label = "System";

assign letter = "S";

  • Do not close the command line. The exit command is required to exit the diskpart utility.
  • Next, on the command line, write the following commands:

BCDBoot c: \ Windows / s s: / f UEFI.

After executing this command, you need to remove the installation disk and reboot the system (do not forget to set the priority of loading from the hard disk in the BIOS).

Also, there is one more method, how to use the command line to unlock the F or C drive on which Windows 10 is installed. To do this, we do all the same steps to get to the command line, which are described above. When the console is launched, you should enter the following commands:

bootrec / fixmbr;

bootrec / fixboot;

bootrec / rebuildbcd.

These are commands for recovering damaged hard disk partitions. They will also help solve the problem when the hard drive is locked.

After installing the software and restarting the PC, the message asking "Unlock the disk ..." will disappear and the system will boot normally.

Hello! Faced such a problem: the external drive no longer works under Windows. During connection it is visible, but when I try to open it, a message appears: “Access to G: / is denied. Access denied".

In "my computer" the disk parameters are not visible, it is indicated that the volume is 0. With standard disk management using Windows, the entire volume is displayed, and the occupied one too. With a program like R-studio, you can access all the files. Also, the disk works fine under various Unix systems (Linux, MacOS, TV, etc.). Help me please. It seems that the decision is not at all difficult. I understand that just formatting and rewriting information is possible, but there is no desire to rewrite 500 GB. And I also want to know for the future. Waiting for your reply.
Thanks in advance, Maxim

This is a correspondence by mail with a user asking for help. Perhaps she will help someone.

Good afternoon, Maxim!

If the data is very important for you, then try to extract it using type recovery programs to another media. Check their performance or copy them under Unix, and then you can deal with the problem.

If the information is not so important, then on the command line you need to issue the g: command and see what the checkdisk program shows about errors in the file system. The program will not make any changes to the file system. If serious errors are not detected by the program, then file chkdsk g: / F to correct errors in the file system. While checking and correcting errors in the file system, certain information may be lost. If no errors are found in the file system, then sort it out with access rights "

User response after running chkdsk command

Executed chkdsk with both parameters: no errors were found. And what about access rights? Please advise me what to see or read about this.

Also, now I checked access from the command line cmd, from which windows can see the entire structure of files and directories "

What you need to do:

  1. In explorer, right click on drive G:
  2. then - "Properties"
  3. after that - "Security

There is a lot of information in the search on how to change access rights in Windows. So it's hard to tell right away.

Also try to open the drive as follows: in the explorer, right-click on the G: drive, open. It may be that this is the result of a virus. And try to access the disk using a shell like Total Commander. "

User response after resolving rights issue

Thank you, we managed to figure out the rights. I made my user the owner of the files, after which access appeared. But another problem arose. When you connect this disk to another computer, the first one is still not available. We have to carry out the same manipulations. Can I somehow restore the rights for any user of this disk? "

Top related articles