tags:

views:

2009

answers:

5

I have a WindowsXP configured as a build machine. The build process runs under an account which isn't an administrator.

Some projects register as a last step an ocx control with something like

regsvr32 /s /c ".\debug\myocx.ocx"

This step fails and I assume that this has something to do with rights because doing the same under an admin account works fine.

What rights/permissions/policies do I need to give the build account and where do I do it? (Browsing Local Users and Groups and Local Security Settings haven't helped me)

A: 

Please check for error messages of regsvr32 as given in

http://support.microsoft.com/kb/249873

and also I am not sure about /c switch..

Hope this may help.

lakshmanaraj
A: 

Registering an OCX comes down to writing entries in the registry under HKLM. Non-admin accounts by default don't have rights there, and I'm not too sure your build account should (installation of debugging OCX's is still "installation" (v.s. building) in my book).

Paul-Jan
A: 

Via regedit you need to give the build account rights on "HKEY_CLASSES_ROOT.

Right-click on HKEY_CLASSES_ROOT and choose Permissions...Full Control.

Christian Rodemeyer
A: 

Since changing the permissions on the HKEY_CLASSES_ROOT folder I am now unable to boot into Windows, either normally, or in Safe mode. I had made the change on two servers and both are now unbootable (Leading me to belive it was due to the above change, rather than a coincedence).

Any ideas why this would have happened?

A: 

I have the same problem now. Not it is solved. Thanks for an answer. It helped me a lot !

Alexander Stalt
This isn't a message board. Don't post random comments in answers
Adam Batkin