Solved

Register DLL's in Windows 7

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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

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.
This article offers some helpful and general tips for safe browsing and online shopping. It offers simple and manageable procedures that help to ensure the safety of one's personal information and the security of any devices.
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…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

695 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