We help IT Professionals succeed at work.

can't copy .dll files to windows\system32

GordonPrince
GordonPrince asked
on
2,270 Views
Last Modified: 2012-05-08
I'm an application developer with an old application that installs on client PC's using batch files to copy .dll and .ocx files to Windows\system32. I'm trying the old scripts on my first Windows 7 computer. I can't get the files to copy.

The user I'm logged on as is an administrator. Do you think this is a permissions problem? Or is this approach not going to work at all in Windows 7?
Comment
Watch Question

This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION
HainKurtSr. System Analyst
CERTIFIED EXPERT

Commented:
try

copy somedll.dll %windows%\system32

from command line
HainKurtSr. System Analyst
CERTIFIED EXPERT

Commented:
sorry it should be

copy somedll.dll %windir%\system32

or try to turn of that featuire of Vista (Try turning User Account Control (UAC) off)
http://www.petri.co.il/disable_uac_in_windows_vista.htm
@HainKurt:

I would *highly* recommend *not* disabling UAC. It will leave your system wide opened to threats and far less secure. The tightened security, while annoying, is one of the features that makes Windows 7 an improvement over XP.
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.