How to copy as admin in windows7
My requirement is to copy the updated jar into our application directory in Program Files when a new开发者_如何转开发 update is available. I face an access denied problem while copying in Windows 7. Can someone kindly help me find out how to copy the file as admin?
Any alternate solution for installing the update is welcome.
As a one time action, you could give additional permissions for your application directory for the specified user.
- From Windows Explorer, right-click specified folder.
- Goto Properties
- Click on Security tab
- Click on Edit...
- Change permission as suitable
Give the read\write NTFS permissions on your application directory to user with which you are running the COPYing program\script. (This permission adjusting is a one time activity as part of installation of your application) "..java program which was run WITHOUT Admin privilege.."
Deactivate Microsoft Security Essentials and copy will working better.
精彩评论