Solved

Register DLL's in Windows 7

Posted on 2014-02-11
3
37 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
Citrix XenApp, Internet Explorer 11 set to Enterprise Mode and using central hosted sites.xml file.
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…
How to create a custom search shortcut to site-search Experts Exchange using Google in the Firefox browser. This eliminates the need to type out site:experts-exchange.com whenever you want to search the site. Launch your Bookmark Menu: Press 'Ctrl +…

821 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