DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports Events Over 2 million developers have joined DZone. Join Today! Thanks for visiting DZone today,
Edit Profile Manage Email Subscriptions Moderation Admin Console How to Post to DZone Article Submission Guidelines
View Profile
Sign Out
Refcards
Trend Reports
Events
Zones
Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Partner Zones AWS Cloud
by AWS Developer Relations
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Partner Zones
AWS Cloud
by AWS Developer Relations
Building Scalable Real-Time Apps with AstraDB and Vaadin
Register Now

Trending

  • What ChatGPT Needs Is Context
  • What Is JHipster?
  • Replacing Apache Hive, Elasticsearch, and PostgreSQL With Apache Doris
  • Never Use Credentials in a CI/CD Pipeline Again

Trending

  • What ChatGPT Needs Is Context
  • What Is JHipster?
  • Replacing Apache Hive, Elasticsearch, and PostgreSQL With Apache Doris
  • Never Use Credentials in a CI/CD Pipeline Again
  1. DZone
  2. Coding
  3. Languages
  4. Unblock Files In Windows 8 Using PowerShell And Registry

Unblock Files In Windows 8 Using PowerShell And Registry

Michael Crump user avatar by
Michael Crump
·
May. 01, 12 · Interview
Like (0)
Save
Tweet
Share
8.50K Views

Join the DZone community and get the full member experience.

Join For Free

introduction

in case you haven’t noticed, the following “ unblock ” button is missing from windows 8 file properties.

image

this can be a tad annoying when downloading zip files from the internet and answering security prompt after prompt to get the file loaded. so, what did i do? i fixed it by using powershell and a quick registry entry.

the solution

note: if you don’t want to dig into the registry yourself then you can just download the completed .reg file here .

create a new registry entry in : hkey_classes_root\*\shell\ and call it powershell, now set the data to be “ unblock files ”.

snaghtml16b57822

underneath the powershell key we just created, add a new key called command and set the data to be c:\\windows\\system32\\windowspowershell\\v1.0\\powershell.exe unblock-file  -literalpath '%l'

just copy and paste that entire line.

snaghtml16b7f280

now if you right click on a file or files, then you will see the option to “ unblock files ”

image

also as stated earlier, you can download a .reg file from here to avoid performing any of this work. the contents of the registry file are as follows:

windows registry editor version 5.00

[hkey_classes_root\*\shell\powershell]
@="unblock files"

[hkey_classes_root\*\shell\powershell\command]
@="c:\\\\windows\\\\system32\\\\windowspowershell\\\\v1.0\\\\powershell.exe unblock-file  -literalpath '%l'"

wrap-up

i hope this helped! thanks for reading.

the “latest and greatest” bits of all microsoft products can be found below.

windows 8 consumer preview download | vs11 beta download | azure sdk | azure trial | windows phone sdk | webmatrix

PowerShell

Opinions expressed by DZone contributors are their own.

Trending

  • What ChatGPT Needs Is Context
  • What Is JHipster?
  • Replacing Apache Hive, Elasticsearch, and PostgreSQL With Apache Doris
  • Never Use Credentials in a CI/CD Pipeline Again

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com

Let's be friends: