Can No Longer Read Uninstall Keys with vbscript package run by SCCM

Hi, 
I've been using vbscript packages in SCCM for over a decade, and one thing I do is use the registry to determine if I need to uninstall an old program with the Value:
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\
or
HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall
Example code snip:
UnstKey = "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{81BE0B17-563B-45D4-B198-5721E6C665CD}"
UnstVal = wshShell.RegRead(UnstKey & "\UninstallString")
If I run this manually, it works great, but all of a sudden, when I run a vbscript like this in SCCM it now returns: 
Invalid root in registry key "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{...}\UninstallString"
I normally run everything whether or not a user is logged on as System, but I did a test, and it even fails if I run the package as the user, which really surprised me. I check permissions in registry key, and Everyone has read, System has Modify.
This code was working about a month ago. No changes to SCCM that I know. Sadly, we are still running 2007 SP2
Please help!

If anyone else stumbles on this issue, you're almost certainly running into the issue with 64bit clients.  Config Manager Agent runs as a 32bit process so won't read the registry key from the location you're expecting.  This uninstall strings will
be in the following location:
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\
If you need an existing VBScript to run you'll want to call the following:
%windir%\Sysnative\wscript.exe 
Hope this helps.  I should have spotted this with my Config Manager earlier.  Had me scratching my head for a while.

Similar Messages

  • The problem I have since I upgraded to Mavericks version 10.9.1 The problem appears only with Mail not with other programs, not even with my browser. When I try to zoom the text of an e-mail I received or sent , I can no longer use the keys Command   to e

    the problem I have since I upgraded to Mavericks version 10.9.1
    The problem appears only with Mail not with other programs, not even with my browser.
    When I try to zoom the text of an e-mail I received or sent , I can no longer use the keys Command + to enlarge the text, although I can reduce it with Command -.
    As I have a problem with my eyes, This is a serious matter for me.
    When I write an e-mail, if I select text and press Command +, it just displaces the text to the right.
    Now, my husband has a USB keyboard. If he connects it to my computer, his regular Command + does not work either, but  he uses the extended keyboard, then it works. Unfortunately, he needs it for a musical application which does not work with a wireless keyboard.

    Firefox 3.6.4 and 3.6.6 use a process called, "plugin-container.exe" which was using up most of my CPU when I opened up multiple tabs that contained Adobe Flash files, and caused Firefox to lock up.
    My solution was to use Firefox 3.5.10 which you can get from the Mozilla website at [http://www.mozilla.com/en-US/firefox/all-older.html]
    I am using Adobe Flash 10.1.53.64 without any problem in this version of Firefox. Check the release notes, I believe it contains all the latest security fixes in "Firefox 3.6.4".
    Hopefully, they will fix Firefox 3.6 in the next version (e.g. Firefox 3.6.7), until then you should probably use "Firefox 3.5.10".

  • Can no longer read "Comments" on New York Times website

    I updated Flash Player on Monday to the latest version, but today (Tuesday) find I can no longer read the "comments" attached to various articles on the NYT website.  Neither of our other home machines (an early iPad and a win7 laptop) have this problem, nor were they updated.  I contacted NYT, and they said they can't duplicate the problem, nor are others reporting the problem.
    My system is Windows 8 64bit, (not 8.1 and not touch-enabled).  Does anyone have any suggestions?  Many thanks.

    The thing is... The NYT comments DON'T require or use Flash Player.  They use Java, which is a separate plugin and has nothing to do with Flash.
    How do I know? I disabled Flash and went to their pages:
    There are the comments with NO Flash Player activated.
    Try updating Java.
    And BTW, you can't update Flash Player on an iPad, because there never was a Flash Player for iOS.

  • When I first attached a cable from iphone6 to hdmi on tv, I was able to read kindle on tv. After watching movies and playing Pandora from iphone to tv through the cable, I can no longer read kindle through it. What settings do I need to change?

    When I first attached a cable from iphone6 to hdmi on tv, I was able to read kindle on tv. After watching movies and playing Pandora from iphone to tv through the cable, I can no longer read kindle through it. What settings do I need to change?

    Hi,
    Already mentioned on the following post:
       http://h30434.www3.hp.com/t5/Other-Notebook-PC-Que​stions/VGA-on-laptop-HDMI-on-TV-needs-connected/m-​...
    You need a CONVERTER, not ADAPTER The setup:
    The following list may help:
         http://www.ebay.com.au/sch/sis.html?_kw=HDMI+To+VG​A+COMPONENT+Adaptor+A+V+Digital+Converter
    Laptop (VGA) ---- Converter from VGA to HDMI ------ TV
    You also need sound, you can buy a converter with sound OR connect sound directly from laptop to TV.
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • I recently uploaded 10.8, but I have a number of VALUABLE old files which I can no longer read because "power PC applications are no longer supported.  How can I retrieve them?

    I recently uploaded 10.8, but I have a number of VALUABLE old files which I can no longer read because "power PC applications are no longer supported.  How can I retrieve them"?

    Here is a post I assembled for another with a similar problem:
    Unfortunately you got caught up in the minor miracle of Rosetta.  Originally licensed by Apple when it migrated from the PowerPC CPU platform that it had used from the mid-1990's until the Intel CPU platform in 2006, Rosetta allowed Mac users to continue to use their library of PPC software transparently in emulation.
    However, Apple's license to continue to use this technology expired with new releases of OS X commencing with Lion (and now Mountain Lion).  While educational efforts have been made over the last 6 years, the fact is that Rosetta was SO successful that many users were caught unaware UNTIL they upgraded to Lion or Mountain Lion.
    Workarounds:
    1. If your Mac will support it, restore OS X Snow Leopard;
    2.  If your Mac will support it, partition your hard drive or add an external hard drive and install Snow Leopard into it and use the "dual-boot" method to choose between your PPC software or Lion/Mt. Lion;
    3. Upgrade to an Intel compatible versions of your software, or find alternatives that will open your data files;
    3.  Install Snow Leopard (with Rosetta) into Parallels:
                                  [click on image to enlarge]
    Full Snow Leopard installation instructions here:
    http://forums.macrumors.com/showthread.php?t=1365439
    NOTE: STEP ONE of the instructions must currently be completed on a Snow Leopard or Lion Mac and the resulting modified Snow Leopard.cdr install file can then be moved over to your Mountain Lion Mac for completion of the remaining steps.
    NOTE 2:  Computer games with complex, 3D or fast motion graphics make not work well or at all in virtualization.

  • I can no longer read Yahoo verizon mail, RETR error, I can send

    Hi,
    I can no longer read e-mails from Yahoo Verizon. I can send them. I am getting a messageBox with the error "The RETR command did not succeed. Error retrieving a message. Mail server incoming.yahoo.verizon.net responded: problem retrieving message."
    I verified my settings, which were working up until I tried to read any mail from June 2014 onward.
    Settings:
    incoming.yahoo.verizon.net, port 995, POP3, SSL/TLS normal password, automatically download new message, leave messages on server
    Running Fedora 20, Thunderbird 24.7.0
    Thanks
    Bob Cavanaugh
    Thanks

    I assume Yahoo have reindexed all their mail yet again (Their service is rubbish really if oyu don't use web mail)
    Open your profile folder, locate the popstate.dat file and delete it.
    ALL mail currently on the server will download. if that is 100,000 mils then that is what it will be. You seriously need to consider using IMAP as they can not screw it up as badly as they do POP.

  • Since upgrading to ios8, pages very slow to load, and can no longer read items in my reading list when offline. ?????

    SI since upgrading to ios8, Safari pages are very slow to load, Kindle crashes upon opening, and I can no longer read saved artices from my reading list when offline. Big disappointment. Is it possible to downgrade to previous ios?

    I actually managed to fix it! But unfortunately I don't know what I was that I did that helped.
    Anyways, this is kind of what I did.
    1. I tried to reset form bakup via iTunes, no change.
    2. I tried to reset as a new iPhone, problem still there and reading list also as bookmarks!? (several hundred)
    3. Noticed that I could delete a bookmark, once in a while, the other times I got the 'Bookmarks are being synced. Please edit the bookmarks once syncing has completed.' message.
    4. Because I figured that it was a memory problem, I thought it made sense to delete as many as possible, witch I did.
    5. Noticed that it was more likely that I coould delete a bookmark if I restarted Safari.
    6. Notice that it was even more likely that I could delete a bookmark if I turned the Safari sync with iCould off (with option detete information on iPhone) and then back on again.
    7. When I was about half way through deleting the bookmark list I suddenly discovered that all but one of the items in my reading list was 'waiting' and one was downloading. I kind of was 'unstuck' now.
    8. I started to delete items in my reading list, but every other time I got the 'Bookmarks are being synced. Please edit the bookmarks once syncing has completed.' message.
    9. It took a while to delete all bookmarks and items in the reading list.
    Hope you guys could use the info here to fix your problems too!

  • My Mac is producing gray screen at startup and crashes. I'm afraid that everything explode and disappear, and can no longer connect and work with my Mac. Can anyone help ?? Thank you.

    My Mac is producing gray screen at startup and crashes. I'm afraid that everything explode and disappear, and can no longer connect and work with my Mac. Can anyone help ??
    Thank you.
    Problem description:
    gray screen at startup and crashes
    EtreCheck version: 2.1.1 (104)
    Report generated 6 de dezembro de 2014 13:29:43 BRST
    Hardware Information: ℹ️
      MacBook Pro (15-inch, Early 2011) (Verified)
      MacBook Pro - model: MacBookPro8,2
      1 2.2 GHz Intel Core i7 CPU: 4-core
      4 GB RAM
      BANK 0/DIMM0
      2 GB DDR3 1333 MHz ok
      BANK 1/DIMM0
      2 GB DDR3 1333 MHz ok
      Bluetooth: Old - Handoff/Airdrop2 not supported
      Wireless:  en1: 802.11 a/b/g/n
    Video Information: ℹ️
      AMD Radeon HD 6750M - VRAM: 1024 MB
      Color LCD 1440 x 900
      Intel HD Graphics 3000 - VRAM: 384 MB
    System Software: ℹ️
      Mac OS X 10.6.8 (10K549) - Uptime: 0:31:56
    Disk Information: ℹ️
      TOSHIBA MK7559GSXF disk0 : (698,64 GB)
      S.M.A.R.T. Status: Verified
      - (disk0s1) <not mounted> : 210 MB
      Macintosh HD (disk0s2) / : 749.81 GB (378.70 GB free)
      MATSHITADVD-R   UJ-898 
    USB Information: ℹ️
      Apple Inc. FaceTime HD Camera (Built-in)
      Apple Inc. Apple Internal Keyboard / Trackpad
      Apple Inc. BRCM2070 Hub
      Apple Inc. Bluetooth USB Host Controller
      Apple Computer, Inc. IR Receiver
    Thunderbolt Information: ℹ️
      Apple, Inc. MacBook Pro
    Problem System Launch Daemons: ℹ️
      [not loaded] org.samba.winbindd.plist [Support]
    Launch Agents: ℹ️
      [running] com.babylon.activation.plist [Support]
      [loaded] com.divx.dms.agent.plist [Support]
      [loaded] com.divx.update.agent.plist [Support]
      [loaded] com.hp.help.tocgenerator.plist [Support]
    Launch Daemons: ℹ️
      [loaded] com.adobe.fpsaud.plist [Support]
      [loaded] com.microsoft.office.licensing.helper.plist [Support]
    User Launch Agents: ℹ️
      [loaded] com.adobe.ARM.[...].plist [Support]
      [loaded] com.facebook.videochat.[redacted].plist [Support]
      [loaded] com.google.keystone.agent.plist [Support]
      [running] com.skype.c2c_service.plist [Support]
    User Login Items: ℹ️
      iTunesHelper UNKNOWNHidden (missing value)
      FaceboxPro Aplicativo (/Applications/FaceboxPro.app)
      Safari Aplicativo (/Applications/Safari.app)
      Octoshape Aplicativo (/Users/[redacted]/Library/Octoshape/Octoshape.app)
      uTorrent UNKNOWN (missing value)
      Dropbox Aplicativo (/Applications/Dropbox.app)
      Inkscape UNKNOWN (missing value)
      RealPlayer Downloader Agent Aplicativo (/Users/[redacted]/Library/Application Support/RealNetworks/RealPlayer Downloader Agent.app)
      HP Product Research Aplicativo (/Library/Application Support/Hewlett-Packard/Customer Participation/HP Product Research.app)
    Internet Plug-ins: ℹ️
      OVSHelper: Version: 1.1 [Support]
      Google Earth Web Plug-in: Version: 7.1 [Support]
      Flip4Mac WMV Plugin: Version: 2.4.4.2 [Support]
      RealPlayer Plugin: Version: Unknown [Support]
      AdobePDFViewerNPAPI: Version: 10.1.12 [Support]
      FlashPlayer-10.6: Version: 15.0.0.239 - SDK 10.6 [Support]
      DivX Web Player: Version: 3.1.1.9 - SDK 10.6 [Support]
      Silverlight: Version: 5.1.30514.0 - SDK 10.6 [Support]
      Flash Player: Version: 15.0.0.239 - SDK 10.6 [Support]
      QuickTime Plugin: Version: 7.6.6
      iPhotoPhotocast: Version: 7.0 - SDK 10.7
      SharePointBrowserPlugin: Version: 14.1.2 [Support]
      AdobePDFViewer: Version: 10.1.12 [Support]
      JavaAppletPlugin: Version: 13.9.8 - SDK 10.6 Check version
    User internet Plug-ins: ℹ️
      npsf_uni: Version: sf 3.3.2.1 [Support]
      OctoshapeWeb: Version: 1.0 - SDK 10.8 [Support]
    Safari Extensions: ℹ️
      Searchme Adware! [Remove]
      Skype Click to Call
      iSkyDeluxe
      TED HTML5 video playe
    Audio Plug-ins: ℹ️
      iSightAudio: Version: 7.6.6
    3rd Party Preference Panes: ℹ️
      Flash Player  [Support]
      Flip4Mac WMV  [Support]
      Skype Click to Call  [Support]
      Tuxera NTFS  [Support]
    Time Machine: ℹ️
      Time Machine information requires OS X 10.7 "Lion" or later.
    Top Processes by CPU: ℹ️
          5% WindowServer
          4% DivXMediaServer
          1% fontd
          0% RealPlayer Downloader Agent
          0% WebProcess
    Top Processes by Memory: ℹ️
      296 MB WebProcess
      202 MB FaceboxPro
      185 MB Microsoft PowerPoint
      163 MB Safari
      137 MB Microsoft Word
    Virtual Memory Information: ℹ️
      843 MB Free RAM
      1.76 GB Active RAM
      706 MB Inactive RAM
      978 MB Wired RAM
      577 MB Page-ins
      0 B Page-outs
    Diagnostics Information: ℹ️
      Dec 6, 2014, 12:58:24 PM Self test - passed
      Dec 6, 2014, 12:23:11 PM Kernel_2014-12-06-122311_MacBook-Pro-de-...panic [Details]
      Dec 6, 2014, 07:08:28 AM PluginProcess_2014-12-06-070828_MacBook-...crash
      Dec 5, 2014, 05:24:39 PM WebProcess_2014-12-05-172439_MacBook-Pro...crash
      Dec 5, 2014, 10:45:59 AM Kernel_2014-12-05-104559_MacBook-Pro-de-...panic [Details]
      Dec 5, 2014, 10:18:14 AM Kernel_2014-12-05-101814_MacBook-Pro-de-...panic [Details]
      Dec 3, 2014, 08:28:35 PM locationd_2014-12-03-202835_localhost.crash
      Dec 5, 2014, 10:25:44 AM Kernel_2014-12-05-102544_MacBook-Pro-de-...panic [Details]

    Startup - Gray, Blue or White screen at boot, w/spinner/progress bar
    Startup Issues - Resolve
    Startup Issues - Resolve (2)

  • TS1741 i lost my appletv remote & can no longer connect to it with my iphone app. is there any way that i can reconnect with my iphone app without having to buy a new remote?

    i lost my appletv remote & can no longer connect to it with my iphone app. is there any way that i can reconnect with my iphone app without having to buy a new remote?

    Doubtful - why did the Remote app lose connection?

  • I am using CC adobe Acrobat to combine multiple pdfs and add page numbers. Mac users can no longer read the page numbers but pc users can.

    I am using CC adobe Acrobat to combine multiple pdfs and add page numbers. As of about 2 weeks ago the mac users can no longer read the page numbers they get a font error message and see only -- where the page information should be. The pc users do not have this same problem. When I replace our regular font (URW Grotesk) with a system font (Verdana) everyone is able to read the page numbers. This is a new issues, I have been creating these documents in the same way for years without a problem. I have been on hold and on and off calls for the last two hours, I keep getting hung up on once I find someone in adobe support to talk to!

    Hi KnoopL,
    Are the Mac users using Preview to view the pdfs or Adobe Reader?
    Regards,
    Rave

  • After recent update to firefox, can no longer read attachments in word or pdf. other computer can. what happened?

    recently updated firefox, per suggestion. now, on computer with update, can no longer read word/pdf attachments. can still do so with adobe 5 on old computer. what happened? what do i have to do?
    == This happened ==
    Every time Firefox opened

    Extensions that may '''interfere with Back Button''', and these are already listed in [http://kb.mozillazine.org/Problematic_extensions Problematic extensions] for other reasons
    *McAfee Site Advisor see [https://support.mozilla.com/questions/805964 805964] (update perhaps 3rd week July 2011)
    *Yahoo Toolbar (https://support.mozilla.com/questions/845691)
    Back/Forward Home don't work in 7.0.1 due to '''network.http.max-connection'''s being upped to 256, reduce back down to 32.
    *https://support.mozilla.com/questions/889087
    Back/Forward: navigation/buttons are disabled (repair with an extension)
    *http://kb.mozillazine.org/Locked_or_damaged_places.sqlite

  • I reinstalled I-Tunes several weeks ago.  Since then I can no longer burn MP3 Discs with Title and Artist Info.  Sometimes it only burns every 3rd song.  No Audio CD it seems to function OK.  The version has the "cloud" but I don't know if that matters or

    I reinstalled I-Tunes several weeks ago.  I can no longer burn MP3 Disk with Song/Artist info onto disc.  It comes up as No Artist/No Title on car CD unit.  Old MP3 Disk previously recorded still show all info.  Sometimes only every 3rd song is on the MP3 CD.  On Audio Disc there is no change and all info still shows up.  The new I-Tunes version has the "cloud" on it if that could make a difference.  In the select Burn CD mode I can select testing and add song info for Audio Disk but it shows shadowed out for MP3/Data.  I added and removed ID tagging from my list to see if that made a difference but it didn't.
    Any Thoughts?
    Jim

    This may help.  Audio files are actaully in the DATA folder.  These can be editted with Soundbooth then they must be imported intot the specific slide in the Powerpoint presentation.  Publish the presentation (as you'll read below) and *should* work This reply came from robva65 [email protected]
    Let's try this: *Publish* the PPT deck you have.  What you'll end up with is a set of files and folders, but I want you to look for the *data folder* that's created as a result of the publishing process. (Unless you specify where you're publishing to, Presenter will publish to a directory called "My Adobe Presentations" by default, so you may have to look there on your harddrive)  Inside the data folder will be a list of mp3 files, which, if everything goes smoothly, should make it much, much easier to see which audio is used by a specific slide.
    Here's what I mean: for example, after publishing, I have a data folder and inside I found the following file: a24x9x3.mp3  As I double click the mp3 file (which causes it to play using Windows Media on my laptop), I can hear that it corresponds to my slide 9 in my PPT deck.  And there's corresponding mp3 files for each and every slide I have in my deck.  I'm clicking another file (wouldn't it be nice to see what I'm doing???) a24x20x3.mp3, and that file corresponds to my slide 20 content in PowerPoint.
    So again, give publishing in PowerPoint a shot and see if that makes it any easier.  Well...not nearly as easy as recording in Audition/Soundbooth/Audacity, but it's close enough to hopefully dig you out of that hole you're in now.
    Hope this helps ~rich

  • I can no longer sync my touch with my computer.  I'm being told that "the sync server failed to sync the iPod."

    I can no longer sync my touch with my computer.  I'm being told that "the sync server failed to sync the iPod."

    Are you sure that these times are still selected to sync in iTunes?
    When you connect your iPad to your PC and with iTunes running, select your iPad under the devices button in the upper right corner of the iTunes window. Then click on the Movies tab and make sure that the movies are selected (checked) to sync. Check the playlists in the Music tab as well.

  • Hi, after changing my Itune store password I can no longer purchase on Appstore with my redeem account. Could anybody help? Thanks

    Hi,
    After changing my apple password because I had made 2 mistakes, I can no longer purchase in Appstore with my redeem account.
    I am asked every time to verify my credit card account. Could anyone help me?

    I have already added a gift card and my account is charged. I used to be able to choose an app on Appstore
    And then purchase it using my redeem capital on iTunes. After I was asked to change my password because I had entered my current password wrong for 3 times, and I did it successfully, Every time I want to purchase an app I am asked to verify my account and am asked to give my credit card information, and cannot do the purchase using my gift card. And I dont want to use my credit card and want to use my gift card. Sorry if I am still not clear enough and thanks.

  • Hi, I have a version of CS4 on my Mac.  I can not longer open Raw files with it from my Canon 5D.   I never had problems with it in the past.  What can I do?

    Hi, I have a version of CS4 on my Mac.  I can not longer open Raw files with it from my Canon 5D.   I never had problems with it in the past.  What can I do?

    is that the eos 5d?
    if so, you only need cr 3.3 or greater.  what version do you have in your cs4? (help>about plugins>camera raw)
    if you need to update it, http://www.adobe.com/downloads/updates/

Maybe you are looking for

  • Analog Video / Audio Card to Support FinalCut Studio2

    Hi guys, I am looking for a audio / video card for my MacPro OS X 10.5.2 system which will allow a regular Analog Cassette Player / DVD unit to connect and port either video + audio or audio only signals into the computer into either of the following

  • Adding info blocks in a custom class for Factsheet

    Hi Experts, I need to create a custom class by copying the standard class 'CL_CRM_CCKPT_PROCESS_OPEN'  which should accept input as Activity Types. At present this class only accepts Number of months as Input. This added input field should accept ind

  • Remember my Skype ID but not the pass or Email. Ne...

    I've used the setting "Log me in automatically when skype boots" for the longest amount of time, and as a result I cant recall the pass I've been using nor the email I'd orignally used for the Skype acount. My account name was [removed for privacy] l

  • Clone to New Windows Hardware: appsTier Apache Service not Created

    I am trying to migrate my production 11.5.9 apps on windows to new hardware. This is a one to one clone. The only things that are changing are: 1. OS User Name 2. Server Names 3. APPL Top, COMN Top, 8.0.6 Home and iAS Home on the target server. I hav

  • Cannot change Detail level of IMAP, SMTP, or Junk logs

    I am running 10.4.7 Server and 10.4.7 version of Server Admin. When I go to the Mail -> Settings -> Logging Tab I cannot change the detail level. Or at least I can use the drop down menu, but when I press Save it either blanks out the drop down menus