When you uninstall a software, the configuration files and Registry keys get stored in some locations. In most cases the uninstaller is able to remove all the files and registry entries. But at times, some folders remain and you may get an error You’ll need to provide administrator permission to delete this folder. What you have to do is to take ownership of the folder, follow the steps below:
Right-click on the folder that you want to delete and go to Properties.
Under Security tab, click on the Edit button.
Then click the Add… button and you will get an empty box with a text called Enter the object names to select.
Write Everyone in the empty box and then click on the Check Names button.
Select Everyone under Group or user names: section and allow Full control in the corresponding box.
Click Apply, then OK.