Solved

Register DLL's in Windows 7

Posted on 2014-02-11
3
47 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 30

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 our DevOps Teams Maximize Uptime

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us. Read the use case whitepaper.

Question has a verified solution.

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

Bada platform is becoming more and more famous this days and people talking about same. Some friends included those who have bada OS mobile asked me "what is bada?"and "what its features?". That encouraged me to research and write this article. [st…
Several part series to implement Internet Explorer 11 Enterprise Mode
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). …

742 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