Thursday, November 26, 2009

heart of darkness

that's right, Windows Server 2008. One recurring annoyance (amongst many) is the status of files that are 'blocked' by default ie. cannot be executed or bug you whenever you want to open them.

Normally you will 'unblock' them by getting the file properties in explorer & selecting the 'unblock' button. Bit of a problem in the case of several hundred files in say a webapp installer.

A solution: install sysinternals streams app. This alters the file attributes so as to remove the 'blocking'. Running the following wil recursively fix an entire directory:

streams.exe -s -d blah:\target\directory

No comments: