Link to home
Start Free TrialLog in
Avatar of GordonPrince
GordonPrinceFlag for United States of America

asked on

can't copy .dll files to windows\system32

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?
ASKER CERTIFIED SOLUTION
Avatar of gatekeeper6838
gatekeeper6838

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
try

copy somedll.dll %windows%\system32

from command line
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
Avatar of gatekeeper6838
gatekeeper6838

@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.