Remotely Register .OCX file from windows 2000 to XP

Posted on 2007-08-08
Last Modified: 2013-12-05
I need to remotely register a .ocx file from a windows 2000 server to xp clients, the users have no administrator rights. I also do not know which program will use the ocx file. Any help would be much appreciated. thanks.
Question by:123dec45
    1 Comment
    LVL 5

    Accepted Solution

    You should be able to do this with a script and the psexec utility.

    To register an ocx file manually (as an admin) you can run ;

    regsvr32 <path & filename of dll or ocx>

    First you should test that the above works on one of your client machines.

    Once it does I suggest reading the following link on the usage of psexec.
    It should give you the informtaion you need to create a command line that uses psexec to run regsvr32 on the remote machine using credentials that you supply in the command line.

    As an example the following command;

    psexec \\RemoteMachineName regsvr32 /s <path & filename of dll or ocx>

    This would do what you want as long as everyone had the neccassary rights. You shoudl just need to modify this so it runs on the remote machine with the required rights.

    Hope that helps

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    The problems with reply email signatures

    Do you wish that you could place an email signature under a reply? Well, unfortunately, you can't. That great Exchange/Office 365 signature you've created will just appear at the bottom of an email chain. What a pain! Is there really no way to solve this? Well, there might be...

    My previous article  ( one possible method to get SCCM 2007 installed an…
    Welcome to my series of short tips on migrations. Whilst based on Microsoft migrations the same principles can be applied to any type of migration. My first tip Migration Tip #1 – Source Server Health can be found listed in my profile here: http:…
    Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
    In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    10 Experts available now in Live!

    Get 1:1 Help Now