Monday, February 8, 2010

Windows Server 2003 Security and Files From Other Computers

Another day, another idiotic Windows "security" feature. I'm setting up several new Windows 2003 VMs, so rather than download all the necessary installation files to each machine, I'm copying them from the first one I set up. After mapping a drive and copying some files from the first VM to another VM, I tried to run the Tomcat installer and got the following error:

"Windows cannot access the specified device, path, or file. You may not have the appropriate permissions to access the item."

Even given Windows' stupid notion of what being an "administrator" means (on GNU/Linux either you're root or you're not, which makes perfect sense to me ...), this was a new error to me. Luckily it's easy to work around.

Right-click on the file in question and go to "Properties." At the bottom of the "General" tab you'll see a note next to a "Security" header that reads, "This file came from another computer and might be blocked to help protect this computer." Click the "Unblock" button next to this message and you can execute the file.

Thanks for looking out for me, Windows. Really appreciate it.

No comments: