Windows 10: Reg file to batch remove BLOCK from files /Folder Solved

  1.    16 Jan 2017 #1

    Reg file to batch remove BLOCK from files /Folder


    Hi I found this, which I added to the registry but the right click option to unblock files / folders hasnt appeared

    any help please

    [HKEY_CLASSES_ROOT\*\shell\unblockfile]@=”Unblock file”[HKEY_CLASSES_ROOT\*\shell\unblockfile\command]@=”cmd /c streams -d \”%1\””[HKEY_CLASSES_ROOT\Directory\shell\unblockallthefiles]@=”Unblock the files inside”[HKEY_CLASSES_ROOT\Directory\shell\unblockallthefiles\command]@=”cmd /c streams.exe -d -s \”%1\””
      My ComputerSystem Spec

  2.    17 Jan 2017 #2

    Hi,

    Code:
    Windows Registry Editor Version 5.00
    
    [HKEY_CLASSES_ROOT\*\shell\unblockfile]
    @="Unblock file"
    
    [HKEY_CLASSES_ROOT\*\shell\unblockfile\command]
    @="cmd /c streams -d \"%1\""
    
    [HKEY_CLASSES_ROOT\Directory\shell\unblockallthefiles]
    @="Unblock the files inside"
    
    [HKEY_CLASSES_ROOT\Directory\shell\unblockallthefiles\command]
    @="cmd /c streams.exe -d -s \"%1\""

    This ought to do the trick but make sure to DL from Sysinternals and copy "Streams.exe to %windir%\system32.

    Cheers,
      My ComputersSystem Spec

  3.    17 Jan 2017 #3

    Thanks, did you modify the text, or is it the same ?

    thanks
      My ComputerSystem Spec

  4.    17 Jan 2017 #4

    Hi,


    Thanks, did you modify the text, or is it the same ?
    No, but it works for me.

    Cheers,
      My ComputersSystem Spec

  5.    17 Jan 2017 #5

    Good enough for me.....when I tried it I got a message that the file I was trying to unlock was not associated with the unblock command, or something similar and was not available for folders
      My ComputerSystem Spec

  6.    18 Jan 2017 #6

    says cannot import it is not a registry script
      My ComputerSystem Spec

  7.    19 Jan 2017 #7

    Hi,

    Are you sure you saved the file as a .reg file ?

    It works just fine for me.

    Cheers,
      My ComputersSystem Spec

  •    19 Jan 2017 #8

    Yes I did......can the file you created be attached to this post ?
      My ComputerSystem Spec

  •    19 Jan 2017 #9

    Hi,

    Here you go:
    Reg file to batch remove BLOCK from files /Folder Attached Files
      My ComputersSystem Spec

  •    19 Jan 2017 #10

    Thank you it worked perfectly....handy one to have I think
      My ComputerSystem Spec


  •  

    Related Threads
    Hello, everyone, I am using the most current preview build of Windows 10. (Loving the Fast Ring.) I have a question about clearing the Recent Files section of Quick Access, in File Explorer. I know how to clear and reset the Recent Files list...
    When I open file explorer and select certain folders, it opens in the alpha sort. When I go to sort on dates, it takes forever in Windows 10, and has pretty much since launch. Don't remember this on Win7. Are there any switches I could throw, or...
    Hi there forum, how do you change the Visual effects using a batch file or registry file. Thanks, Edward.
    How do I create a batch file to convert all of my iPod Photo Cache all at once to jpeg. I have SmartIV ImageZipper Image Converter 1.0.2. I have read how to use other software to do this but I can't figure out the command with this software. I have...
    Hi, I'm not new to Batch Files but i have a requirement that i can't seem to get my head around, I'm sure it must be simple'ish.. I have 2 .txt files (Locations.txt | Files.txt) Locations is a list of directories Files is a list of...
    Our Sites
    Site Links
    About Us
    Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

    © Designer Media Ltd
    All times are GMT -5. The time now is 11:29.
    Find Us