Windows XP
--
Questions
--
Followers
Top Experts
I have a program that is used by several people operating several computers throughout the day, and this application my be installed on the computer and then the Active X control must be installed for each user. Â The only problem is, not all users are admins and do not have the needed access to install the Active X control. Â If you run IE as admin and install the Active X control it only puts the keys in for the Admin and the user still cannot get access to the web application. Â Also if the user does not access a computer for several weeks it seems to remove the keys, so I need these keys to reload each time the user logs into a comuter. Â With over 500 users needing to access this application in 20 different locations on a number of computers, this becomes a nightmare..... Â I have been looking at ways to fix this issue and so far I have found one that works, but it has some problems.
Solution I found: Â
I placed the *.reg files in the Startup directory in the Start menu for all users, and the default user. Â This makes the keys load each time the user logs in. Â Works great except the message box that pops up and ask the user if the want to proceed with the import to the registry.
I have tried to user regini.exe and reg add in a batch file but I am getting several errors with the imports and still getting the import warning... So far the only way I can get it work is by placing the actual *.reg file in the startup directoy.  I have serached the web, EE and everywhere I can think to write this batch file, but still no luck on  scripting this to be a silent import without the import warning message.  Can anyone think of a way to do this.... Thanks
Key 1:
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Classes\CLSID\{B565C7EC-6DBA-4BD7-BC0F-8EB6EED53BC6}\InprocServer32]
@="C:\\Program Files\\Hudson Medical Systems\\My Product Name\\mtocx1Proj1.ocx"
"InprocServer32"=hex(7):46,00,44,00,2d,00,42,00,41,00,6c,00,60,00,28,00,60,00,\
3f,00,55,00,32,00,69,00,7e,00,4c,00,5d,00,4f,00,70,00,2b,00,72,00,3e,00,4f,\
00,6c,00,52,00,62,00,39,00,29,00,43,00,51,00,42,00,3d,00,60,00,52,00,70,00,\
59,00,30,00,53,00,57,00,44,00,2b,00,58,00,00,00,62,00,4d,00,44,00,36,00,40,\
00,5f,00,70,00,6f,00,27,00,39,00,52,00,35,00,56,00,6b,00,36,00,2b,00,40,00,\
6e,00,43,00,67,00,3e,00,55,00,4b,00,60,00,61,00,69,00,43,00,4a,00,6a,00,75,\
00,3d,00,76,00,4e,00,36,00,37,00,6d,00,3d,00,27,00,4c,00,55,00,55,00,00,00,\
00,00
"ThreadingModel"="Apartment"
Key 2:
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Classes\mtocx1Proj1.mtocx1]
@="mtocx1 Control"
[HKEY_CURRENT_USER\Software\Classes\mtocx1Proj1.mtocx1\CLSID]
@="{B565C7EC-6DBA-4BD7-BC0F-8EB6EED53BC6}"
Key 3:
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Classes\mtocx2Proj2.mtocx2]
@="mtocx2 Control"
[HKEY_CURRENT_USER\Software\Classes\mtocx2Proj2.mtocx2\CLSID]
@="{D7D2DD4C-A23A-4519-8D9C-AC3A5E96E0FB}"
Zero AI Policy
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.
Regards,
Ady
http://www.computerperformance.co.uk/Logon/VBScript/VBScript_Windows_registry.htm
I will take a look at that solution and let you know, I am also working on something else I found after posting the question....
Thanks






EARN REWARDS FOR ASKING, ANSWERING, AND MORE.
Earn free swag for participating on the platform.
I have 2 choices here I can put the batch file in the startup directory, or add it to our logon script. Â It seems to work fine....
I'm testing right now, will post an update later today.
msiexec /i "C:\Windows\Downloaded Installations\{E0506F6D-9E25-488E-BD14-8213F86AF6B8}\ChartNet ActiveX Controls 4.0.msi" /q
Regards,
Ady

Get a FREE t-shirt when you ask your first question.
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.
Regards,
Ady






EARN REWARDS FOR ASKING, ANSWERING, AND MORE.
Earn free swag for participating on the platform.
thanks

Get a FREE t-shirt when you ask your first question.
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.
I placed the users in the Power users group, and then ran the script..... and that resolved the issue.....
Thanks for the assistance....
Windows XP
--
Questions
--
Followers
Top Experts
Microsoft Windows XP is the sixth release of the NT series of operating systems, and was the first to be marketed in a variety of editions: XP Home and XP Professional, designed for business and power users. The advanced features in XP Professional are generally disabled in Home Edition, but are there and can be activated. There were two 64-bit editions, an embedded edition and a tablet edition.