Link to home
Create AccountLog in
Windows XP

Windows XP

--

Questions

--

Followers

Top Experts

Avatar of WC_TSA
WC_TSA🇺🇸

Windows Registry on Vista and XP Boxes
Here is my problem:  
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}"

Open in new window

Zero AI Policy

We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.


Avatar of Ady FootAdy Foot🇬🇧

You could use a VB Script running as a logon script which could do this for you.  The following page provides a crude example which you can modify to better suit your purposes.  It should be straight forward but please do come back to me if you need any further help.

Regards,

Ady

Avatar of Ady FootAdy Foot🇬🇧

I suppose it'd be helpful if I provided the link now eh?  :-)

http://www.computerperformance.co.uk/Logon/VBScript/VBScript_Windows_registry.htm

Avatar of WC_TSAWC_TSA🇺🇸

ASKER

@ afoot:

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

Reward 1Reward 2Reward 3Reward 4Reward 5Reward 6

EARN REWARDS FOR ASKING, ANSWERING, AND MORE.

Earn free swag for participating on the platform.


Avatar of Ady FootAdy Foot🇬🇧

You're welcome - good luck!

Avatar of WC_TSAWC_TSA🇺🇸

ASKER

Well, it seems I might have been looking at this the wrong way.... The active x Controls are contained in and MSI file, and by running a batch file with the code below in it, I was able to get the registry keys imported to the user correctly.
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

Open in new window


Avatar of Ady FootAdy Foot🇬🇧

Adding to the logon script will be the better option to be honest - putting batch files into the startup directory could cause problems later on down the line (permissions etc).  You could also introduce a logging function into your logon script in order to check that the installation has completed properly.

Regards,

Ady

Free T-shirt

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.


Avatar of WC_TSAWC_TSA🇺🇸

ASKER

Sorry, It has been a couple of days since my last post, I will have the testing complete on Monday, and I will post the update then.....

Avatar of WC_TSAWC_TSA🇺🇸

ASKER

okay guys, sorry for the delay in this but it seems I may have found the issue after all, I ran a RSOP and found that one of the Active X control settings for Trusted sites was disabled, we are making the GPO change and testing it again.... I will let you know what I find hopefully by Friday.
rsop.png

Avatar of Ady FootAdy Foot🇬🇧

Thanks for letting me know - good luck with resolving things.

Regards,

Ady

Reward 1Reward 2Reward 3Reward 4Reward 5Reward 6

EARN REWARDS FOR ASKING, ANSWERING, AND MORE.

Earn free swag for participating on the platform.


Avatar of WC_TSAWC_TSA🇺🇸

ASKER

Well, I am still waiting on the Network Admin to make the change so I can see if this fixes the issue.  He is going at a snails pace these days....

Avatar of WC_TSAWC_TSA🇺🇸

ASKER

still waiting for the NW admin.....

Avatar of WC_TSAWC_TSA🇺🇸

ASKER

Okay, the change was made and it did not change anything.... The script works on some computers, but not all.....anyone got any other suggestions.

thanks

Free T-shirt

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.


Avatar of WC_TSAWC_TSA🇺🇸

ASKER

well, looks like I found a solution that works for this....

I placed the users in the Power users group, and then ran the script..... and that resolved the issue.....

Thanks for the assistance....

ASKER CERTIFIED SOLUTION
Avatar of ee_autoee_auto

Link to home
membership
Log in or create a free account to see answer.
Signing up is free and takes 30 seconds. No credit card required.
Create Account
Windows XP

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.