1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

windows 7 reg query batch file

Discussion in 'DOS/Other' started by antmar904, Dec 12, 2011.

Thread Status:
Not open for further replies.
Advertisement
  1. antmar904

    antmar904 Thread Starter

    Joined:
    Feb 22, 2010
    Messages:
    64
    hi all,

    i am trying to uninstall mozilla firefox from all of our workstations but there are diffrent versions out there.

    basically what i wanted to do is create a batch file that would look in the registry on a windows 7 32bit machine and search for a uninstall string for mozilla firefox.

    the key to search for is located here:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall

    i want to query this directory and find the sub key that has mozilla as the (displayname) then somehow read the (uninstallstring) value and export that to a txt file.

    i tried multiple command line parameters and none of them seem to get me the results that i am looking for.
     
  2. UserBarZero

    UserBarZero

    Joined:
    Nov 29, 2011
    Messages:
    47
    You could always delegate it out and have other people uninstall it personally. I guess..
    Just asking but, could that batch file you are trying to make be considered a virus from another perspective? Or does it not work like that. oO

    editz:
    This might be able to be moved to windows 7 since that is your operating system. Ask a mod?
     
  3. Squashman

    Squashman Trusted Advisor

    Joined:
    Apr 4, 2003
    Messages:
    19,786
    Not sure why you couldn't just run the helper.exe file with the /S switch to uninstall.

    "C:\Program Files\Mozilla Firefox\uninstall\helper.exe" /S
     
  4. antmar904

    antmar904 Thread Starter

    Joined:
    Feb 22, 2010
    Messages:
    64
    because not all of the firefox versions support the helper.exe, at least i think.
     
  5. Squashman

    Squashman Trusted Advisor

    Joined:
    Apr 4, 2003
    Messages:
    19,786
    I still have 3.X on my computer and it supports it and my buddy has version 8 and it also supports it. A quick Google Search and it looks like even 2.X supports it.
     
  6. Sponsor

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/1030979

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice