In Windows 7 (actually any of the latest Windows releases) you will find that files copied to your local drives are not trusted until you right-click on them and in the properties click the ‘Unblock’ button. This is all very well for one or two files, but gets extremely tedious with more. It turns out to be related to NTFS’s ability to allow alternate data streams.
So here is a simple method of mass or bulk unblocking files.
- Download the Sysinternals Streams.exe from http://technet.microsoft.com/en-us/sysinternals/bb897440.aspx
- I find Sysinternals so useful I create a ‘SysInternals’ folder on my C: drive and then put this into my ‘path’ environment variable so that I can run them from anywhere. However, if this is too much then the easiest is to copy the streams.exe to the root folder you wish to have files unblocked.
- In a command windows (with Admin privileges), use ‘cd’ to navigate to your folder.
- Type the command ‘streams –s –d subfoldername’ and press enter.
I have a message saying security settying put your computer at risk. click here to change security settings I tried but I cannot . The computer is saying my administration side is corupted. How can I fix the problem. Please can you kindly help? Thank you very much.
I have a message saying security settying put your computer at risk. click here to change security settings I tried but I cannot . The computer is saying my administration side is corupted. How can I fix the problem. Please can you kindly help? Thank you very much.
I send a message before can you notify me by email? Thank you
Sir, Yours is a very intersting concept. However, when use as you direct, nothing happens. See below
c:inetpubwwwrootctestbin>streams -s -d *.*
Streams v1.56 – Enumerate alternate NTFS data streams
Copyright (C) 1999-2007 Mark Russinovich
Sysinternals – http://www.sysinternals.com
usage: streams [-s] [-d]
-s Recurse subdirectories
-d Delete streams
c:inetpubwwwrootctestbin>cd ..
c:inetpubwwwrootctest>cd ..
c:inetpubwwwroot>streams -s -d ctest
Streams v1.56 – Enumerate alternate NTFS data streams
Copyright (C) 1999-2007 Mark Russinovich
Sysinternals – http://www.sysinternals.com
usage: streams [-s] [-d]
-s Recurse subdirectories
-d Delete streams
c:inetpubwwwroot>streams -s -d .ctest
Streams v1.56 – Enumerate alternate NTFS data streams
Copyright (C) 1999-2007 Mark Russinovich
Sysinternals – http://www.sysinternals.com
usage: streams [-s] [-d]
-s Recurse subdirectories
-d Delete streams
c:inetpubwwwroot>streams -s -d .ctest
Streams v1.56 – Enumerate alternate NTFS data streams
Copyright (C) 1999-2007 Mark Russinovich
Sysinternals – http://www.sysinternals.com
usage: streams [-s] [-d]
-s Recurse subdirectories
-d Delete streams
c:inetpubwwwroot>
Sir, Yours is a very intersting concept. However, when use as you direct, nothing happens. See below
c:inetpubwwwrootctestbin>streams -s -d *.*
Streams v1.56 – Enumerate alternate NTFS data streams
Copyright (C) 1999-2007 Mark Russinovich
Sysinternals – http://www.sysinternals.com
usage: streams [-s] [-d]
-s Recurse subdirectories
-d Delete streams
c:inetpubwwwrootctestbin>cd ..
c:inetpubwwwrootctest>cd ..
c:inetpubwwwroot>streams -s -d ctest
Streams v1.56 – Enumerate alternate NTFS data streams
Copyright (C) 1999-2007 Mark Russinovich
Sysinternals – http://www.sysinternals.com
usage: streams [-s] [-d]
-s Recurse subdirectories
-d Delete streams
c:inetpubwwwroot>streams -s -d .ctest
Streams v1.56 – Enumerate alternate NTFS data streams
Copyright (C) 1999-2007 Mark Russinovich
Sysinternals – http://www.sysinternals.com
usage: streams [-s] [-d]
-s Recurse subdirectories
-d Delete streams
c:inetpubwwwroot>streams -s -d .ctest
Streams v1.56 – Enumerate alternate NTFS data streams
Copyright (C) 1999-2007 Mark Russinovich
Sysinternals – http://www.sysinternals.com
usage: streams [-s] [-d]
-s Recurse subdirectories
-d Delete streams
c:inetpubwwwroot>
Try opening the command prompt as administrator before running streams.
That solved this problem for me.
Yes, I suspect that will be most users problems. Thanks for that.
Try opening the command prompt as administrator before running streams.
That solved this problem for me.
Yes, I suspect that will be most users problems. Thanks for that.
Thank you so much for posting this. I spent 2 hours trying to fix this, and using streams everything got fixed in 5 minutes! 😀
Thank you so much for posting this. I spent 2 hours trying to fix this, and using streams everything got fixed in 5 minutes! 😀
Thanks, great way to unblock thousands of files! Took seconds.
Alas- run as administrator: it seemed to work the first time through; however, files are still blocked. Tried again, and got “no files with streams found”. Do you think it cares if I have mixed files- some that require unblocking and some that don’t?
Alas- run as administrator: it seemed to work the first time through; however, files are still blocked. Tried again, and got “no files with streams found”. Do you think it cares if I have mixed files- some that require unblocking and some that don’t?
If the files have Read Only property does not work out of box, but just select all of them, right click->Properties, click on Read Only check box (it must be empty), click Apply button, you will can do the process. After that you can put the Read only property back.
If the files have Read Only property does not work out of box, but just select all of them, right click->Properties, click on Read Only check box (it must be empty), click Apply button, you will can do the process. After that you can put the Read only property back.
not working for me, it opens then just closes straight away
I would suggest you open a command window with Admin permissions and then execute the commands. Don’t just do a run as you will not be able to read the output and it does not run with the Admin privileges.
If you are using Windows 8.1, right-click on the start button and you should see it there.
not working for me, it opens then just closes straight away
I would suggest you open a command window with Admin permissions and then execute the commands. Don’t just do a run as you will not be able to read the output and it does not run with the Admin privileges.
If you are using Windows 8.1, right-click on the start button and you should see it there.
What worked for me (WIN7) was to:
1: put Streams.exe in the desired folder
2: open a command prompt in Admin mode,
3: launch with the following command. ‘streams –s –d *.*’
The supplied syntax at the Orig. Post had no result for me. “No files found.”
Try the *.* and see if it works for you. Saved me literally hours and hours of manual labor.
Thanks!!!
What worked for me (WIN7) was to:
1: put Streams.exe in the desired folder
2: open a command prompt in Admin mode,
3: launch with the following command. ‘streams –s –d *.*’
The supplied syntax at the Orig. Post had no result for me. “No files found.”
Try the *.* and see if it works for you. Saved me literally hours and hours of manual labor.
Thanks!!!
Thank you!! I followed Terry’s steps (comment 12) and was finally able to get Streams.exe to work. 🙂
Powershell FTW:
Get-Item “C:\*.*” | Unblock-File
https://technet.microsoft.com/en-us/library/hh849924.aspx
Powershell FTW:
Get-Item “C:\*.*” | Unblock-File
https://technet.microsoft.com/en-us/library/hh849924.aspx
Use Powershell command prompt. https://technet.microsoft.com/en-us/library/hh849924.aspx
Get_Item **.* | Unblock-File
Use Powershell command prompt. https://technet.microsoft.com/en-us/library/hh849924.aspx
Get_Item **.* | Unblock-File
Just spotted your post here. Thanks that’s good to know.