Not able to copy dll file to system 32 in windows 7
I written a bat file which copy dll files from C:\Temp to windows system 32 folder. Used runas to execute the batch program.
In XP, able to copy without problems but in Windows 7 , got error access denied thought the id used in the runas command has the administrator previlege.
copy.bat : Copy C:\\Temp\\jniwrap.dll C:\\Windows\\System 32
runas /profile /user:domain:userId Copy.bat
The command asked for the password also and accepted the password as well.
domain: the network domain userId: the logged in user id on computer has administartor rights.
February 17th, 2011 1:51am
You should enter in safe mode and copy that dll.
Free Windows Admin Tool Kit Click here and download it now
June 22nd, 2012 5:41am