Vbscript RegRead function not behaving consistently and/or returning correct values when they exist in the registry

Hello.
I seem to be having a problem using the RegRead function within vbscript to return a simple value from the registry. When I run it on my workstation (windows 7 x64 sp1), it seems to miss certain registry values that are indeed there (specifically, I am looking
for instances of "Adobe" in the displayName value of HKLM\Software\wow6432node\microsoft\windows\uninstall). However, when I run on a test VM, it returns the values fine. I am hoping someone might be able to explain this inconsistency and why it
is happening.
The code is very simple:
On Error Resume Next
if wscript.arguments.count < 1 then
wscript.echo "usage: regread.vbs <hostname> <appname>"
wscript.quit
end if
AppName = wscript.arguments(1)
strComputer = wscript.arguments(0)
const HKEY_LOCAL_MACHINE = &H80000002
Set WshShell = WScript.CreateObject("WScript.Shell")
Set objReg=GetObject("winmgmts:{impersonationLevel=impersonate}!//"& strComputer & "/root/default:StdRegProv")
strKeyPath = "SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall"
objReg.EnumKey HKEY_LOCAL_MACHINE, strKeyPath, arrSubKeys
For Each subkey In arrSubKeys
'wscript.echo subkey
InstalledAppName = ""
InstalledAppName = WshShell.RegRead("HKLM\" & strKeyPath & "\" & subkey & "\DisplayName")
wscript.echo vbtab&"DisplayName: "&InstalledAppName
if instr(InstalledAppName,AppName) > 0 then
wscript.echo vbcrlf&"found"&vbcrlf
end if
Next
When I run "cscript regread.vbs remoteHost Adobe" on my local machine, it does not "find" any instance of Adobe within the registry of machine "remoteHost". However, when I run it from a test VM, it does find the existing instances
of Adobe within the DisplayName value of the uninstall key of the registry, here is the output from both, first the non-working one, then the working test VM.
Non-working:
Microsoft (R) Windows Script Host Version 5.8
Copyright (C) Microsoft Corporation. All rights reserved.
DisplayName:
DisplayName:
DisplayName:
DisplayName:
DisplayName:
DisplayName: GPL Ghostscript 8.60
DisplayName: GPL Ghostscript Fonts
DisplayName:
DisplayName:
DisplayName:
DisplayName:
DisplayName:
DisplayName: Microsoft Office Professional Plus 2010
DisplayName:
DisplayName:
DisplayName:
DisplayName: Microsoft ASP.NET 2.0 AJAX Extensions 1.0
DisplayName:
DisplayName: Sybase PowerBuilder 12.0 Standard Runtime
DisplayName: MSXML 4.0 SP3 Parser
DisplayName:
DisplayName:
DisplayName:
DisplayName:
DisplayName:
DisplayName:
DisplayName:
DisplayName: MSXML 4.0 SP3 Parser (KB2758694)
DisplayName: Microsoft Visual C++ 2008 Redistributable - x86 9.0.30729.4148
DisplayName:
DisplayName:
DisplayName:
DisplayName:
DisplayName:
DisplayName: Microsoft Windows Journal Viewer
DisplayName: Java Auto Updater
DisplayName: VBA (2627.01)
DisplayName: Microsoft Visual C++ 2005 Redistributable
DisplayName:
DisplayName: Apple Software Update
DisplayName: SQL Anywhere 9 for Windows x64
DisplayName: Microsoft Office Professional Plus 2010
DisplayName:
DisplayName:
DisplayName:
DisplayName: Update for Microsoft Office 2010 (KB2553267) 32-Bit Edition
DisplayName:
DisplayName:
DisplayName:
DisplayName: Update for Microsoft Office 2010 (KB2760631) 32-Bit Edition
DisplayName:
DisplayName:
DisplayName: Update for Microsoft Office 2010 (KB2494150)
DisplayName:
DisplayName:
DisplayName:
DisplayName:
DisplayName:
DisplayName:
DisplayName:
DisplayName:
DisplayName:
DisplayName: HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{90140000-0011-0000-0000-0000000FF1CE}_Office14.PROPLUS_{9569DE03-1425-4D12-96EB-44D852AF759A}\DisplayName
DisplayName:
DisplayName:
DisplayName:
DisplayName: Update for Microsoft Office 2010 (KB2553065)
DisplayName:
DisplayName: Security Update for Microsoft Office 2010 (KB2598243) 32-Bit Edition
DisplayName: Update for Microsoft Office 2010 (KB2825640) 32-Bit Edition
DisplayName:
DisplayName: Update for Microsoft Outlook Social Connector 2010 (KB2553406) 32-Bit Edition
DisplayName: Security Update for Microsoft Office 2010 (KB2553371) 32-Bit Edition
DisplayName:
DisplayName:
DisplayName:
DisplayName: Security Update for Microsoft Office 2010 (KB2589320) 32-Bit Edition
DisplayName:
DisplayName:
DisplayName:
DisplayName: Update for Microsoft Office 2010 (KB2596964) 32-Bit Edition
DisplayName: Update for Microsoft Office 2010 (KB2566458)
DisplayName:
DisplayName:
DisplayName: Microsoft Office Access MUI (English) 2010
DisplayName:
DisplayName: Microsoft Office Excel MUI (English) 2010
DisplayName:
DisplayName: Microsoft Office PowerPoint MUI (English) 2010
DisplayName:
DisplayName:
DisplayName: Microsoft Office Publisher MUI (English) 2010
DisplayName:
DisplayName: Microsoft Office Outlook MUI (English) 2010
DisplayName: Update for Microsoft Outlook Social Connector 2010 (KB2553406) 32-Bit Edition
DisplayName:
DisplayName:
DisplayName: Microsoft Office Word MUI (English) 2010
DisplayName:
DisplayName: Microsoft Office Proof (English) 2010
DisplayName:
DisplayName:
DisplayName: Microsoft Office Proof (French) 2010
DisplayName:
DisplayName:
DisplayName: Microsoft Office Proof (Spanish) 2010
DisplayName:
DisplayName:
DisplayName:
DisplayName:
DisplayName:
DisplayName:
DisplayName:
DisplayName:
DisplayName:
DisplayName: Microsoft Office Proofing (English) 2010
DisplayName:
DisplayName: Microsoft Office InfoPath MUI (English) 2010
DisplayName:
DisplayName: Microsoft Office Shared MUI (English) 2010
DisplayName:
DisplayName:
DisplayName: Update for Microsoft Office 2010 (KB2553310) 32-Bit Edition
DisplayName: Microsoft Office OneNote MUI (English) 2010
DisplayName:
DisplayName: Update for Microsoft OneNote 2010 (KB2553290) 32-Bit Edition
DisplayName: Microsoft Office Groove MUI (English) 2010
DisplayName:
DisplayName: Microsoft Office Shared Setup Metadata MUI (English) 2010
DisplayName:
DisplayName:
DisplayName: Microsoft Office Access Setup Metadata MUI (English) 2010
DisplayName:
DisplayName: Microsoft Office Visio Viewer 2003 (English)
DisplayName: Cardiff TeleForm
DisplayName:
DisplayName:
DisplayName: CodeMax Runtime Installer
DisplayName: Microsoft .NET Framework 1.1
DisplayName:
DisplayName:
DisplayName: Microsoft XML Parser
DisplayName:
DisplayName: Microsoft Visual C++ 2010 x86 Redistributable - 10.0.40219
DisplayName:
DisplayName:
DisplayName:
DisplayName:
DisplayName:
DisplayName:
DisplayName:
DisplayName:
Working:
Microsoft (R) Windows Script Host Version 5.8
Copyright (C) Microsoft Corporation. All rights reserved.
DisplayName:
DisplayName:
DisplayName:
DisplayName: DYMO Label v.8
DisplayName:
DisplayName: GPL Ghostscript 8.60
DisplayName: GPL Ghostscript Fonts
DisplayName:
DisplayName:
DisplayName:
DisplayName:
DisplayName:
DisplayName: Microsoft Office Professional Plus 2010
DisplayName:
DisplayName:
DisplayName:
DisplayName: Microsoft ASP.NET 2.0 AJAX Extensions 1.0
DisplayName: Adobe Flash Player 11 Plugin
found
DisplayName: Sybase PowerBuilder 12.0 Standard Runtime
DisplayName: MSXML 4.0 SP3 Parser
DisplayName:
DisplayName:
DisplayName:
DisplayName:
DisplayName:
DisplayName:
DisplayName:
DisplayName: MSXML 4.0 SP3 Parser (KB2758694)
DisplayName: Microsoft Visual C++ 2008 Redistributable - x86 9.0.30729.4148
DisplayName: Cisco WebEx Meeting Center for Internet Explorer
DisplayName: Configuration Manager Client
DisplayName: Java 7 Update 51
DisplayName: Citrix Online Launcher
DisplayName: MSXML 4.0 SP3 Parser (KB2721691)
DisplayName: Microsoft Windows Journal Viewer
DisplayName: Java Auto Updater
DisplayName: VBA (2627.01)
DisplayName: Microsoft Visual C++ 2005 Redistributable
DisplayName: Microsoft Visual C++ 2005 Redistributable
DisplayName: Apple Software Update
DisplayName: SQL Anywhere 9 for Windows x64
DisplayName: Microsoft Office Professional Plus 2010
DisplayName: Update for Microsoft Filter Pack 2.0 (KB2810071) 32-Bit Edition
DisplayName: Security Update for Microsoft Office 2010 (KB2826035) 32-Bit Edition
DisplayName: Microsoft Office 2010 Service Pack 1 (SP1)
DisplayName: Update for Microsoft Office 2010 (KB2553267) 32-Bit Edition
DisplayName: Update for Microsoft PowerPoint 2010 (KB2553145) 32-Bit Edition
DisplayName: Update for Microsoft Office 2010 (KB2589375) 32-Bit Edition
DisplayName: Security Update for Microsoft Office 2010 (KB2687276) 32-Bit Edition
DisplayName: Update for Microsoft Office 2010 (KB2760631) 32-Bit Edition
DisplayName: Update for Microsoft OneNote 2010 (KB2810072) 32-Bit Edition
DisplayName: Security Update for Microsoft InfoPath 2010 (KB2687422) 32-Bit Edition
DisplayName: Update for Microsoft Office 2010 (KB2494150)
DisplayName: Security Update for Microsoft Office 2010 (KB2687423) 32-Bit Edition
DisplayName: Security Update for Microsoft Office 2010 (KB2597986) 32-Bit Edition
DisplayName: Update for Microsoft Office 2010 (KB2794737) 32-Bit Edition
DisplayName: Update for Microsoft SharePoint Workspace 2010 (KB2589371) 32-Bit Edition
DisplayName: Security Update for Microsoft Publisher 2010 (KB2553147) 32-Bit Edition
DisplayName: Security Update for Microsoft Office 2010 (KB2850016) 32-Bit Edition
DisplayName: Definition Update for Microsoft Office 2010 (KB982726) 32-Bit Edition
DisplayName: Security Update for Microsoft InfoPath 2010 (KB2760406) 32-Bit Edition
DisplayName: Update for Microsoft Visio Viewer 2010 (KB2810066) 32-Bit Edition
DisplayName: HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{90140000-0011-0000-0000-0000000FF1CE}_Office14.PROPLUS_{9569DE03-1425-4D12-96EB-44D852AF759A}\DisplayName
DisplayName: Update for Microsoft Office 2010 (KB2767886) 32-Bit Edition
DisplayName: Update for Microsoft Office 2010 (KB2597087) 32-Bit Edition
DisplayName: Security Update for Microsoft Office 2010 (KB2687510) 32-Bit Edition
DisplayName: Update for Microsoft Office 2010 (KB2553065)
DisplayName: Update for Microsoft Access 2010 (KB2553446) 32-Bit Edition
DisplayName: Security Update for Microsoft Office 2010 (KB2598243) 32-Bit Edition
DisplayName: Update for Microsoft Office 2010 (KB2825640) 32-Bit Edition
DisplayName: Security Update for Microsoft Visio 2010 (KB2810068) 32-Bit Edition
DisplayName: Update for Microsoft Outlook Social Connector 2010 (KB2553406) 32-Bit Edition
DisplayName: Security Update for Microsoft Office 2010 (KB2553371) 32-Bit Edition
DisplayName: Update for Microsoft Office 2010 (KB2826026) 32-Bit Edition
DisplayName: Update for Microsoft Office 2010 (KB2589298) 32-Bit Edition
DisplayName: Security Update for Microsoft Excel 2010 (KB2826033) 32-Bit Edition
DisplayName: Security Update for Microsoft Office 2010 (KB2589320) 32-Bit Edition
DisplayName: Security Update for Microsoft Word 2010 (KB2863902) 32-Bit Edition
DisplayName: Security Update for Microsoft Office 2010 (KB2826023) 32-Bit Edition
DisplayName: Update for Microsoft Office 2010 (KB2760598) 32-Bit Edition
DisplayName: Update for Microsoft Office 2010 (KB2596964) 32-Bit Edition
DisplayName: Update for Microsoft Office 2010 (KB2566458)
DisplayName: Update for Microsoft Office 2010 (KB2589352) 32-Bit Edition
DisplayName: Security Update for Microsoft Outlook 2010 (KB2837597) 32-Bit Edition
DisplayName: Microsoft Office Access MUI (English) 2010
DisplayName: Microsoft Office 2010 Service Pack 1 (SP1)
DisplayName: Microsoft Office Excel MUI (English) 2010
DisplayName: Microsoft Office 2010 Service Pack 1 (SP1)
DisplayName: Microsoft Office PowerPoint MUI (English) 2010
DisplayName: Microsoft Office 2010 Service Pack 1 (SP1)
DisplayName: Update for Microsoft PowerPoint 2010 (KB2553145) 32-Bit Edition
DisplayName: Microsoft Office Publisher MUI (English) 2010
DisplayName: Microsoft Office 2010 Service Pack 1 (SP1)
DisplayName: Microsoft Office Outlook MUI (English) 2010
DisplayName: Update for Microsoft Outlook Social Connector 2010 (KB2553406) 32-Bit Edition
DisplayName: Update for Microsoft Outlook 2010 (KB2687623) 32-Bit Edition
DisplayName: Microsoft Office 2010 Service Pack 1 (SP1)
DisplayName: Microsoft Office Word MUI (English) 2010
DisplayName: Microsoft Office 2010 Service Pack 1 (SP1)
DisplayName: Microsoft Office Proof (English) 2010
DisplayName: Microsoft Office 2010 Service Pack 1 (SP1)
DisplayName: Update for Microsoft Office 2010 (KB2850079) 32-Bit Edition
DisplayName: Microsoft Office Proof (French) 2010
DisplayName: Microsoft Office 2010 Service Pack 1 (SP1)
DisplayName: Update for Microsoft Office 2010 (KB2850079) 32-Bit Edition
DisplayName: Microsoft Office Proof (Spanish) 2010
DisplayName: Update for Microsoft Office 2010 (KB2850079) 32-Bit Edition
DisplayName: Microsoft Office 2010 Service Pack 1 (SP1)
DisplayName: Update for Microsoft Filter Pack 2.0 (KB2810071) 32-Bit Edition
DisplayName: Update for Microsoft OneNote 2010 (KB2810072) 32-Bit Edition
DisplayName: Update for Microsoft SharePoint Workspace 2010 (KB2589371) 32-Bit Edition
DisplayName: Microsoft Office 2010 Service Pack 1 (SP1)
DisplayName: Update for Microsoft Office 2010 (KB2760598) 32-Bit Edition
DisplayName: Update for Microsoft Office 2010 (KB2589352) 32-Bit Edition
DisplayName: Microsoft Office 2010 Service Pack 1 (SP1)
DisplayName: Microsoft Office Proofing (English) 2010
DisplayName: Microsoft Office 2010 Service Pack 1 (SP1)
DisplayName: Microsoft Office InfoPath MUI (English) 2010
DisplayName: Microsoft Office 2010 Service Pack 1 (SP1)
DisplayName: Microsoft Office Shared MUI (English) 2010
DisplayName: Microsoft Office 2010 Service Pack 1 (SP1)
DisplayName: Security Update for Microsoft Office 2010 (KB2553284) 32-Bit Edition
DisplayName: Update for Microsoft Office 2010 (KB2553310) 32-Bit Edition
DisplayName: Microsoft Office OneNote MUI (English) 2010
DisplayName: Microsoft Office 2010 Service Pack 1 (SP1)
DisplayName: Update for Microsoft OneNote 2010 (KB2553290) 32-Bit Edition
DisplayName: Microsoft Office Groove MUI (English) 2010
DisplayName: Microsoft Office 2010 Service Pack 1 (SP1)
DisplayName: Microsoft Office Shared Setup Metadata MUI (English) 2010
DisplayName: Microsoft Office 2010 Service Pack 1 (SP1)
DisplayName: Microsoft Office 2010 Service Pack 1 (SP1)
DisplayName: Microsoft Office Access Setup Metadata MUI (English) 2010
DisplayName: Microsoft Office 2010 Service Pack 1 (SP1)
DisplayName: Microsoft Office Visio Viewer 2003 (English)
DisplayName: Cardiff TeleForm
DisplayName: Adobe Acrobat XI Pro
found
DisplayName: QuickTime
DisplayName: CodeMax Runtime Installer
DisplayName: Microsoft .NET Framework 1.1
DisplayName: WinZip 15.0
DisplayName: McAfee VirusScan Enterprise
DisplayName: Microsoft XML Parser
DisplayName: McAfee Agent
DisplayName: Microsoft Visual C++ 2010 x86 Redistributable - 10.0.40219
DisplayName:
DisplayName:
DisplayName:
DisplayName:
DisplayName:
DisplayName:
DisplayName:
DisplayName: Apple Application Support
Does anyone know why this might be happening? The only main difference is that the machine that the script does not work on, has visual studio 2013 installed.
Please help

Well I think we can agree that it is not supported remotely. Because while it did initially work remotely, it didnt behave consistently; that is, it worked on the VM, but not my desktop. That's the whole reason I created this thread. Sorry if you are confused,
but I most certainly was not lying and not trying to troll the forum or whatever it is you are insuinuating. Chill out a little bit and maybe you might get that Microsoft MVP.
I am trying to get you t understand why what you are saying is wrong.  You may have thought it worked but there were a number of things that make it impossible to actually work.
You were enumerating a remote key.  You were using that key name with RegRead and it was looking up the local value.  That is why it could not find remote keys and values.  The local and remote machines will not match on all keys.
The correct call is the "GetStringValue" of the registry provider because it is the only call that can read remote values. My point is that you were fooling yourself by thinking that it ever actually worked.  If anything it was just dumb luck
that the keys would match. 
So maybe you weren't actually lying but you were surely foolingyourself and confusing us.
Anyway - glad you fixed it and just remember to not mix calls like you did.  Also don't use On Error Resume Next unless you plan on test every call for an error.
¯\_(ツ)_/¯

Similar Messages

  • HT1937 How to unlock a three Mobil. Phone .  And what do I do when they give me the code?

    How to unlock a three mobile. IPhone 4 GSM And They sent me a code what do I do with it ?   3 mobile are very vague on this 

    There is no "code".
    Information on how it works can be found here: http://support.apple.com/kb/ht5014

  • The back button does not work consistently, and rarely works if I open an attachment...any ideas on fixing this?

    The back button does not work consistently, and rarely if ever when I open an attachment. Does anyone have a fix for this?
    == This happened ==
    Not sure how often
    == I installed firefox

    Same problem here: I never had a problem with the previous versions and now I don't even get my homepage when I click Firefox. Instead, I am getting a blank screen that says "New Tab", only after I click the "Home" symbol I get my Homepage (Yahoo). The browser - back and browser forward button don't work anymore, very annoying. Normally a newer version should be an improvement but it looks like Mozilla really messed up with this "improvement". probably I am going to use Google chrome from now on.

  • How can I watch my tv shows when they are in the cloud and I am not near wifi?

    I can't watch my tv shows on my phone when they are in the cloud and I am not near wifi.  How can I get them out of the cloud?

    You have to download them or sync them to your phone ahead of time.

  • I paid for and downloaded a song, but it won't play saying the file could not be found. It says this even when I click on the song IN the itunes store, so I can't even listen to the sample now??

    I paid for and downloaded a song, but it won't play saying the file could not be found. It says this even when I click on the song IN the itunes store, so I can't even listen to the sample now??
    I haven't kept records of the songs I have paid for, and a number of songs have recently been displaying this message, making me search my computer for them. Most I have been able to find, but this one immediately "disappeared" the moment I attempted to play it after downloading...... how do I either get it back or get my money back???

    How did you do this move?  Unless you know what you are doing you have to move the whole, complete iTunes folder.
    iTunes: How to move [or copy] your music to a new computer [or another drive] - http://support.apple.com/kb/HT4527
    Quick answer if you use iTunes' default preferences settings:  Copy the entire iTunes folder (and in doing so all its subfolders and files) intact to the other drive.  Open iTunes and immediately hold down the Option (alt) key (shift on Windows), then guide it to the new location of the library.
    Windows users see tip at: https://discussions.apple.com/message/18879381

  • HT3964 I am not able to reboot my Mac desktop. When I switch on the Mac, I get a white screen with the Apple logo and the little wheel below that goes round and round but the computer refuses to boot.

    Hi, I am not able to reboot my Mac desktop.
    When I switch on the Mac, I get a white screen with the Apple logo and the little rotating circle.
    The system refuses to boot.
    What can I do?
    Marcus

    We need to get you moved. This forum is for mini-tower Macs built between 1998 and 2005 and doesn;t get as much traffic ("eyeballs on the problem") as the forums for newer Macs.
    Please do "About this Mac" from you Apple menu and tell us what that says for "processor" and Mac OS version. Looks like this:
    or this for later Mac OS versions:
    With that we can figure out which of the two iMac forums you need and get the Hosts to move your post.

  • I am trying to activate  new qualitative research software. When I attempt to activate it my Apple Air will not allow it and gives an error message saying we cannot verify the identity of the developer of the software

    I am trying to activate  new qualitative research software. When I attempt to activate it my Apple Air will not allow it and gives an error message saying we cannot verify the identity of the developer of the software

    The developer isn't recognized by the App Store, so your Mac is trying to protect you in case the program is malware. As long as you are sure it isn't, follow this procedure:
    In the Finder, locate the app you want to open.Don’t use Launchpad to do this. Launchpad doesn’t allow you to access the shortcut menu.
    Press the Control key, then click the app icon.
    Choose Open from the shortcut menu.
    Click Open.The app is saved as an exception to your security settings, and you will be able to open it in the future by double-clicking it, just like any registered app.
    OS X Mavericks: Open an app from an unidentified developer

  • My phone can not find a carrier and just keeps searching even when i pull out the sim card

    my phone can not find a carrier and just keeps searching even when i pull out the sim card. help

    try restoring the device with iTunes (after backing up)

  • My I phone has plenty of storage but will  not download any apps free or paid for when I press install the installation symbol appears briefly and then the page reverts to the original  form with the price or free on the right hand side.

    My I phone has plenty of storage but will  not download any apps free or paid for when I press install the installation symbol appears briefly and then the page reverts to the original  form with the price or free on the right hand side.

    Call 1-800-275-2273...ask to talk to "Customer Relations"...no one else.
    Good luck.

  • Something happened to my phone and lost all contacts.I did not know this and backed up my phone.When i tried to restore back up the contacts were still not there.How to access older back up?

    Something happened to my phone and lost all contacts.I did not know this and backed up my phone.When i tried to restore back up the contacts were still not there.How to access older back up?

    Her contacts would be wherever she put them
    The iphone is designed to be synced to your computer or cloud service regularly.  If she failed to do this, then they are likely gone.

  • How do you fix an ipod that has a black screen and it turns on but when it turns on the screen gets a lighter black but you still can't see the apps or anything?

    How do you fix an ipod that has a black screen and it turns on but when it turns on the screen gets a lighter black but you still can't see the apps or anything?

    Try:
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Restore from backup. See:                                 
    iOS: How to back up                                                                
    - Restore to factory settings/new iOS device.
    If still problem, make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
      Apple Retail Store - Genius Bar              
    Apple will exchange your iPod for a refurbished one for this price. They do not fix yours.
    Apple - iPod Repair price                       
    A third-party place like the following maybe less. Google for more.
    iPhone Repair, Service & Parts: iPod Touch, iPad, MacBook Pro Screens
    Replace the screen yourself if you are up to it
    iPod Touch Repair – iFixit

  • I can not perform software updates or download any programs. They appear in the download box as images that are not recognized. How can I fix this?

    I can not perform software updates or download any programs. They appear in the download box as images that are "not recognized". I thought maybe my antivirus software was setting up a firewall, but I have disabled it, so that's not the case. Any suggestions as to  how I can fix this?

    If the downloads are gone, it's possible that Windows is removing the downloads based on security policies set in IE. I realize that sounds strange, but it's related to Firefox's feature of submitting downloads to your virus scanner and marking them as having come from the internet.
    To test this theory, you could try disabling the scan feature. I assume you have good "real time" antivirus protection which checks every file saved to your hard drive. (If not, you really should get that, and you can use Microsoft's free [http://windows.microsoft.com/en-US/windows/products/security-essentials Microsoft Security Essentials] for now until you have time to review all the available choices.)
    (1) In a new tab, type or paste '''about:config''' in the address bar and press Enter. Click the button promising to be careful.
    (2) In the filter box, type or paste '''scan''' and pause while the list is filtered
    (3) Double-click '''browser.download.manager.scanWhenDone''' to toggle its value.
    Firefox now should ignore Windows' download security. Does it change how Windows handles the file?

  • MessageChoice does not return correct value

    Hi
    I am problem with MessgeChoiceBean's improver beharior
    For the first time it retunrs blank and subsequently In one page if I select Yes, it returns No.
    In another page it does not return any thing for the first two selections. And I reciev flip values.
    I ran VO outside, VO is returning correct values.
    MessageChoice attributes and associated PPR:
    Data Type: Varchar2
    Initial Value: N
    Pick List view Definition: oracle.apps.xxx.docs.common.lov.server.YesNoVO
    Pick List View Instance: YesNoVO3
    Pick List Display Attribute: Meaning
    Pick List Value AttributeL LookupCode
    ActionType: firePartialAction
    Event: handleNewLocationFlagChange
    Parameter Name: newLocationFlag
    Parameter Value: ${oa.CustomerInfoVO1.NewShipToLocationFlag}
    ProcessParameterForm Code:
    if ("handleNewLocationFlagChange".equals(event))
    String newLocationFlag = pageContext.getParameter("newLocationFlag");
    Serializable[] parameters = { ""+newLocationFlag};
    Class[] paramTypes = { String.class};
    am.invokeMethod("handleNewLocationFlagChange", parameters, paramTypes);
    VO definition:
    select LOOKUP_CODE,MEANING
    FROM ONLINE_DOCS_LOOKUPS
    WHERE ONLINE_DOCUMENT_CODE = 'ALL'
    AND LOOKUP_TYPE = 'YESNO'
    ORDER BY ATTRIBUTE1
    View output:
    LOOKUP_CODE     MEANING
    N     No
    Y     Yes
    I have quite a bit number of columns to change render property.
    Any help will be appreciated.
    Thanks
    Prasad

    Your question is not clear, are you saying the values in the messageChoiceBean is not displayed properly. As far as I can see from the definition the poplist picks the values from a lookup(Yes, No) values and has a PPR action associated with it. Did you check what this method handleNewLocationFlagChange is doing in the AM ?

  • I get an error -626 and ndsconfig returns a value of 78.

    Hello guys,
    Here is a brief summary of the network design. We have a School server in the Network A. The Main eDir is in a Network B.
    The school server to access the Main eDir goes through a DNAT configured on our firewall.
    During the different steps I can browse my ldap on the main eDir without any issue.
    This to complete the information about Existing Tree Information, Local Server Configuration and Linux User Management Configuration for example.
    However, at the moment of the eDir configuration (I use the GUI) the software returns an error -626 and ndsconfig returns a value of 78.
    Our issue seam to arise when using the NCP for replication I guess. The questions are: is it possible to DNAT NCP and if it is what is missing?
    Of course, if I were installing another server on the Network B and try with the same settings it will work.
    I have seen in different posts that replication is not possible through NAT. However I can't find anything regarding the ncp protocol that would explain why our DNAT shouldn't work.
    I opened these ports.
    389 LDAP
    636 LDAPS
    524 NCP
    427 SLP
    8443 iManager
    8009 NRM
    8030 iMonitor
    8028 iMonitor
    Is there a formal documentation that I can relate to?
    Thank you in advance and I wish you already a great weekend.

    It could potentially work, but normally it does not work unless you do
    some really interesting stuff with routing. Here is why:
    When one server looks up how to reach another server, the way that
    referral is given includes the target server's IP address, as seen by the
    target server. As a result, if you are on 17u2.16.0.1 for serverA, and
    you ask to talk to serverB which has address 192.168.0.1, the referral
    (within the NCP packet) will tell the server to access 192.168.0.1. Since
    neither 172.16.x.x nor 192.168.x.x are routable normally, and since you're
    using DNAT, the addresses won't get to their destination and you have a
    connection problem (-626).
    The ability NCP has to provide addresses to clients and servers via
    referrals, NDS Pings, and the like is really powerful because it means, in
    a network that allows it, that any client/server can find any
    replica-hosting server to be accessed directly. The downside of this is
    that technologies which mess with the network layer by hiding IP addresses
    break the way clients would access servers.
    LDAP, for example, doesn't usually report anything about how to reach a
    server. Normally a client knows which server to ask from the very start
    and then goes there. Even with eDirectory, if an LDAP client accesses an
    eDirectory server that does not have a replica of the desired object, then
    by default the eDirectory server (not the LDAP client) goes and follows
    referrals to find and return the object.
    For these reasons, NAT is normally not supported between eDirectory
    servers. Could you make it work? Probably assuming you can get your
    routers to handle things properly, but it's going to be more than just
    dropping things in place and hoping they work, and it will be more than
    just allowing TCP/UDP ports through.
    Good luck.
    If you find this post helpful and are logged into the web interface,
    show your appreciation and click on the star below...

  • I have the newest Ipod touch. It will not let me delete third party apps. When i hold down the app I want to delete it starts wiggling but there is no X. How do I delete the apps?

    I have the newest Ipod touch. It will not let me delete third party apps. When I hold down the app I want to delete it wiggles but there is no X. How do i delete the app still?

    I'm having exact same issue!  Just upgraded my son's ipod touch to iOS5 and now can't seem to delete any apps from the iPod springboard.  Please help!

Maybe you are looking for

  • How do I connect to my external hard drive after reinstalling OSX?

    I just reinstalled OSX 10.5, then upgraded to 10.5.8 on my Powerbook.  Both my external hard drive and iDisk are locked, and won't let me open them.  I went to information for each disk, authenticated, but it won't let me change permissions for eithe

  • OS X 10.8.3, TM & Spotlight Issue

    I just upgraded to OS X 10.8.3 and my TM is no longer backing up. This appears to be a Spotlight issue as all I get is Estimating Index Time when I open Spotlight.  I tried the trick of making my HD private in Spotlight then public again - same resul

  • HELP how do i put a background color on my pages page?

    I am designing a page in my daughters yearbook using pages.  I want to make the background a color but I am having a hard time doing it.  HELP thanks

  • How to make full screen upload to youtube

    I shoot in 16:9 on the canon t3i, however when I upload my videos to YouTube there is a black bar on the left and right. The canon team said there should be a setting in premiere to make my videos full screen. please help! than

  • Sparse Root Zone using loopback refuses to shutdown

    New to zones, so been following along with the System Administration Guide: Solaris Containers-Resource Management and Solaris Zones doc from Sun (#817-1592). Everything seems ok with a plain jane zone, but I've run into trouble trying to use the loo