• Home
        • Database Development

          Database development is designing, creating a database or data model, and analyzing requirements and their intents as raw data.

          Learn More
        • Architecture & Design

          Software architecture refers to the fundamental structures of a software system and the discipline of creating such structures and systems.

          Learn More
        • Programming

          Computer programming is the process of performing a particular computation or more generally, accomplishing a specific result.

          Learn More
        • Cloud Computing

          Cloud computing is the on-demand availability of computer system resources, especially data storage and computing power.

          Learn More
        • ETL Development

          ETL provides the foundation for data analytics and machine learning workstreams. Through a series of business rules, ETL cleanses and organizes data.

          Learn More
        • Data Visualization & Reports

          Data and information visualization is an interdisciplinary field that deals with the graphic representation of data and information.

          Learn More
  • Blog
  • Contact

Resolving Windows Folder Access Denied Error

I previously got rid of my desktop when its motherboard got damaged. Prior to throwing it away, I recovered its SATA hard drive.
"folderaccesserror9"
I recently connected the retrieved hard drive to my laptop as shown above (Local Disk (G:)) and attempted to delete windows system folders such as the “hidden” ProgramData folder
"folderaccesserror2"
However, I ran into an error message “you require permission from administrators to make changes to this folder” as shown below:
"folderaccesserror3"
The simplest way to resolve this would be for me to log onto my desktop and delete the file from there. However, my desktop no longer existed.
I, therefore, tried several ways of resolving this error including:

  • Disabling the UAC local security policy that enforces this check
  • Enabling “inheritance” in the security options of the folder

Fortunately, I found the below script from howtogeek.com which fixed the error for me.
http://www.howtogeek.com/wp-content/uploads/TakeOwnership.zip
Download and extract the files from the above link.
Click the InstallTakeOwnership command. You will then be asked to confirm your action as shown below:
"folderaccesserror4"
Upon clicking the Yes button, you will receive the below message to confirm the successful installation of the InstallTakeOwnership script.
"folderaccesserror5"
Once the script has been installed, a new option “Take Ownership” will come up when you right-click a folder or a file as shown below:
"folderaccesserror6"
Once you click the Take Ownership button shown above, a command window will come up which informs you that ownership of a selected folder/file has been transferred to your account as shown below.
"folderaccesserror1"
Afterward, you can proceed to delete the file/folder as shown below:
"folderaccesserror7"
CodeProject

there

Loading

Sifiso

October 13, 2022
Sifiso is Data Architect and Technical Lead at SELECT SIFISO – a technology consulting firm focusing on cloud migrations, data ingestion, DevOps, reporting and analytics. Sifiso has over 15 years of across private and public business sectors, helping businesses implement Microsoft, AWS and open-source technology solutions. He is the member of the Johannesburg SQL User Group and also hold a Master’s Degree in MCom IT Management from the University of Johannesburg.

Meet Our Experts

We are proud to have a team of experts who are passionate about delivering the best possible solutions to you. Our team members are highly skilled and experienced in a diverse range of IT technologies, and are committed to staying up-to-date with the latest industry trends and best practices to deliver you the best results.

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Join Our Newsletter

Subscribe to get our latest and best thinking on the most definitive workforce topics affecting HR leaders and organizations today.