troubleshooting Question

Unable to create registry key for Allow active content to run in files on my computer* via .vbs or even .bat

Avatar of Jose-Valencia
Jose-ValenciaFlag for United States of America asked on
Windows XPVB Script
11 Comments2 Solutions2969 ViewsLast Modified:
Hello Experts,


Users are trying to access a page that requires them to install ActiveX Controls (for Siebel) but they are not able to do so because they belong to the Users group ( Windows XP ). As a solution we have the users run a .vbs script as Administrator ( Script Compiled into an .exe ) where it opens an Internet Explorer window that calls two .cab files.


This method works but one of the issues we are encountering here is the amount of calls we are getting because users apparently suffer from yellow blindness and can't click on the yellow prompt even with instructions provided in the same page.

I was able to replicate this procedure silently or in the background through the modification of the Administrator's HKCU prior to launching the Internet Explorer window so there are no prompts that stops the ActiveX Controls from installing. I tested my script and it runs fine on workstations where the Administrator's HKCU path that takes care of the Allow active content to run in files on my computer* already exist. In workstations where the this path ( [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_LOCALMACHINE_LOCKDOWN] ) does not exist, my scripts fails because the registry file is not creating the path and the key that takes care of this option.

Changing the HKLM registry works because this path already exist, but I am thinking this will require a restart in order for the path to appear in the Administrator's HKCU. I tested my method of creating any registry path and it works. Somehow creating this specific path to the Administrator's HKCU is not working unless it already exists.

This path gets created once you go to Internet Options > Advanced ( Tab ) > Security > Allow active content to run in files on My Computer*. As additional information, we are using IE7.

Please help!!!!!!!!!!!!!!!!
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 2 Answers and 11 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 11 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros