We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you two Citrix podcasts. Learn about 2020 trends and get answers to your biggest Citrix questions!Listen Now


File Copy and Register through Group Policy

Seshadrim asked
Medium Priority
Last Modified: 2012-05-06
Hi Friends,

I have A appication for which a OCX file has to Be updated and registered in the System
The Application is Present in 1700 Machines, Currently I am Doing it manually by copying the file from Server and Registering The File Locally.

Can any body Help Me Out in Configuring this through a acript or through GP?

Watch Question

Try taking a look at this http://www.kixtart.org/

This is a logon script (free) that is awesome. At the top of the page you can download it, look at the manual, & it even has a command reference. You can do all things with kixstart that you can do with group policy & even more.
try to do the following
1-put the ocx file on a shared location which has a permission of everyone read (i.e. Network_PC_1\NewFolder) with a share name of NewFolder
2- create a new text file and write in it
         net use z: "\\Network_PC_1\NewFolder\"
         xcopy z:\ C:\NewFolder /y /e /v /d
         Regsvr32 "c:\NewFolder\fileName.ocx"
3- save the file with .bat extension
4- open an existing group policy or add a new one  expand computer configuration=>Windows Settings=> srcipts and open startup scripts
5- click add and browse for the .bat file and click ok
6- apply the policy on the required computers.

Best Regards
Hesham Mousa

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.