Solved

Register DLL's in Windows 7

Posted on 2014-02-11
3
26 Views
Last Modified: 2016-06-02
I need to be able to copy Dll's to local users c drive and then register them. this need to be done every time the user logs on as they are updated Regularly.

I need this to happen without any prompts. can this be done on Windows 7 without disabling the ACL
0
Comment
Question by:freds_It
3 Comments
 
LVL 29

Accepted Solution

by:
Sudeep Sharma earned 500 total points
ID: 39850869
for copy use

copy /Y \\server\sharefolder\file.dll %systemroot%\

/Y is to overwrite the file if exists without the prompt

To register the dll use:
REGSVR32 /s %systemroot%\file.dll

/S is for silent which would not prompt any dialogue.

So you script would contain the following:
copy /Y \\server\sharefolder\file.dll %systemroot%\
REGSVR32 /s %systemroot%\file.dll

Open in new window


Make sure to make the changes as appropriate.

Sudeep
0
 

Author Comment

by:freds_It
ID: 39853291
Thanks for you assistance but Running manually to test does not work it comes up with access denied. will it run with elevated privileges when done as a login script in group policy
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Do you come here a lot? Are you lazy like me and don't want to go through the "trouble" of having to click your Dock's Safari icon and then having to click your Experts Exchange Favorites bookmark to get here? Well then this article is for you.
I annotated my article on ransomware somewhat extensively, but I keep adding new references and wanted to put a link to the reference library.  Despite all the reference tools I have on hand, it was not easy to find a way to do this easily. I finall…
This Micro Tutorial will demonstrate how to add subdomains to your content reports. This can be very importing in having a site with multiple subdomains.
Shows how to create a shortcut to site-search Experts Exchange using Google in the Chrome browser. This eliminates the need to type out site:experts-exchange.com whenever you want to search the site. Launch the Search Engine Menu: In chrome, via you…

910 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

24 Experts available now in Live!

Get 1:1 Help Now