Announcement

Collapse
No announcement yet.

uninstall if member of a AD group

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • uninstall if member of a AD group

    hey guys what is the best way to script an uninstall of our old novell client

    im thinking about using the 'case' to use on an active directory group, so if they belong to that group it starts the uninstallstring from the registry

    %SystemRoot%\system32\rundll32 nwsetup.dll NWUninstallClient


    thanks

  • #2
    Re: uninstall if member of a AD group

    Not 100% sure on the uninstall part but to check for group membership you need to download ifmember

    Here is how it is used:

    Code:
    \\server\share\ifmember DOMAIN\ADGroup
    IF ERRORLEVEL 1 runyourcommandhere
    Server 2000 MCP
    Development: ASP, ASP.Net, PHP, VB, VB.Net, MySQL, MSSQL - Check out my blog http://tonyyeb.blogspot.com

    ** Remember to give credit where credit is due and leave reputation points sigpic where appropriate **

    Comment

    Working...
    X