Remove AMD Catalyst from Windows desktop right-click menu

Page 2 of 3 FirstFirst 123 LastLast

  1. Posts : 1,777
    Windows 11 [21H2]
       #11

    Matthew Wai said:
    The author does not bother to translate the registry files into REG commands, which can be integrated into PowerShell, CMD, and batch scripts.
    This file:
    AMDCatalyst.bat

    Code:
    @echo off
    -------------------------------------------------
    Remove AMD Catalyst on Right-click menu
    
    By JBCarreon123 at
    Tenforums.com/members/jbcarreon123.html
    
    Requested by Matthew Wai at
    Tenforums.com/members/matthew-wai.html
    
    Tutorial by cgrim1865 at
    tenforums.com/members/cgrim1985.html
    -------------------------------------------------
    
    echo.
    echo        Remove AMD Catalyst on Right-click menu
    echo.
    echo        Selections:
    echo.
    echo        [1] ^> Remove AMD Catalyst on Right-click menu
    echo        [2] ^> Add AMD Catalyst on Right-click menu
    echo.
    echo        [0] ^> Exit
    echo.
    choice /c 120 /n /m "        Choose a number: "
    
    if "%errorlevel%"=="1" ( goto remove)
    if "%errorlevel%"=="2" ( goto add)
    if "%errorlevel%"=="3" ( exit /b)
    
    :remove
    REG Delete "HKCR\Directory\Background\shellex\ContextMenuHandlers\ACE" /F
    
    goto Final
    
    :add
    REG Add "HKCR\Directory\Background\shellex\ContextMenuHandlers\ACE" /T REG_SZ /D "{5E2121EE-0300-11D4-8D3B-444553540000}" /F
    
    goto Final
    
    :Final
    echo.
    echo Finished. Press [ANY KEY] to exit.
    pause >nul
      My Computers


  2. Posts : 98
    Windows 10 Pro 64 Bit
    Thread Starter
       #12

    Matthew Wai said:
    The author does not bother to translate the registry files into REG commands, which can be integrated into PowerShell, CMD, and batch scripts.
    I don't know how to translate registry files into REG commands, so that is why I didn't.
      My Computer


  3. Posts : 7,607
    Windows 10 Home 20H2
       #13

    jbcarreon123 said:
    This file:
    AMDCatalyst.bat
    I have not run it, but I think you need the following line right under @echo off:
    Code:
    (Fsutil Dirty Query %SystemDrive%>Nul)||(PowerShell start """%~f0""" -verb RunAs & Exit /B)

    And I would simplify the code a bit as below:
    Code:
    Set "Key=HKCR\Directory\Background\shellex\ContextMenuHandlers\ACE"
    if "%errorlevel%"=="1" (REG Delete "%Key%" /F & goto Final)
    if "%errorlevel%"=="2" (REG Add "%Key%" /T REG_SZ /D "{5E2121EE-0300-11D4-8D3B-444553540000}" /F
     goto Final)
    if "%errorlevel%"=="3" ( exit /b)
      My Computer


  4. Posts : 56,830
    Multi-boot Windows 10/11 - RTM, RP, Beta, and Insider
       #14

    Matthew Wai said:
    The author does not bother to translate the registry files into REG commands, which can be integrated into PowerShell, CMD, and batch scripts.
    Then I suggest you speak to the author.
      My Computers


  5. Posts : 98
    Windows 10 Pro 64 Bit
    Thread Starter
       #15

    f14tomcat said:
    Then I suggest you speak to the author.
    Like I said I don't know how to translate registry files into REG commands.
      My Computer


  6. Posts : 56,830
    Multi-boot Windows 10/11 - RTM, RP, Beta, and Insider
       #16

    cgrim1985 said:
    Like I said I don't know how to translate registry files into REG commands.
    I wasn't referring to you.
      My Computers


  7. Posts : 7,607
    Windows 10 Home 20H2
       #17

    I am willing to help any author as long as they need my help.
      My Computer


  8. Posts : 56,830
    Multi-boot Windows 10/11 - RTM, RP, Beta, and Insider
       #18

    In order to bring this to a quicker end, why don't you simply say who you are referring to, and stop the 3rd person rhetoric.
      My Computers


  9. Posts : 1,777
    Windows 11 [21H2]
       #19

    @Matthew Wai, Test this one:
    AMDCatalyst.bat
      My Computers


  10. Posts : 98
    Windows 10 Pro 64 Bit
    Thread Starter
       #20

    f14tomcat said:
    I wasn't referring to you.
    I know, but I'm the author of this thread.
      My Computer


 

  Related Discussions
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 02:14.
Find Us




Windows 10 Forums