Thumbnails - Enable or Disable - Add to Context Menu

Page 2 of 2 FirstFirst 12

  1. Posts : 72,043
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #10

    Yanez,

    Ah, so Comodo was blocking it from running. Glad you got it sorted. :)
      My Computer


  2. Posts : 22
    Windows 7 Home Premium 64bit.
       #11

    For some reason this has stopped working. I tried re-do everything and it's still the same. Wonder if some windows update broke it.
      My Computer


  3. Posts : 22
    Windows 7 Home Premium 64bit.
       #12

    KumaraB said:
    For some reason this has stopped working. I tried re-do everything and it's still the same. Wonder if some windows update broke it.
    Never mind. It's working again. I was confusing it with another solution using right-clicking on the folder icon.
      My Computer


  4. Posts : 19
    windows7 ultimate x32
       #13

    via cmd


    Code:
    @echo Off
    reg query "HKU\S-1-5-19\Environment"
    If Not %ERRORLEVEL% EQU 0 (
     cls & echo Schadenfreude..
     pause & exit
    )
    cls
    
     echo  Add "Enable/Disable Thumbnails" to Context Menu:
    (
     echo Registry = "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\IconsOnly"
     echo Set Command = CreateObject^("WScript.Shell"^)
     echo Thumbnails = Command.RegRead^(Registry^)
     echo If Thumbnails = 0 Then
     echo Command.RegWrite Registry, 1, "REG_DWORD"
     echo Else
     echo Command.RegWrite Registry, 0, "REG_DWORD"
     echo End If
     echo Command.SendKeys "{F5}"
     echo.
    ) > %SystemRoot%\Toggle-Thumbnails-ON-OFF.vbs
    echo.
    reg add "HKCR\Directory\Background\shell\Enable/Disable Thumbnails"             /v "Icon" /d "imageres.dll,-72"                                /f
    reg add "HKCR\LibraryFolder\Background\shell\Enable/Disable Thumbnails"         /v "Icon" /d "imageres.dll,-72"                                /f
    reg add "HKCR\Directory\Background\shell\Enable/Disable Thumbnails\command"     /ve       /d "WScript C:\Windows\Toggle-Thumbnails-ON-OFF.vbs" /f
    reg add "HKCR\LibraryFolder\Background\shell\Enable/Disable Thumbnails\command" /ve       /d "WScript C:\Windows\Toggle-Thumbnails-ON-OFF.vbs" /f
    echo.
    
    ::  echo  Remove "Enable/Disable Thumbnails" from Context Menu:
    :: reg delete "HKCR\Directory\Background\shell\Enable/Disable Thumbnails"     /f
    :: reg delete "HKCR\LibraryFolder\Background\shell\Enable/Disable Thumbnails" /f 
    :: echo.
    
    pause & exit
      My Computer


 
Page 2 of 2 FirstFirst 12

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

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