This discussion has been locked. The information referenced herein may be inaccurate due to age, software updates, or external references.
You can no longer post new replies to this discussion. If you have a similar question you can start a new discussion in this forum.

WMI Provider folder

Mostly due to my OCD I hate unnecessary folders and shortcuts in the Windows Start Menu.  Having a folder and icon that allows users to uninstall the WMI Provioder in my opinion is not a good idea at all.  Is there a way to modify the WMI Provider install either through automatic provisioning or through the WSUS package to keep this folder and shortcut from being created?

My current work around has been and GPO that deletes the folder.

Thanks!

-mark

  • One possibility you have to accomplish this goal is to customize the wmi provider package to utilize packageboot to execute a post-execution task that removes the start menu item. I created a test package with the following parameters:

    Create remove.bat file with the following:

    @echo off

    rd "C:\Documents and Settings\All Users\Start Menu\Programs\EminentWare WMI Providers" /s/q

    Include the .bat file as an Additional File.

    Add the following line to PackageBoot as a post execution task

    <program type="exe" typeaction="runandwait" name="cmd.exe" pathtype="simplepath" path="%windir%\system32" successcode="0" failureaction="stop" enabled="true">/C %MODULEPATH%\remove.bat</program>

    Since the wmi providers are already out in your deployment you will still need to find a way to remove them before publishing your custom package out there. Unfortunately this is not a program that can be uninstalled using the uninstall software function within computer explorer. You may consider publishing the original wmi providers package to wsus and approve for uninstall, then once all your machines have checked in and removed this package you can publish out the modified package.

  • I like this.  Marking this as helpful as opposed to correct only because I feel the correct answer is a feature request that allows for a installer switch which will keep the folder from being created at the time of install.  I really appreciate your time on this David.  Thanks!

  • Would you like to submit this as a feature request?  If so, I could move this thread over to the Patch Manager Feature Requests forum for you?  Otherwise, I would post your feature request there for the Product Manager to review.

    Thanks!

    Danielle

  • I would like to keep this thread here in case others wonder about the same.  I have posted this feature request in the appropriate forum.  Thank you for your assistance!  -mark