Solved

Register DLL's in Windows 7

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

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…
Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
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). …

747 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

11 Experts available now in Live!

Get 1:1 Help Now