Ask Me Help Desk

Ask Me Help Desk (https://www.askmehelpdesk.com/forum.php)
-   Windows (https://www.askmehelpdesk.com/forumdisplay.php?f=237)
-   -   How disable IE scripting via registry entry. (https://www.askmehelpdesk.com/showthread.php?t=616338)

  • Dec 2, 2011, 06:10 AM
    wschrabi
    How disable IE scripting via registry entry.
    Hi,
    Does anyone know how I can disable Active Scripting in IE via a registry entry?
    I found that key in the registry:
    | HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer
    I want to disable the scripting of IE-Browser component in a Delphi Prg by writing to the registry automatically.
    Thanks for help
    Walter
  • Dec 2, 2011, 08:56 AM
    wschrabi
    I found the key. I compared the 2 reg files one with activation and one without activation and found the diff.

    Key: HKEY_USERS\S-1-5-21-746137067-1229272821-725345543-1004\Software\Microsoft\Windows\CurrentVersion\Int ernet Settings\Zones\3
    Data: 1400 REG_DWORD

    0.. Activate
    1.. Ask for
    3.. Deactivate
  • Dec 2, 2011, 09:32 AM
    Curlyben
    Changing that key will only work for that particular user rather than anyone that accesses the application.
  • Dec 2, 2011, 10:05 AM
    wschrabi
    How can I get the name of the S-Key in

    HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\InternetRegistry\REGISTRY\USER\S-1-5-21-3951676609-453496951-1993816319-1000

    If I could ask the registry for that S-Key under Key uSER see above, than I could parse the userdefined key mentioned in my originate question. THanks for help
  • Dec 2, 2011, 10:47 AM
    wschrabi
    I found the solution:
    To get sub-key names see: http://stackoverflow.com/questions/3...-sub-keys-name
  • Dec 2, 2011, 11:09 AM
    wschrabi
    I just realized that this key HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\InternetRegistry\REGISTRY\USER\S-XXXX is only valid in WIN 7. NOT in XP. What a pity. AnY Ideas from any experts?
    I want to make my app for WIN 7 and WIN XP. Thanks

  • All times are GMT -7. The time now is 07:19 AM.